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
stikonas has quit [Ping timeout: 276 seconds]
<kevery> sigmaris: could you share the boot log of the failure in ATF? what loader do you use?
<kevery> imsherlock: The LPDDR4 timing is from rockchip forked U-Boot branch, not from DDR binary, what kind of issue did you met?
imsherlock has joined #linux-rockchip
<imsherlock> kevery: u-boot passes off to linux and the kernel starts booting, but then randomly ends with a kernel fault somewhere
<imsherlock> always deals with memory mapping
<imsherlock> sometimes it makes it to the rootfs, but often not
<imsherlock> but even making it to the rootfs ends with a fault
<kevery> Please try to replace the TPL with rockchip release DDR binary and test again, so that we can make sure if this is because the DRAM configure issue or not
<imsherlock> I did that and it worked
<imsherlock> no faults
<imsherlock> I used the following binary
<imsherlock> rk3399_ddr_800MHz_v1.23.bin
<imsherlock> and the SPL generated from v2019.10-rc4
<imsherlock> any additional information I can send to help?
<kevery> What's the RAM size of your board?
vstehle has quit [Ping timeout: 265 seconds]
kaspter has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
kaspter has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
camus is now known as kaspter
yann|work has quit [Ping timeout: 265 seconds]
yann|work has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
yann|work has quit [Read error: Connection reset by peer]
vstehle has joined #linux-rockchip
adjtm_ has quit [Ping timeout: 265 seconds]
kaspter has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
elektirnis has joined #linux-rockchip
adjtm_ has joined #linux-rockchip
<sigmaris> kevery: I’m using mainline u-boot v2010-rc4. I posted logs and more info on the mailing list:
<kevery> when you build u-boot.itb, what is the u-boot.its show, does the atf entry update to 0x4000?
<kevery> 0x40000
<mmind00> hmm, maybe the CONFIG_SPL_STACK_R_ADDR=0x80000 could play into this?
<mmind00> sigmaris kevery: I'm not sure in what direction the SPL_STACK_R_ADDR grows but does changing that value to say 0x100000 help?
stikonas has joined #linux-rockchip
<kevery> I do test the ATF with rockchip U-Boot SPL(using 0x80000 as SPL STACK) and miniloader, both works OK.
<sigmaris> kevery: I wonder if it's because I am using TPL and SPL
stikonas has quit [Remote host closed the connection]
elektirnis has quit [Read error: Connection reset by peer]
<kevery> TPL+SPL is OK, if you enable 'DEBUG' for SPL, there will be more info about how SPL load and run the ATF.
elektirnis has joined #linux-rockchip
kaspter has quit [Ping timeout: 240 seconds]
elektirnis has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
elektirnis has joined #linux-rockchip
elektirnis has quit [Read error: Connection reset by peer]
elektirnis has joined #linux-rockchip
<sigmaris> kevery: This is the u-boot.its generated when I build: https://gist.github.com/sigmaris/c0408ef8ab76779a24955d8057a9c0df
<sigmaris> with ATF current master 4fdad60c345
<sigmaris> I won't have access to the board until Friday but I'll try changing the SPL_STACK_R_ADDR and enabling DEBUG for SPL then
vicencb has joined #linux-rockchip
nsaenz has joined #linux-rockchip
yann|work has joined #linux-rockchip
yann|work has quit [Read error: Connection reset by peer]
fabiobassa has joined #linux-rockchip
fabiobassa has quit [Ping timeout: 265 seconds]
fabiobassa has joined #linux-rockchip
yann has joined #linux-rockchip
yann has quit [Ping timeout: 265 seconds]
fabiobassa has quit [Ping timeout: 240 seconds]
<kevery> I have reproduce the issue and target the root cause. We need to update "CONFIG_ROCKCHIP_SPL_RESERVE_IRAM=0x50000" which used to reserve space for ATF.
<sigmaris> thanks kevery - I will try that on Friday
<fALSO> yo sigmaris
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 268 seconds]
kevery1 is now known as kevery
<sigmaris> fALSO: hi
<fALSO> yo, it seems that i'm getting kernel panic
<fALSO> yo, it seems that i'm getting kernel panics
<fALSO> every night
<fALSO> gotta to leave serial connected to figure out
<fALSO> i go to sleep, rockpro64 is ok, when i get up, it no longer responds
<sigmaris> I haven't seen that type of problem, I've left rockpro64 turned on overnight and it keeps running
<fALSO> :-X
<sigmaris> but mine is mostly idle overnight. I recommend logging the serial console to see if there's any panic logs from the kernel
<fALSO> yes
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
field^Mop has joined #linux-rockchip
camus has joined #linux-rockchip
kaspter has quit [Ping timeout: 268 seconds]
camus is now known as kaspter
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
yann has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
inode has quit [Ping timeout: 250 seconds]
tomeu has quit [Ping timeout: 250 seconds]
inode has joined #linux-rockchip
eballetbo[m] has quit [Ping timeout: 240 seconds]
eballetbo[m] has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
adjtm has joined #linux-rockchip
adjtm_ has quit [Ping timeout: 240 seconds]
adjtm_ has joined #linux-rockchip
matthias_bgg has quit [Read error: Connection reset by peer]
matthias_bgg has joined #linux-rockchip
cristian__c has joined #linux-rockchip
wens has quit [Ping timeout: 268 seconds]
cristian_c has quit [Ping timeout: 268 seconds]
hanetzer has quit [Ping timeout: 268 seconds]
adema has quit [Ping timeout: 268 seconds]
adjtm has quit [Ping timeout: 268 seconds]
cyrozap has quit [Ping timeout: 268 seconds]
aalm has quit [Ping timeout: 268 seconds]
DuClare has quit [Ping timeout: 268 seconds]
fALSO has quit [Ping timeout: 268 seconds]
hanetzer has joined #linux-rockchip
field^Zzz1 has joined #linux-rockchip
DuClare has joined #linux-rockchip
drrrty has joined #linux-rockchip
adema has joined #linux-rockchip
aalm has joined #linux-rockchip
drrty has quit [Ping timeout: 240 seconds]
cyrozap has joined #linux-rockchip
field^Mop has quit [Ping timeout: 246 seconds]
field^Zzz1 has quit [Ping timeout: 250 seconds]
field^Zzz1 has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 265 seconds]
JohnDoe_71Rus has joined #linux-rockchip
field^Zzz1 has joined #linux-rockchip
yann|work has joined #linux-rockchip
yann has quit [Ping timeout: 264 seconds]
ayaka has quit [Read error: Connection reset by peer]
ayaka has joined #linux-rockchip
yann has joined #linux-rockchip
yann|work has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 246 seconds]
yann has quit [Ping timeout: 240 seconds]
adjtm_ has quit [Ping timeout: 250 seconds]
lkcl has quit [Ping timeout: 240 seconds]
matthias_bgg has quit [Ping timeout: 250 seconds]
yann|work has joined #linux-rockchip
<imsherlock> kevery: RAM size of the board is 4GB
warpme_ has quit [Quit: Updating details, brb]
warpme_ has joined #linux-rockchip
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
nsaenz has joined #linux-rockchip
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #linux-rockchip
adjtm_ has joined #linux-rockchip
field^Zzz2 has joined #linux-rockchip
field^Zzz1 has quit [Ping timeout: 268 seconds]
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
field^Zzz3 has joined #linux-rockchip
field^Zzz2 has quit [Ping timeout: 268 seconds]
yann has joined #linux-rockchip
yann|work has quit [Ping timeout: 240 seconds]
kevery has quit [Read error: Connection reset by peer]
kevery has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
ifbizo_ has joined #linux-rockchip
ifbizo has quit [Ping timeout: 260 seconds]
ifbizo has joined #linux-rockchip
ifbizo_ has quit [Remote host closed the connection]
yann has quit [Ping timeout: 268 seconds]
gnufan_home has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
ldevulder__ has joined #linux-rockchip
ldevulder_ has quit [Ping timeout: 240 seconds]
ldevulder_ has joined #linux-rockchip
ldevulder__ has quit [Ping timeout: 250 seconds]
gnufan_home has quit [Quit: Leaving.]
field^Zzz3 has quit [Ping timeout: 240 seconds]
ifbizo has quit [Remote host closed the connection]
ifbizo has joined #linux-rockchip
cristian__c has quit [Ping timeout: 240 seconds]
cristian_c has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
cristian_c has quit [Ping timeout: 268 seconds]
cristian_c has joined #linux-rockchip