<mps>
some of these patches are merged to mainline with every kernel major release, but not all
<ncopa>
understood. thanks!
<mps>
if you want run 'edge' kernel and test you can build linux-next and try boot
<mps>
last time I tried e/mmc driver didn't worked
<ncopa>
i didnt get emmc to work here either
<ncopa>
but i figured out how u-boot finds the boot partition
<mps>
ah? for me all works, mmc, emmc, usb, nvme
<ncopa>
i only flashed the updated u-boot to sd card for now
<ncopa>
and configured the board to boot from SDIO
<mps>
u-boot search for 'legacy boot' flag on partition to boot
<ncopa>
u-boot wil find either ESP partition *or* legacy bios boot flag
<ncopa>
took me a while to find out how to do that with sfdisk (instead of sgdisk)
<mps>
ncopa: remember, (all, not inteneded to you) that these boot micro dip switches server from where u-boot (SPL and OpenSBI) will be read and not where u-boot searches boot media to boot from
<mps>
yes, new u-boot can also boot from ESP
<ncopa>
yup, I figured that out
<ncopa>
i will try flash the QSPI now, with updated u-boot
<ncopa>
or actually, maybe I should try make it boot from nvme first
<mps>
heh, I found that sgdisk is 'swiss army knife' for me when working with media
<mps>
board cannot read u-boot from from nvme
<mps>
only flash, serial, mmc and emmc
<ncopa>
that i figured. I'm gonna have the board read u-boot from sdcard, and from there boot nvme
<mps>
I didn't tried flash over serial on VF2 but on VF1 it worked out-of-box
<mps>
break u-boot and type something like 'setenv bootorder nvme0, mmc1, ...' and savenv -a
<mps>
cant remember exact variable name from the head
<ncopa>
does it still need uEnv.txt?
<mps>
no, in my tests
BootLayer has joined #riscv
<mps>
ncopa: btw, u-boot 2023.19 is released yesterday, but without few patches we need to boot VF2 flawlessly, I'm thinking to add these 3 patch to alpine main aports and we will have u-boot for VF2 from main repo
<mps>
2023;.10 not 19
<mps>
uh, 2023.10 (going to bed again)
<ncopa>
sounds good to me. then we don't need the u-boot-jh1100 aport, right?
<mps>
right
<ncopa>
you are right. no uEnv.txt is needed
<mps>
all these vars are already set by u-boot
jacklsw has joined #riscv
admiral_frost has quit [Quit: It's time]
prabhakarlad has quit [Ping timeout: 245 seconds]
Kedleston has joined #riscv
GenTooMan has quit [Ping timeout: 260 seconds]
hightower2 has joined #riscv
heat has quit [Remote host closed the connection]
heat has joined #riscv
vagrantc has joined #riscv
GenTooMan has joined #riscv
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
<ncopa>
finally got it boot from nvme, using u-boot from sdcard. I got really really confused by the fact that u-boot finds and reads the emmc, but the linux kernel does not see it
<ncopa>
took me a while to realize it read the kernel from emmc
mlw has joined #riscv
<mps>
ncopa: also I found that emmc have some problems but didn't investigated deeply
GenTooMan has quit [Ping timeout: 255 seconds]
GenTooMan has joined #riscv
danilogondolfo has quit [Quit: Leaving]
Stat_headcrabed has joined #riscv
jacklsw has quit [Ping timeout: 272 seconds]
davidlt has quit [Ping timeout: 260 seconds]
admiral_frost has joined #riscv
mlw has quit [Quit: leaving]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
heat has quit [Remote host closed the connection]
heat has joined #riscv
BootLayer has quit [Quit: Leaving]
cousteau has joined #riscv
ntwk has quit [Quit: ntwk]
heat has quit [Remote host closed the connection]
heat_ has joined #riscv
prabhakarlad has joined #riscv
admiral_frost has quit [Quit: It's time]
esv has joined #riscv
agent314 has joined #riscv
prabhakarlad has quit [Quit: Client closed]
Jackneill has quit [Ping timeout: 240 seconds]
crabbedhaloablut has quit []
awita has quit [Ping timeout: 258 seconds]
cousteau has quit [Quit: ♫ I can't forget the day I shot that network down ♫]
rsalveti has quit [Quit: Connection closed for inactivity]
Andre_Z has quit [Quit: Leaving.]
Leopold has quit [Ping timeout: 258 seconds]
Leopold has joined #riscv
agent314 has quit [Ping timeout: 255 seconds]
agent314 has joined #riscv
heat_ has quit [Remote host closed the connection]
ntwk has joined #riscv
GenTooMan has quit [Ping timeout: 248 seconds]
GenTooMan has joined #riscv
GenTooMan has quit [Excess Flood]
GenTooMan has joined #riscv
rsalveti has joined #riscv
cousteau has joined #riscv
chripo has quit [Remote host closed the connection]