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.

Introduction to U Boot? /Lack of fundamental understanding

Featured Replies

I read a lot of U Boot documentation the last hours but I still fail at fundamental understanding, like:
 

- where can variables be set? boot.scr obviously, but there is also uEnv.txt boot.cmd armbianEnv.txt ... and in which order and precendence are they parsed? (If I set a variable in different files, which value will be used? first? last? ...)

- how is a change made persistent (saveenv does not work)

- Can sub-variables be changed, e.g. root in bootargs

 

what I am trying to achieve atm is to change the boot partion rootdev from p1 to p2. Even thou I think I patched the relevant files, printenv shows that bootargs and rootdev are still set to p1. Even if I set rootdev to ps (verified by printenv) running boot fails (and afterwards its set to p1 again).

I did not try to edit bootargs because I dont know how to do this without retyping the entire variable content (which is error-prone and annoying)

 

 

A lot of documentation is done on compiling/building, I basically want to now how to mange the "grub" part of u boot.

Would be nice if someone has a few hints or url(s) for me. Tahnk you.

Guest
This topic is now closed to further replies.

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.