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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

1,437件の閲覧回数
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,430件の閲覧回数
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 件の賞賛
返信