shfil has quit [Quit: Connection closed for inactivity]
dev1990 has quit [Ping timeout: 246 seconds]
dev1990 has joined #linux-sunxi
dev1990_ has joined #linux-sunxi
dev1990 has quit [Ping timeout: 244 seconds]
Wizzup has quit [Ping timeout: 244 seconds]
Wizzup has joined #linux-sunxi
libv has quit [Ping timeout: 244 seconds]
libv has joined #linux-sunxi
sunshavi has quit [Ping timeout: 246 seconds]
<smaeul>
superprower: RTC wakeup support would need to be added to both the power management firmware and the Linux driver
<smaeul>
according to A64/H5 manual, RTC ALARM1 has special wakeup capability, but it's not documented, and BSP RTC driver says it doesn't work
libv_ has joined #linux-sunxi
<smaeul>
so "RTC wakeup" would just be an interrupt to the power management firmware
libv has quit [Ping timeout: 272 seconds]
<smaeul>
the way it works is that Linux would program ALARM0 (integer seconds) or ALARM1 (weekday + HH:MM:SS) and enable the interrupt
<smaeul>
then it would call enable_irq_wake() so the IRQ isn't disabled when entering suspend
<smaeul>
depending on how the Linux R_INTC irqchip driver is set up, it may need IRQCHIP_MASK_ON_SUSPEND, but I think it already sets the mask bit for all IRQs considered disabled
<smaeul>
then once Linux has enterd suspend, the power management firmware would check the R_INTC mask register to see which devices are enabled wakeup sources
libv_ has quit [Ping timeout: 245 seconds]
<smaeul>
the firmware would avoid turning off power to those devices
<smaeul>
then, when an interrupt comes in (which it can, since it's not masked), the PM firmware would initiate the wakeup process _without_ clearing the interrupt
<smaeul>
Linux would see the interrupt once it is running again, and record the device as the wakeup reason
gaston_ has quit [Quit: Konversation terminated!]
dev1990 has joined #linux-sunxi
parazyd has quit [Ping timeout: 258 seconds]
dev1990_ has quit [Ping timeout: 272 seconds]
parazyd has joined #linux-sunxi
libv has joined #linux-sunxi
libv has quit [Ping timeout: 246 seconds]
libv has joined #linux-sunxi
libv has quit [Ping timeout: 248 seconds]
libv has joined #linux-sunxi
libv has quit [Ping timeout: 245 seconds]
libv_ has joined #linux-sunxi
libv has joined #linux-sunxi
libv_ has quit [Ping timeout: 268 seconds]
libv has quit [Ping timeout: 258 seconds]
lurchi_ is now known as lurchi__
dev1990_ has joined #linux-sunxi
dev1990 has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-sunxi
dev1990 has joined #linux-sunxi
dev1990_ has quit [Ping timeout: 272 seconds]
libv has joined #linux-sunxi
megi has quit [Ping timeout: 268 seconds]
pgreco has quit [Ping timeout: 245 seconds]
libv has quit [Ping timeout: 264 seconds]
dev1990 has quit [Remote host closed the connection]
dev1990 has joined #linux-sunxi
libv has joined #linux-sunxi
libv has quit [Ping timeout: 264 seconds]
GrimKriegor has joined #linux-sunxi
GrimKriegor has joined #linux-sunxi
GrimKriegor has quit [Changing host]
sunshavi has joined #linux-sunxi
libv has joined #linux-sunxi
jernej has quit [Remote host closed the connection]
afaerber has quit [Ping timeout: 252 seconds]
libv has quit [Ping timeout: 244 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-sunxi
libv has joined #linux-sunxi
jernej has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 268 seconds]
afaerber has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
lurchi__ has quit [Ping timeout: 248 seconds]
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Gerwin_J has quit [Ping timeout: 264 seconds]
Gerwin_J has joined #linux-sunxi
Gerwin_J has quit [Quit: Gerwin_J]
SopaXorzTaker has joined #linux-sunxi
reinforce has joined #linux-sunxi
cnxsoft has quit [Ping timeout: 272 seconds]
sunshavi has quit [Read error: Connection reset by peer]
ldevulder_ has joined #linux-sunxi
ldevulder has quit [Ping timeout: 272 seconds]
ldevulder_ is now known as ldevulder
msevo has joined #linux-sunxi
[7] has quit [Ping timeout: 252 seconds]
TheSeven has joined #linux-sunxi
matthias_bgg has joined #linux-sunxi
warpme_ has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
warpme_ has quit [Quit: warpme_]
cnxsoft has quit [Ping timeout: 245 seconds]
chewitt has quit [Ping timeout: 245 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-sunxi
kilobyte_ch has joined #linux-sunxi
warpme_ has joined #linux-sunxi
<kilobyte_ch>
I have an A20 Board with NAND Flash. During booting it waits ~8 Seconds for key in Boot1. Is there any way to speed this up? https://pastebin.com/rnj8N7We
<KotCzarny>
if you dont need nand, you can nuke nand
<KotCzarny>
also, lol @ successed
tllim has quit [Quit: Leaving]
<kilobyte_ch>
KotCzarny: I need to boot from NAND. But I think I can't change this because Boot0 and Boot1 is ROM and I don't have an SD-Card on this Board.
<KotCzarny>
isnt boot1 the spl? or am i mixing things up?
s_frit_ has joined #linux-sunxi
s_frit has quit [Ping timeout: 245 seconds]
<KotCzarny>
ahm, boot0 is spl
<KotCzarny>
so yeah, you would need to hack your legacy uboot probably
<KotCzarny>
nand is one of the parts in sunxi world that's not mainlined still
SopaXorzTaker has quit [Remote host closed the connection]
<kilobyte_ch>
Do you maybe know where I get the source code for Boot1 from? I noticed some boards having a much smaller waiting time for key.
<kilobyte_ch>
I'm not sure if it is configured in the source code from Boot1 or somewhere else. I just got a binary from manufacturer of A20 Board.
<KotCzarny>
if it's a tablet, it might be required to stay with the one you have
<KotCzarny>
otherwise you risk losing some power functionality
<kilobyte_ch>
It's a SOM (awsom A20)
<fALSO>
good morning
SopaXorzTaker has joined #linux-sunxi
megi has joined #linux-sunxi
Mangy_Dog has joined #linux-sunxi
tnovotny has joined #linux-sunxi
cnxsoft has joined #linux-sunxi
Gerwin_J has joined #linux-sunxi
megi has quit [Quit: WeeChat 2.5]
random_yanek has quit [Read error: Connection reset by peer]