warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
rvalue- has joined #u-boot
flygoat has quit [Quit: Ping timeout (120 seconds)]
flygoat has joined #u-boot
rvalue has quit [Ping timeout: 268 seconds]
rvalue- is now known as rvalue
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Peng_Fan has quit [Quit: Connection closed for inactivity]
Stat_headcrabed has joined #u-boot
goliath has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
eballetbo has quit [Quit: Connection closed for inactivity]
umbramalison_alt has quit [Ping timeout: 252 seconds]
naoki has quit [Quit: naoki]
gsz_ has quit [Ping timeout: 256 seconds]
Clamor has quit [Ping timeout: 268 seconds]
Clamor has joined #u-boot
Peng_Fan has joined #u-boot
frieder has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
dhruvag2000 has quit [Quit: Connection closed for inactivity]
mmu_man has joined #u-boot
ikarso has joined #u-boot
<Kasreyn>
not exactly success but.. boot.bin from "cat E5250.nbl1.bin spl/smdk5250-spl.bin > boot.bin" will at least initialize the XE303 so the power LED stays on (but the screen stays black).. i assume spl/smdk5250-spl.bin is supposed to load and jump to the final u-boot?
<Kasreyn>
"nv-U-Boot is actually produced in addition to verified U-Boot by a normal build of chromeos-bootimage"
<Kasreyn>
i just wish i could get that to work :)
<marex>
oh
<Kasreyn>
no document/thread really mentions what branch/version was used at the point those things could be accomplished
<marex>
Kasreyn: does the u-boot build you got operational contain a version string ?
<marex>
try and look at the serial console output, it will be something like v2024.07-rc...-gsomenumbers
<marex>
those somenumbers are abbreviated commit ID
<marex>
from the repo from which the binary was built
___nick___ has joined #u-boot
<Kasreyn>
marex: it's U-Boot 2011.12
<Kasreyn>
it's too old and doesn't support bootz command
<Kasreyn>
but what is on the SPI chip is also the pre boot code, not just plain U-Boot
logicalerzor has joined #u-boot
<Kasreyn>
i think later U-Boot doesn't even have that blob aka E5250.nbl1.bin
<Kasreyn>
it's same reason libreboot no longer supports certain chromebooks
<marex>
Kasreyn: are you sure you have to replace e5250.nbl1.bin and bl2.bin ?
<marex>
Kasreyn: it seems there is some u-boot partition in the SPI NOR at offset 0x6000 (?) which is, well, u-boot with appended DT
<marex>
maybe that is where you have to write that u-boot.bin generated by mainline U-Boot build ?
<marex>
(I am very much guessing here)
Peng_Fan has quit [Quit: Connection closed for inactivity]
Clamor has joined #u-boot
Kwiboo has quit [Quit: .]
Kwiboo has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
___nick___ has quit [Ping timeout: 268 seconds]
naoki has joined #u-boot
<Kasreyn>
marex: alright i will give it a try :)
tgamblin has quit [Ping timeout: 256 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<Kasreyn>
technically "spl/u-boot-spl.bin" fits the range of "bl2 spl" 0x4000 / 16K & "E5250.nbl1.bin" fits the range of "bl1 pre-boot" 0x2000 / 8KB & u-boot-dtb.bin fits the range of "u-boot" 0x9a000
<Kasreyn>
so every binary produced by mainline u-boot fits
<marex>
yes
<Kasreyn>
but can't just cat the files together, they have to padded some how
<marex>
arch/arm/dts/exynos5250-snow.dts see the flash node there
___nick___ has joined #u-boot
<marex>
seems like the first file is aligned to 0x2000 (8kiB) , the second starts at 8 kiB and is aligned to 16 kiB and then it is u-boot
<marex>
look at truncate(1)
<marex>
I think that could help
<Kasreyn>
ah ;) thanks
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
<marex>
Kasreyn: btw if there is 'sf' command in that old U-Boot, you can 'sf probe && sf update $loadaddr 0xoffsetInSPINor $filesize' to rewrite only the relevant part ; do it three times , once for each blob
<marex>
the 0xoffsetInSPINor is the first field in reg=<offset length> property in /flash node in the snow DT
<marex>
$filesize is set automatically by load/loady/tftp commands