ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
<anarsoul> I wonder if anyone is testing reboot and poweroff on mainline
field^Mop has quit [Ping timeout: 250 seconds]
phh has quit [Quit: No Ping reply in 180 seconds.]
phh has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
hmuller has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
tlwoerner has quit [Quit: Leaving]
tlwoerner has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
lkcl has quit [Ping timeout: 276 seconds]
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
<anarsoul> well, I fixed i2c driver in u-boot (will send a patch tomorrow) but unfortunately initializing cpu_b regulator doesn't fix reboot for me
<anarsoul> linux hangs on 2nd boot if I rebooted without pressing hw reset
_whitelogger has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
ckeepax has quit [Ping timeout: 240 seconds]
ckeepax has joined #linux-rockchip
<sigmaris> anarsoul: In my experience I also see hangs after about 75% of soft resets
<sigmaris> hw reset always works, and interrupting u-boot then using the u-boot "reset" command also works
<sigmaris> but rebooting straight from linux often hangs. in some cases rather than hangs I have seen this "Asynchronous SError Interrupt" panic: https://gist.github.com/sigmaris/c0e155c8cb0a325d84f549185f9a568c
<mmind00> anarsoul: I somewhat regulary do "reboots" when testing kernel changes, but haven't seen any hangs recently ... the only async serror interrupt I see is when the uboot mmc-driver tries to write stuff to sram (atf sram part) ... setting fifo-mode for the mmc controllers fixes that for the moment
ckeepax has quit [Ping timeout: 240 seconds]
ckeepax has joined #linux-rockchip
nsaenz has joined #linux-rockchip
<leming> ooooom tgyhhhhhhhhhhhhhhh[']
<hanetzer> cat?
field^Mop has joined #linux-rockchip
hipboi has joined #linux-rockchip
hipboi has quit [Client Quit]
vicencb has joined #linux-rockchip
MoeIcenowy has quit [Quit: ZNC 1.6.5+deb1+deb9u1 - http://znc.in]
MoeIcenowy has joined #linux-rockchip
<leming> he says hi
<anarsoul> sigmaris: yeah, same here :\
<anarsoul> mmind00: what board do you use?
<anarsoul> I get this after a while on unsuccessful boot: https://gist.github.com/anarsoul/35e51acfec2eb4e4e5ebb37a94dc164e
stikonas has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
stikonas has quit [Remote host closed the connection]
phh has quit [Quit: No Ping reply in 180 seconds.]
phh has joined #linux-rockchip
vicencb has joined #linux-rockchip
stikonas has joined #linux-rockchip
<anarsoul> mmind00: also, are you using mainline u-boot with mainline ATF?
lkcl has joined #linux-rockchip
mrjay has joined #linux-rockchip
<mrjay> i'm also having troubles with reboot/poweroff with current linux-next
<anarsoul> what board?
<mrjay> pipo p10 with rk818 pmic
<anarsoul> so rk3399
<stikonas> yeah, I'm having some reboot issues with rk3399 too...
<stikonas> anarsoul: I saw some patches from you? Do they fix it
<stikonas> I think it was pul lrequest for ATF
<anarsoul> it fixes immediate hang on reload so you can actually get back to u-boot
<anarsoul> but subsequent linux boot hangs with stuck task on CPU#4
<anarsoul> I though that it's somehow related to cpu_b regulator not being initalized (and linux indeed initializes it later than it boots big CPUs) but initializing it in u-boot didn't fix the issue
<anarsoul> stikonas: poweroff is still broken though
mrjay has quit [Remote host closed the connection]
vicencb has quit [Quit: Leaving.]
mearon_ is now known as mearon
<sphalerite> hanetzer: coreboot won't build with the kernel uncompressed in the u-boot image, because it's too big
<sphalerite> I tried lzma'ing the vmlinux and specifying compression = "lzma" in the its file, but coreboot is refusing to load that because it doens't like the magic
<sphalerite> any suggestions?
<sphalerite> oh wait, it has to be in Image format
<sphalerite> not vmlinux
<sphalerite> trying that now
<hanetzer> ^this
<sphalerite> hooray! It loaded! It panicked, but it did load!
<sphalerite> Also, is it normal for flashing to take ~10min?
<anarsoul> :)
<hanetzer> \o/
<hanetzer> what's the kpanic?
<sphalerite> init no worky. Not sure exactly why, but I'm sure I'll manage to figure it out next time I look at this (and for now I'm going to sleep)
<sphalerite> but yeah, is ~10min normal for erase+write+verify flash? That'll make a painful testing cycle if so…
<hanetzer> sphalerite: what flashing device you using?
<sphalerite> suzyqable
<hanetzer> hmm. no idea about that one.
<sphalerite> alright. And does anyone here know a way to power the AP off from the cr50?
<hanetzer> nerp
<sphalerite> letting the battery run out it is, then…
<sphalerite> thanks for the help, gnight!
<hanetzer> sphalerite: wait
<hanetzer> sphalerite: basically you're trying to turn it off while kpanic'd?
<urjaman> i was gonna say i assume it'll power off with a long enough power button press
<hanetzer> yeh
<urjaman> and yeah i heard someone mention that the cr50 is slow at writing the SPI because tiny usb transfers
<hanetzer> yeh. I usually just clip :P
BenG83 has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
stikonas_ has quit [Remote host closed the connection]
ldevulder_ has joined #linux-rockchip
ldevulder__ has quit [Ping timeout: 240 seconds]