[U-Boot-Users] Embedded environment setup

Wolfgang Denk wd at denx.de
Sun Mar 25 22:27:07 CEST 2007


In message <46040C60.5070505 at inaccessnetworks.com> you wrote:
> I have a flash chip with equally sized sectors and I don't want to waste 
> an entire sector for the environment. I have the u-boot environment 
> embedded in the u-boot sector. The declarations in my board file are:

Do not do this. Do NOT do this. DO NOT DO THIS.

Please never mix U-Boot  code  and  environment  data  inone  sector.
Always use a separate sector (or two) for the environment.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Though a program be but three lines long,
someday it will have to be maintained."
- The Tao of Programming




More information about the U-Boot mailing list