2010-03-02 20:16:11     怎么修改u-boot里面默认的环境变量?

Document created by Aaronwu Employee on Sep 25, 2013
Version 1Show Document
  • View in full screen mode

2010-03-02 20:16:11     怎么修改u-boot里面默认的环境变量?

zhang zhihua (CHINA)

Message: 86731   

 

我用的是u-boot-2008.10-2009R1-rc3,但是每次重新load之后都要修改环境变量,怎么在编译时就把它修改成我想要设置的环境变量呢?

 

    谢谢...

TranslateQuoteReplyEditDelete

 

 

2010-03-03 00:36:25     Re: 怎么修改u-boot里面默认的环境变量?

Sonic Zhang (CHINA)

Message: 86736   

 

What do you mean by "重新load"? Write the uboot image into flash?

 

You can change the default environment in the board config head file.

QuoteReplyEditDelete

 

 

2010-03-03 21:17:09     Re: 怎么修改u-boot里面默认的环境变量?

zhang zhihua (CHINA)

Message: 86773   

 

就是我想在重新编译的u-boot中包含我想要的环境变量,我在bfin_adi_common.h中修改了其中的相关设置,但是我下到板子上之后发现修改的设置并没有起作用,比如我修改了“root=/dev/mtdblock2”,但是下载之后还是root=/dev/mtdblock0,而且不知道怎么回事,我每次重新烧写u-boot之后都发现u-boot中的环境变量都是我上一次在u-boot中通过set命令设置的环境变量,怎么把上一次设置的删掉啊?

TranslateQuoteReplyEditDelete

 

 

2010-03-05 01:28:58     Re: 怎么修改u-boot里面默认的环境变量?

Sonic Zhang (CHINA)

Message: 86823   

 

你要把Flash中放uboot的整个区域全部erase.

QuoteReplyEditDelete

Attachments

    Outcomes