[U-Boot] Question about fw_printenv settings
Joe Culler
joe.culler at gmail.com
Wed Mar 10 09:53:20 CET 2010
On Wed, Mar 10, 2010 at 2:30 PM, Wolfgang Denk wrote:
> Dear Joe Culler,
Hi Wolfgang,
> In message <67a3f13e1003092150o19ed0f64y3c200378c73b55bf at 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.
Yes, I have redundant environment where saves some config files.
>> My fw_env.config setting:
>> /dev/mtd2 0x400000 0x20000 0x20000
>>
>> but it doesn't work :(
>
> Here you describe just one sectore - with redundant envrionment, you
> must describe BOTH.
Maybe I'm stupid. I don't know how to describe my second sectore.
Would you teach me how to do? Thank you.
I thought my device offset settings was wrong since I use NOR, not
NAND....
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> There are two ways to write error-free programs. Only the third one
> works.
Regards,
Joe.
More information about the U-Boot
mailing list