[U-Boot] Creating U-Boot env image

Wolfgang Denk wd at denx.de
Mon Dec 9 21:12:02 CET 2013


Dear Alexey Smishlayev,

In message <52A5D4F1.7020101 at xtech2.lv> you wrote:
> 
> I would like to flash the environment variable values to my board, 
> rather than setting them at the prompt. I've founa a tool mkenvimage is 
> made specially for that. I used it to create a binary image of the 
> U-Boot environment. However, when I flash it to my board, I get the message
> *** Warning - bad CRC, using default environment
> 
> I thought it is due to that redundant memory wasn't written aswell, so I 
> commented out #define CONFIG_ENV_REDUND_OFFSET in the 
> include/configs/at91sam9g20ek.h, and tried once again, but I'm still 
> getting this error.
> 
> What should I do to flash environment values directly to the board's NAND?

Why don't you just use "env import"?

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
Living on Earth may be expensive, but it includes an annual free trip
around the Sun.


More information about the U-Boot mailing list