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.

uboot help/issue

Featured Replies

hello,

what exactly has to be done / how if I want to change a roofs partition for uboot?  I can see its written inside these two files... but i cant see how to change that ... if i can directly edit these two files or something has to be executed... 

 

 

armbianEnv.txt

boot.scr

 

 

thanks

@phier - boot.scr is reading and evaluating armbianEnv.txt - so armbianEnv.txt it the proper file to change it

 

good luck and best wishes - hexdump

  • Author

@hexdump so i do not need to configure / compile anything? all the control of uboot is done via that armbianEnv.txt - ie i only edit that file and thats it? thanks

 

@hexdump it doesnt work at all.

 

can someone advice here? thanks

@phier i it would be good if you would write some more details - otherwise its hard to help - for instance what system and what image you are using and what exactly you want to adjust/change ...

  • Author

 

 

@hexdump i installed latest ubuntu - armbian on sd card;

then i shrinked original partition rootfs; created now one; copied data from shrinked to the new one. And i want to boot from that new one.

 

ie if sd card was 

sdf1

now its

sdf1 (old rootfs)

sdf2 (new rootfs)

 

And i want make uboot boot from sdf2

 

thanks

 

i think

boot/boot.scr has to be also updated ?

 

setenv devnum "0"
setenv rootdev "/dev/mmcblk${devnum}p1"
 

 

i believe uboot has to be somehow recompiled to point to /dev/mmcblk0p2 instead of /dev/mmcblk0p1

  • Author

uboot reads /boot/armbianEnv.txt & kernel images from the first partition marked as bootable (fdisk). Rootfs can be changed by updating armbianEnv.txt (on the first bootable partition) rootdev=UUID to boot from any partition.

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.