January 29, 20233 yr I have recently managed to get SPI boot to USB SSD working on my Odroid N2+. However, to get there, I had to manually set setenv rootdev "/dev/sda1" in my /boot/boot.cmd With that set, SPI boot works. However, obviously I should not set it manually there, and the setting gets overwritten by armbian-config. My understanding is, that I should let boot.cmd unchanged (rootdev "/dev/mmcblk0p1") and armbianEnv.txt should do its magic, but the rootdev setting in armbianEnv.txt is simply ignored upon SPI boot and it fails to boot, as it tries to load the root fs from SD card... Any pointers, what might go wrong here or how to persist the boot.cmd change?
January 31, 20233 yr Don't forget to recompile. Written at the end of boot.cmd -> recompile with: # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr for me it works with that both fixes. (15sec petitboot and /dev/sda1 argument change) see the guide and comments from james chambers page...
February 25, 20233 yr Author Hmm, I did recompile to make the change effective. While playing with it, /boot/boot.cmd got reset to default values at some point. I supected the armbian-config script (probably while enabling some device tree overlay). I could not reproduce it later on, but was a bit afraid of this happening at some point in time in "productive" use. Decided for me to go with booting via SD card until I find a better solution... Am 31.1.2023 um 22:02 schrieb squirmy: see the guide and comments from james chambers page... Hmm, they mostly suggest not to use armbian, which would be a pity, though
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.