[U-Boot] [PATCH] wandboard: add pxe support, set default boot command like highbank

Otavio Salvador otavio at ossystems.com.br
Tue Aug 6 18:58:22 CEST 2013


On Tue, Aug 6, 2013 at 1:54 PM, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> How can someone 'overwrite' the default environment from system or
>> when generating a FIT image?
>
> If U-Boot is running, you can get back to the default environment by
> running exactly the commands you wrote below.
>
> If you're flashing U-Boot, you could force it to use the default
> environment when it boots by erasing/corrupting the copy of the
> environment that's stored in flash (or wherever ENV_IS points) at the
> same time that you flash the new U-Boot binary.
>
> The question of how to get the default environment when generating a FIT
> image doesn't make sense; generating a FIT image of something (kernel,
> initrd, DTB?) is entirely unrelated to the environment content that
> U-Boot uses when running.

Ok but when I do env -f -d -a it uses the built-in environment as
default. How can I 'change' this default without rebuilding U-Boot
binary?

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://projetos.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the U-Boot mailing list