Dear Macpaul Lin, In message <1320994497-27894-1-git-send-email-macp...@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: w...@denx.de "If it ain't broke, don't fix it." - Bert Lantz _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot