u-boot env does not changes after flashing new u-boot

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

u-boot env does not changes after flashing new u-boot

1,428 Views
adarsh1997
Contributor III

Hi
I need to change some u-boot environment variable for our use.
Steps i did:
1.changes env in include/configs file 
2.clean u-boot
3.compile u-boot
4.Flash u-boot

But after flashing u-boot , env remain same as earlier.What wrong i am doing or what is the issue?

Also if i am trying to change env from command line utility(fw_setenv) then also i am not able to change env after reboot.

FYI: I am trying to change env -->> console = null. but it remains ttymxc0 always

Please let me know how can i change u-boot env from command line or by flashing u-boot after changes.


0 Kudos
Reply
1 Reply

1,421 Views
igorpadykov
NXP Employee
NXP Employee

Hi Adarsh

 

>how can i change u-boot env from command line or by flashing u-boot after changes.

 

one can look at uboot documentation

https://www.denx.de/wiki/publish/DULG/to-delete/UBootCmdGroupEnvironment.html

For "fw_setenv" may be useful below

https://lists.yoctoproject.org/g/meta-freescale/topic/80166140#24632

 

Best regards
igor

0 Kudos
Reply