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
vstehle has quit [Read error: Connection reset by peer]
lkcl has quit [*.net *.split]
adjtm has quit [*.net *.split]
lykt has quit [*.net *.split]
_whitelogger has joined #linux-rockchip
kaspter has quit [Quit: kaspter]
<sphalerite> ok, managed to find the actual error in the massive dump that linux gave me yesterday by doing it again. Turns out it's the same old memory allocation issue \o/
warpme_ has joined #linux-rockchip
<mmind00> did you try adding a "manual" memory node to the dts?
<mmind00> sphalerite: ^^
ldevulder_ is now known as ldevulder
field^Mop has joined #linux-rockchip
<sphalerite> mmind00: not yet, but it turns out it works fine if I use kexec without --dtb
<mmind00> sphalerite: in which case I guess it just re-uses the original devicetree?
<sphalerite> I'm guessing so
<mmind00> sphalerite: which in this case uboot would have made sure to actually have a memory node
<sphalerite> right
<mmind00> /proc/device-tree/memory I guess
<sphalerite> yep that exists
stikonas has joined #linux-rockchip
<maz> in general, booting with a different device tree is difficult. you need to make sure you propagate all the info that the initial bootloader has placed in there, which is non-trivial.
<maz> s/booting/kexec-ing/
<sphalerite> right
<sphalerite> so the simple solution is "don't use --dtb" I guess :)
<sphalerite> originally I thought "the kernel ships a dtb, so I should probably use that?" but I see how that doesn't work now :)
<maz> sphalerite: "it's complicated". with kexec, the kernel is a bootloader. you need to perform everything a normal bootloader would do, such as insering the right memory and chosen nodes, mac addresses, everything.
<maz> sphalerite: remember that what we have in the kernel is only a template for bootloaders to use, not something to beused as is (even if it work in some limited cases).
<sphalerite> right
afaerber has joined #linux-rockchip
yann has joined #linux-rockchip
vicencb has joined #linux-rockchip
aalm has quit [Read error: Connection reset by peer]
aalm has joined #linux-rockchip
ayaka has quit [Ping timeout: 255 seconds]
ayaka has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]
cristian_c has quit [Remote host closed the connection]
ayaka has quit [Ping timeout: 258 seconds]
ayaka has joined #linux-rockchip
stikonas has joined #linux-rockchip
stikonas has quit [Quit: Konversation terminated!]
stikonas has joined #linux-rockchip
afaerber has quit [Quit: Leaving]
ayaka has quit [Ping timeout: 245 seconds]
ayaka has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
stikonas has quit [Read error: Connection reset by peer]
stikonas_ has joined #linux-rockchip
stikonas_ has quit [Quit: Konversation terminated!]
stikonas_ has joined #linux-rockchip
cyteen has quit [Read error: Connection reset by peer]
cyteen has joined #linux-rockchip
stikonas_ has quit [Read error: Connection reset by peer]
afaerber has joined #linux-rockchip
afaerber has quit [Remote host closed the connection]
afaerber has joined #linux-rockchip
yann has quit [Ping timeout: 255 seconds]
afaerber has quit [Quit: Leaving]
cristian_c has joined #linux-rockchip
wens has quit [Ping timeout: 245 seconds]
wens has joined #linux-rockchip
ldevulder_ has joined #linux-rockchip
aalm has quit [Ping timeout: 245 seconds]
ldevulder has quit [Ping timeout: 246 seconds]
wens has quit [Ping timeout: 250 seconds]
wens has joined #linux-rockchip
stikonas has joined #linux-rockchip
wens has quit [Ping timeout: 246 seconds]
wens has joined #linux-rockchip
wens has quit [Ping timeout: 255 seconds]
wens has joined #linux-rockchip
t3st3r has quit [Ping timeout: 256 seconds]
aalm has joined #linux-rockchip
t3st3r has joined #linux-rockchip
Substring has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
warpme_ has joined #linux-rockchip
warpme_ has quit [Quit: warpme_]
lopsided98 has quit [Ping timeout: 250 seconds]
warpme_ has joined #linux-rockchip
lopsided98 has joined #linux-rockchip
stikonas_ has joined #linux-rockchip
stikonas has quit [Ping timeout: 244 seconds]
yann has joined #linux-rockchip
solidhal has left #linux-rockchip ["ERC (IRC client for Emacs 25.2.2)"]
solidhal has joined #linux-rockchip
Substring has quit [Quit: Leaving]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
warpme_ has quit [Quit: warpme_]
<sphalerite> so amarula's patches seem to allow two ways of booting—using rockchip's miniloader or using the U-boot SPL… Are there any reasons to prefer either of these? (https://github.com/amarula/u-boot-amarula/commit/a0e93bb32bd94f3ee443854743f9725cdde3e913 )
<anarsoul> sphalerite: if your memory is supported by SPL I see no reason to use rockchip's miniloader
<sphalerite> anarsoul: cool, thanks!
<sphalerite> also, if I try to boot 4.19.34 on my nanopi m4 via kexec, it resets after a while without displaying any info about a panic: https://sphalerite.org/dump/4.19.34-boot-fail.log anyone have any idea what might be going on there?
<sphalerite> (that stray D is from "DDR Version 1.15 20181010", the first message printed by the firmware)
stikonas_ has quit [Remote host closed the connection]