ChanServ changed the topic of #linux-sunxi to: Allwinner/sunxi development - Did you try looking at our wiki? https://linux-sunxi.org - Don't ask to ask. Just ask and wait for an answer! - This channel is logged at https://oftc.irclog.whitequark.org/linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
digetx_ has quit [Read error: Connection reset by peer]
digetx has joined #linux-sunxi
grming has quit [Quit: Konversation terminated!]
cnxsoft has joined #linux-sunxi
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
junari has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
rajkosto has quit [Read error: Connection reset by peer]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
junari__ has joined #linux-sunxi
Decimilia has joined #linux-sunxi
Decimilia has left #linux-sunxi [#linux-sunxi]
junari_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
junari__ has quit [Remote host closed the connection]
junari__ has joined #linux-sunxi
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
junari__ has quit [Remote host closed the connection]
<montjoie> smaeul: thanks to your help, my nezha is progressing, but now I got INITRD: 0x417e2000+0x0161e000 is not a memory region - disabling initrd
<montjoie> I use booti 0x40040000 0x41C00000 0x44000000
JohnDoe_71Rus has quit []
<smaeul> montjoie: where did the devicetree at 0x44000000 come from? if it's not a copy of the one $fdtcontroladdr, it's wrong
<smaeul> also I think you may need the $addr:$size syntax for your initramfs if it's not wrapped in a U-Boot legacy image
<smaeul> (generally I would recommend using $fdtcontroladdr directly, unless you apply overlays)
<apritzel> also worth checking is if U-Boot is moving the initrd around: it should report saying so
<apritzel> smaeul: does U-Boot even allow this syntax without it being an uImage?
<smaeul> I don't think so?
<gamiee> https://i.imgur.com/4XntfrS.png allannals V3s ... :D
JohnDoe_71Rus has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
cnxsoft has quit []
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
vagrantc has joined #linux-sunxi
NekoMay has quit [Ping timeout: 480 seconds]
<montjoie> smaeul: initrd is a uboot image
<montjoie> with $fdtcontroladdr, I got TFTP error: trying to overwrite reserved memory...
<jernej> montjoie: $fdtcontroladdr already contains DTB, modified by firmware, so you shouldn't overwrite it
<montjoie> does modifying dtb will be available in the future ?
<montjoie> anyway with fdtcontroladdr, no bootlog:'(
<montjoie> probably because fdtcontroladdr does not have earlycon
<jernej> you should be able to set custom bootargs
<jernej> you can modify DT via overlays
<jernej> or patch U-Boot DT files and rebuild whole U-Boot
Esmil_ has left #linux-sunxi [#linux-sunxi]
Esmil has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
apritzel has joined #linux-sunxi
JohnDoe_71Rus has quit []
swedishhat has joined #linux-sunxi
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
swedishhat has quit [Quit: Page closed]
grming has joined #linux-sunxi
ftg has joined #linux-sunxi
<smaeul> you call booti after finishing all of the TFTP transfers, so I don't see how changing the booti argument to $fdtcontroladdr could cause a TFTP error
<smaeul> you can also add earlycon with the bootargs environment variable, regardless of where the DT comes from
<smaeul> *modifying* the DTB, via an overlay or the `fdt` command, is supported. *replacing* it is not supported
<apritzel> smaeul: did you try applying overlays or changing with the fdt command at the original $fdtcontroladdr location?
<apritzel> I remember this worked a few years back, but doesn't work anymore, I guess U-Boot puts some data behind the image (and thus DTB)
<apritzel> at least on arm, don't know if this is different on D1
<smaeul> I think it's more that the DM holds offsets into the controll FDT if you don't have OF_LIVE enabled
<smaeul> and modifying the FDT can change these offsets
<apritzel> mmmh, possible, might check this
<smaeul> so trivial changes work, but not something like adding new nodes
<apritzel> anyway, a workaround seems to be to copy the DTB first
<smaeul> > However a flat tree does not support modification from within U-Boot since it can invalidate driver-model device tree offsets. This option enables a live tree which is available after relocation, and can be adjusted as needed.
<apritzel> ah, nice
<apritzel> so do those modifications affect U-Boot's operation then?
<apritzel> I guess this is probably not what most people want, instead they want to apply overlays or change nodes for the kernel
<apritzel> for that I use: "fdt move $fdtcontroladdr $fdt_addr_r"
<apritzel> then work on that address
<smaeul> right, $fdtcontroladdr is what U-Boot is actively using, if OF_LIVE=n
<apritzel> ah, so with OF_LIVE=y any changes to the DTB at $fdtcontroladdr wouldn't affect U-Boot anymore, because it's using a unflattened tree, somewhere else in memory
ftg has quit [Read error: Connection reset by peer]
grming has quit [Quit: Konversation terminated!]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi