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]
<DarkNeutrino> Ah yea. Well i guess we can only wait
kilobyte1 has quit [Ping timeout: 480 seconds]
kilobyte1 has joined #linux-sunxi
vagrantc has quit [Quit: leaving]
PizDOS_6-22 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
kilobyte1 has quit [Ping timeout: 480 seconds]
kilobyte1 has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
PizDOS_6-22 has joined #linux-sunxi
apritzel has joined #linux-sunxi
warpme has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
warpme has quit []
warpme has joined #linux-sunxi
DarkNeutrino has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
macromorgan has quit [Ping timeout: 480 seconds]
rajkosto has quit [Read error: Connection reset by peer]
bauen1 has quit [Ping timeout: 480 seconds]
macromorgan has joined #linux-sunxi
macromorgan is now known as Guest917
macromorgan has joined #linux-sunxi
Guest917 has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
bauen1 has joined #linux-sunxi
apritzel has joined #linux-sunxi
junari has joined #linux-sunxi
junari_ has joined #linux-sunxi
junari has quit [Ping timeout: 480 seconds]
warpme has quit []
bauen1 has quit [Ping timeout: 480 seconds]
warpme has joined #linux-sunxi
bauen1 has joined #linux-sunxi
stipa is now known as Guest931
stipa has joined #linux-sunxi
Guest931 has quit [Ping timeout: 480 seconds]
junari_ has quit [Ping timeout: 480 seconds]
PizDOS_6-22 has quit [Remote host closed the connection]
PizDOS_6-22 has joined #linux-sunxi
<DarkNeutrino> apritzel: i guess we just have to wait for now right ?
Khexe[m] has quit []
bauen1 has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
junari_ has joined #linux-sunxi
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-sunxi
Daaanct12 has joined #linux-sunxi
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-sunxi
Daaanct12 has quit [Ping timeout: 480 seconds]
bauen1 has quit [Ping timeout: 480 seconds]
hlauer has quit [Remote host closed the connection]
Daanct12 is now known as Danct12
junari_ has quit [Ping timeout: 480 seconds]
bauen1 has joined #linux-sunxi
apritzel has quit [Ping timeout: 480 seconds]
hlauer has joined #linux-sunxi
vagrantc has joined #linux-sunxi
DarkNeutrino_ has joined #linux-sunxi
DarkNeutrino is now known as Guest958
DarkNeutrino_ is now known as DarkNeutrino
<DarkNeutrino> I have an issue im trying to debug. So i have u-boot that can boot to Manjaro just fine. The issue is that the initramfs they provide is in initramfs-linux.img format. And when i try to give this to uboot it tells me that it has no idea what that is "Wrong Ramdisk Image Format. Ramdisk image is corrupt or invalid". As it would be kind of a massive pain to parse every initramfs file trough their mkimage utility i want to know i
apritzel has joined #linux-sunxi
<DarkNeutrino> Updating the system would become also pain :)
<DarkNeutrino> The u-boot version is U-Boot 2021.10
<DarkNeutrino> Quite old im aware. But it gets me to boot every time instead of the 1 i made which would be rolling a dice haha
<DarkNeutrino> jernej: With the introduction of the DRAM settings in U-Boot. How should one go about finding the right values ? :)
Daanct12 has joined #linux-sunxi
Danct12 has quit [Ping timeout: 480 seconds]
<jernej> DarkNeutrino: you mean new H616 & co. DRAM settings?
<jernej> those values can be obtained from vendor image
<jernej> either from DT or better yet, extracted from boot0 (vendor replacement for SPL) using program like https://gist.github.com/jernejsk/1957a252267e72979935f1d5236018c8
<jernej> (ignore last part of it)
<DarkNeutrino> yeaaaaaa so the issue. BTT decided to use u-boot with spl. And the orangepi zero 2 dt
<DarkNeutrino> I have no idea why they thought that the 2021 release was the way to go. I guess thats what was in BSP
JohnDoe_71Rus has quit []
<apritzel> DarkNeutrino: regarding the initramfs: what is your booti line? For a U-Boot legacy image wrapped initrd, you would just give the start address
<apritzel> but for a raw image, you also need to specify the length, after a ':'
<apritzel> so: booti $kernel_addr_r $ramdisk_addr_r:$filesize $fdtcontroladdr
<DarkNeutrino> booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
<DarkNeutrino> ah
<DarkNeutrino> the length
<apritzel> given that you loaded the initrd last, as $filesize holds the size of the last loaded image
<DarkNeutrino> yea that wasnt mentioned anywhere haha
<apritzel> if there is no colon, it expect an U-Boot image, and you will get this message if there is no U-Boot image header
<DarkNeutrino> Are the {} brackets necessary ?
<DarkNeutrino> uboot docs have it without. OK lets go with that :)
<apritzel> normally you don't need the brackets. you might need them in scripts, or if you concatenate variables like ${prefix}${stub}${suffix}
Daaanct12 has joined #linux-sunxi
<DarkNeutrino> jernej: i checked the boot partition of the vendor image if they left it somewhere. Sadly doesnt look like it :(
<DarkNeutrino> apritzel: that got the initramfs working. Thanks so much
<DarkNeutrino> Also i asked this earlier. What do we do now with the AXP313a ? Do we just wait or ?
<jernej> what kind of board is this?
<DarkNeutrino> BigTreeTech CB1
<DarkNeutrino> Or well their BTT Pi variation which they just released
Daanct12 has quit [Ping timeout: 480 seconds]
<DarkNeutrino> But uses the same image as CB1
<jernej> and they don't have BSP based image anywhere?
<DarkNeutrino> This is the only thing
<DarkNeutrino> There is the system image with uboot but thats the spl based one
<DarkNeutrino> Here is the full source of it all
<jernej> in general, board makers send their boards to AW in order to obtain DRAM settings
<jernej> I wonder if they've done that
<DarkNeutrino> Prob not :)
<jernej> if not, then just take OrangePi Zero2 settings, since that's what original driver was based on
<DarkNeutrino> I can ask one of the engineers but since they are in shenzen the communication is a bit of an pain
<DarkNeutrino> Due to timezones
<jernej> that would be ideal. In the mean time, you can use OPi 0+ settings
<DarkNeutrino> gotcha
<DarkNeutrino> jernej: am i correct in assuming AW being AllWinner ?
<apritzel> DarkNeutrino: we can't do much else other than waiting, can we?
<DarkNeutrino> I guess not
<DarkNeutrino> Hopefully they pick it up
<jernej> DarkNeutrino: correct
<DarkNeutrino> ty
warpme has quit []
DarkNeutrino has quit [Quit: Page closed]
PizDOS_6-22 has quit [Remote host closed the connection]
PizDOS_6-22 has joined #linux-sunxi
hlauer has quit [Ping timeout: 480 seconds]
Hypfer is now known as Guest978
Hypfer has joined #linux-sunxi
Guest978 has quit [Ping timeout: 480 seconds]
Hypfer is now known as Guest981
Hypfer has joined #linux-sunxi
Guest981 has quit [Ping timeout: 480 seconds]
DarkNeutrino has joined #linux-sunxi
Guest958 has quit [Read error: No route to host]
DarkNeutrino has quit [Read error: Connection reset by peer]
DarkNeutrino has joined #linux-sunxi