<naoki>
hmm... is there any requirement to use as boot disk/partition (extlinux.conf, kernel, etc)? I'm trying to use USB memory to test some kernels on it but upstream u-boot doesn't boot from it... I can see files with "ls" command on u-boot
<qschulz>
naoki: I believe the partition holding the extlinux.conf needs to be marked as bootable
<naoki>
ah...
robmur01 has joined #linux-rockchip
<naoki>
Attribute flags: 0000000000000000 hmm??
<naoki>
(checked working disk)
<naoki>
GUID?
<naoki>
Known attributes are:
<naoki>
2: legacy BIOS bootable
<naoki>
oh I didn't know this attribute is for legacy
s1b1 has quit [Changing host]
s1b1 has joined #linux-rockchip
psydroid2 has joined #linux-rockchip
warpme has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<naoki>
ah it works now... I don't know why... I guess silly mistake...
<rah>
Kwiboo: ah interesting, cheers
Stat_headcrabed has joined #linux-rockchip
<mps_>
naoki: I tried to conclude what is needed to detect partition with extlinux.conf but yet didn't found. looks like it depends on boot ROM of the SoC/SBC
<mps_>
some use 'legacy flag' some partition type GUID and some are smart to find it without these
warpme has joined #linux-rockchip
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Livio has joined #linux-rockchip
vagrantc has joined #linux-rockchip
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
psydroid2 has quit [Remote host closed the connection]
psydroid2 has joined #linux-rockchip
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kevery has quit [Ping timeout: 264 seconds]
Stat_headcrabed has joined #linux-rockchip
Livio has quit [Read error: Connection reset by peer]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Livio has joined #linux-rockchip
stikonas has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]
<naoki>
mps_: what I need was just single linux partition (this time, GPT) with /boot... (I put SPL and u-boot on SPI)
<mps_>
naoki: don't know for your board but usually you can set search path for extlinux.conf in u-boot variable and save this settings to flash
<naoki>
I'm trying rock-5b for now
<naoki>
no need to tweak u-boot env
<naoki>
it can detected automatically while u-boot autoboot
<naoki>
now I'm trying to put userland (ubuntu 24.04) to USB-SDD too (I'm doing same for riscv)
<urja>
IIRC upstream u-boots default "distro boot" just looked for the extlinux conf on the first partition of every disk it found but it has been a while since i looked at it
<naoki>
I noticed ubuntu 24.04 stock kernel (6.8) doesn't support USB on rock-5b, so I'm building linux-next for both riscv/mars and arm64/rock-5b ;)
<mps_>
urja: hm, looks like this doesn't work on my (very) old lamobo R1, I have to set 'legacy boot' for partition
<urja>
hmmmmmmm
<urja>
i could remember wrong and/or it might have changed, both after and before the 2019-ish u-boot i'm using on my C201
<mps_>
hm hm hm, could be because lamobo R1 could read only msdos and not gpt partition table
<urja>
yeah i use GPT tables on my microSD cards (because ChromeOS lol)
<urja>
i mean, i no longer would need on this one, but i keep them compatible so i can test on the another C201 that has stock fw
<naoki>
(oh I forgot to prepare fstab and netplan...)
<mps_>
yes, gpt works fine with u-boot on my two (old) chromebooks
stikonas has joined #linux-rockchip
Livio has quit [Ping timeout: 268 seconds]
System_Error has quit [Remote host closed the connection]