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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,430 次查看
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 项奖励
回复
1 回复

1,423 次查看
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 项奖励
回复