Re: [U-Boot] Question about fw_printenv settings

2010-03-10 Thread Detlev Zundel
Hi Joe, > Hi, > > I have problems with fw_env.config in NOR flash. > Would anyone please help me solve it? Thanks. > > In my board config: > > ifdef CONFIG_NAND > #define CFG_NO_FLASH > #define CONFIG_ENV_IS_IN_NAND 1 > #define CONFIG_ENV_OFFSET 0x40 /* add for

Re: [U-Boot] Question about fw_printenv settings

2010-03-10 Thread Wolfgang Denk
Dear Joe Culler, In message <67a3f13e1003100053g38b9bd32k845b4d43f06d1...@mail.gmail.com> you wrote: > > >> #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + > >> CONFIG_ENV_SECT_SIZE) ... > Yes, I have redundant environment where saves some config files. > > >> My fw_env.config setting

Re: [U-Boot] Question about fw_printenv settings

2010-03-10 Thread Joe Culler
On Wed, Mar 10, 2010 at 2:30 PM, Wolfgang Denk wrote: > Dear Joe Culler, Hi Wolfgang, > In message <67a3f13e1003092150o19ed0f64y3c200378c73b5...@mail.gmail.com> you > wrote: >> >> In my board config: > ... >> #define CONFIG_ENV_ADDR_REDUND          (CONFIG_ENV_ADDR + >> CONFIG_ENV_SECT_SIZE) >

Re: [U-Boot] Question about fw_printenv settings

2010-03-09 Thread Wolfgang Denk
Dear Joe Culler, In message <67a3f13e1003092150o19ed0f64y3c200378c73b5...@mail.gmail.com> you wrote: > > In my board config: ... > #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + > CONFIG_ENV_SECT_SIZE) So you have redundant envrionment, i. e. 2 copies of it in 2 different sectors.

[U-Boot] Question about fw_printenv settings

2010-03-09 Thread Joe Culler
Hi, I have problems with fw_env.config in NOR flash. Would anyone please help me solve it? Thanks. In my board config: ifdef CONFIG_NAND #define CFG_NO_FLASH #define CONFIG_ENV_IS_IN_NAND 1 #define CONFIG_ENV_OFFSET 0x40 /* add for 2008.10 */ #define CONFIG_EN