Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

armbianEnv rootdev setting ignored by SPI boot

Featured Replies

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?

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...

  • 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.