Recommended Posts

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

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

@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

Link to post
Share on other sites

 

 

@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

Link to post
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...