
hello,all In the file Env_flash.c ,there is a function as
#ifdef CFG_ENV_ADDR_REDUND int env_init(void) { DECLARE_GLOBAL_DATA_PTR; ... }
What's CFG_ENV_ADDR_REDUND mean?on which condition the function env_init(void) works. and I want to know when env store in flash,where to store,and how to store the env and how can i get it from flash
thanks a lots
--------------------------------- 抢注雅虎免费邮箱3.5G容量,20M附件!

In message 358544.69311.qm@web15602.mail.cnb.yahoo.com you wrote:
In the file Env_flash.c ,there is a function as
There is no such file. The file name is "env_flash.c". Case is significant!
#ifdef CFG_ENV_ADDR_REDUND int env_init(void) { DECLARE_GLOBAL_DATA_PTR; ... }
This must be a very, very old version of the code. That bug has been fixed long ago.
What's CFG_ENV_ADDR_REDUND mean?on which condition the function env_init(void) works. and I want to know when env store in flash,where to store,and how to store the env and how can i get it from flash
May I suggest you start reading the documentation, such as the README?
--0-1753388716-1179381204=:69311 Content-Type: text/html; charset=gb2312 Content-Transfer-Encoding: 8bit
And never post HTML here.
Best regards,
Wolfgang Denk
participants (2)
-
Wolfgang Denk
-
孙 彬