[U-Boot] [PATCH] env_ram.c: import env from other boot loader

Wolfgang Denk wd at denx.de
Fri Nov 11 12:49:34 CET 2011


Dear Macpaul Lin,

In message <1320994497-27894-1-git-send-email-macpaul at andestech.com> you wrote:
> If the system has dual boot loader, say loader1 and u-boot is loader2.
> If loader1 will be booted before u-boot and then pass env to u-boot in
> the format of u-boot's env, this module provides importing env from ram.
> 
> This feature needs to add related support in cmd_nvedit.c.

I don't think you need extra code for this.  The situation is not
different from any other where for example the environment is attached
to the U-Boot image, or embedded into it.  You just need to configure
the address / offset correctly in your board config header.

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
"If it ain't broke, don't fix it."                       - Bert Lantz


More information about the U-Boot mailing list