[OE-core] [PATCH 1/2] u-boot: improved DESCRIPTION, fixed HOMEPAGE

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Dec 28 10:22:49 UTC 2011


2011/12/28 Ni Qingliang <niqingliang at insigma.com.cn>

> I have just done a seperate env tools bb for my project, but use the
> config file to assign the env size and address (which is generated on
> booting from /proc/mtd).
>
> in the fdt, the u-boot env has a seperate partition identified by it's
> name "u-boot environment"
>
> and have some problem:
> 1. the fw_printenv will exit with 0 even though can't read the env (CRC
> error).
>

Apparently the author of the program did not consider this as an error.
See tools/env/fw_env.c


>
> 2. the default env vars in fw_printenv(used when CRC error) are not same
> as it in the u-boot.
>

If I recall correctly this is addressed in the 2nd patch I posted.
>From memory:
Issue is that fw_env.h redefines CONFIG_BOOTCOMMAND. This gives you a
different boot command.
By putting #ifdef's around it the default one is taken

Enjoy!
Frans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111228/2d54c2ac/attachment-0002.html>


More information about the Openembedded-core mailing list