[U-Boot] [PATCH 3/3] vexpress64: store env in flash

Linus Walleij linus.walleij at linaro.org
Tue Oct 27 12:49:19 CET 2015


On Wed, Oct 21, 2015 at 11:54 AM, Ryan Harkin <ryan.harkin at linaro.org> wrote:

> Juno has 1 flash part with 259 sectors.  The first 255 sectors are
> 0x40000 (256kb) and are followed by 4 sectors of 0x10000 (64KB).
>
> FVP models simulate a 64MB NOR flash part at base address 0x0FFC0000.
> This part has 256 x 256kb sectors.  We use the last sector to store the
> environment.

Does this mean it appears in a AFS partition so that we see it
sitting around there in the flash with afs (no arguments)?

I'm asking because that seems to be how it work on the
RealView PB11MPCore which was based on some out-of-tree
U-Boot that Peter Pearse was maintaining at the time.

If there is not a AFS partition for the U-Boot environment,
we should take measures to create one, since the flash
is handled in AFS partitions on these machines.

Yours,
Linus Walleij


More information about the U-Boot mailing list