<xypron>
mps: The vendor document describes their bootflow. In which sequence upstream U-Boot scans block devices is our decision. With NVMe enabled I guess most users will install an NVMe drive and we should get those people booted fast.
nehamalcomfranci has quit [Quit: Client closed]
<xypron>
silurian_invader: spl_load_simple_fit() is called after smh_close() in spl_smh_load_image(). So we need to open it again.
<silurian_invader>
I think we should avoid a tail-call in this case because of the overhead of semihosting calls
deathcamel57_ has joined #u-boot
mmu_man has joined #u-boot
deathcamel57 has quit [Ping timeout: 260 seconds]
<xypron>
silurian_invader: smh_fit_read() will be called multiple times. Where would you place smh_close so that is guarenteed to be called before booting? Of how many microseconds for each smh_open() and smh_close() are we talking?
<silurian_invader>
in my experience, each semihosting call is on the order of 100ms
<silurian_invader>
instead of doing `return spl_load_simple_fit(...)` we would do `ret = spl_load_simple_fit(...); goto out`
<xypron>
silurian_invader: will you send a patch?
<silurian_invader>
yes
<xypron>
thanks
nehamalcomfranci has joined #u-boot
<mps>
xypron: I don't insist on this. Just thinking people would expect order as is described in vendor documents (and probably vendor shipped u-boot)
nehamalcomfranci has quit [Ping timeout: 245 seconds]
Clamor has quit [Ping timeout: 272 seconds]
Clamor has joined #u-boot
vagrantc has joined #u-boot
deathcamel57__ has joined #u-boot
deathcamel57_ has quit [Ping timeout: 255 seconds]
nehamalcomfranci has joined #u-boot
nehamalcomfranci has quit [Client Quit]
sukrutb has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
polprog has joined #u-boot
<polprog>
hi all, im trying to compile an older u-boot for my board, and it does not rebuild arch/arm/cpu/armv7/start.S when building the SPL.. what should i look at?
<polprog>
if i add obj-$(CONFIG_SPL_BUILD) += start.o, ld will error out on multiple symbol definition.. if i do not, then the SPL binary is linked with start.O which was compiled without CONFIG_SPL_BUILD defined
vfazio has quit [Remote host closed the connection]
<polprog>
i need to force rebuild of arch/arm/cpu/armv7/built-in.o when doing SPL
<polprog>
but I don't know how to do it
goliath has quit [Quit: SIGSEGV]
vfazio has joined #u-boot
mmu_man has joined #u-boot
monstr has joined #u-boot
monstr has quit [Remote host closed the connection]
<Tartarus>
silurian_invader: That run was just on top of current next, did I need something else first?
<silurian_invader>
yes, you need the above series
<silurian_invader>
or really, just the malloc stuff
<Tartarus>
OK, re-running
goliath has joined #u-boot
flom84 has joined #u-boot
<polprog>
ive fixed my problem. Added .FORCE dependency to $(obj)/start.o and an empty target .FORCE .
Clamor has quit [Read error: Connection reset by peer]
<Tartarus>
silurian_invader: OK, my mx6cuboxi still fails to do anything on console (which I was about to post about) and I'm re-re-verifying it's fine on top of current next, and it was fine on Simon's SPL-UPL-prep series
<silurian_invader>
hmm
<Tartarus>
Seeing if the sandbox_spl/vpl/noinst builds still fail in CI too
<silurian_invader>
well, it worked in CI for me, and my sandbox/qemu as well
<silurian_invader>
I will try it on some real hardware...
<Tartarus>
Yeah, mx6cuboxi is fine on top of tree next
<Tartarus>
So it's not a lab failure
<Tartarus>
(which happens, it's a picky board)
qqq has joined #u-boot
slobodan has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
gmcastil_at_work has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
gmcastil_ has quit [Ping timeout: 258 seconds]
mmu_man has joined #u-boot
sakman_ has joined #u-boot
sakman has quit [Ping timeout: 264 seconds]
sakman_ is now known as sakman
prabhakarlad has joined #u-boot
haritzondo has joined #u-boot
haritz has quit [Ping timeout: 240 seconds]
haritzondo is now known as haritz
haritz has quit [Changing host]
haritz has joined #u-boot
flom84 has quit [Quit: Leaving]
slobodan has quit [Ping timeout: 260 seconds]
prabhakarlad has quit [Quit: Client closed]
stipa_ has joined #u-boot
stipa has quit [Ping timeout: 252 seconds]
stipa_ is now known as stipa
mmu_man has quit [Ping timeout: 255 seconds]
gsz has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
zear_ has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
zear has quit [Ping timeout: 248 seconds]
zear_ is now known as zear
redbrain has quit [Read error: Connection reset by peer]