@jarkko sorry, can you explain your solution a bit more? I am very interested.
@jarkko I'm not saying you are wrong, I'm just trying to understand. Where is the bootloader that loads from SDcard? In other words, what is the full stack and what did you think it should be?
@jarkko But where is the first stage loader? IOW, is there a level 0 bootloader in ROM in the SOC that knows how to load from SDcard? That would seem like an awful lot of policy to commit to ROM. Normally the level 0 bootloader can only load the next loader from something like SPI ROM, which can then load from wherever (and can be updated to fix bugs, add features).
I looked at the document, but it's unclear to me. AFAICT, all the bootloaders they talk about can be updated.
@jarkko AFAICT, it works like I expected: the 1st level boot loader is the U-Boot SPL which lives in the SPI Flash "ROM". However *it* is loaded by an unnamed level zero bootloader. From there everything proceeds as per SPL, which can load from many places and presumably is the one reading the MSEL dip switches.
@jarkko As it happens I just hosed my Ubuntu installation on the VF2; after `do-release-upgrade -d` it doesn't appear to be able to see the SDcard:
[ 3.116941] /dev/root: Can't open blockdev
[ 3.121104] VFS: Cannot open root device "UUID=a9631c0e-efc4-4d89-8fb6-b71837b37c62" or unknown-block(0,0): error -6
[ 3.131673] Please append a correct "root=" boot option; here are the available partitions:
[ 3.140073] List of all bdev filesystems:
I suspect I should start over