How to modify U-boot configuration in Linux user space

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to modify U-boot configuration in Linux user space

Jump to solution
40,757 Views
Huazhi_Hank_Gon
Contributor III

Hi,

Can I modify the u-boot configuration after booting into the Linux? I don't want to do that by entering into the u-boot setting prompt to do this.

Thanks...

Hank

1 Solution
20,251 Views
ajithpv
Contributor V

Hi Huazhi,

               Even I also referred the same link which u provided in above query. For getting the "fw_setenv", do the following steps.

In uboot:

1) give 'env' (optional parameter) in uboot and compile it

2) this will generate the 'fw_printenv' in the U-Boot directory tools/env

3) Copy the fw_env.config file too.

3) follow the next steps from the "U-boot environment variables in linux link"

Please let me know any additional details you want for fw_printenv and fw_setenv.

Best regards

Ajith P V


View solution in original post

23 Replies
964 Views
Huazhi_Hank_Gon
Contributor III

Yes. It's not easy. We want to make some kind of updating program here, which requires us to change the booting parameters sometimes.

0 Kudos
Reply
964 Views
navanisrivastav
Contributor II

Hi,

Do you want to change environment variable or bootloader binary itself? Please specify.

0 Kudos
Reply
964 Views
Huazhi_Hank_Gon
Contributor III

Hi, I just want to change the environment variables.

0 Kudos
Reply