[Buildroot] [PATCH] uboot: support -p option for mkenvimage

Simon Dawson spdawson at gmail.com
Fri Oct 11 07:47:20 UTC 2013


On 10 October 2013 16:06, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Maybe a few more words like in which cases this is useful, would be
> nice to have I believe (I myself don't know when this option should be
> used).

I have been using a crappy script to generate a u-boot environment
image, and that script was padding with 0x00 bytes instead of 0xff
(which is the default used by the mkenvimage tool). Having looked into
this a bit more, it appears that the 0xff padding works just fine in
my particular use case.

So, I no longer consider this patch necessary, and cannot provide a
justification for it.

I have, however, found that I need to pass the -r (redundant
environment) flag to mkenvimage; so I propose exposing that flag in
the Buildroot menu.

Simon.



More information about the buildroot mailing list