[U-Boot] [PATCH 0/5] sunxi: env: Load environment from boot media

Maxime Ripard maxime.ripard at bootlin.com
Mon Jun 10 08:30:37 UTC 2019


Hi,

On Sat, Jun 08, 2019 at 02:26:53AM +0100, Andre Przywara wrote:
> At the moment we need to configure the place where U-Boot tries to load
> its environment from at compile time. This is not only inflexible, but
> also unnecessary, as we have easy access to the boot source.
>
> This series prepares U-Boot on Allwinner boards to load the environment
> from the same media where the SPL and U-Boot proper were loaded from.
> This allows to keep one firmware binary, and copy it to an SD card,
> eMMC or even SPI flash, without needing to configure it differently.

This does change a couple of things though. The environment used to be
loaded always from the same source, no matter the boot device. This
means that if you would set an SD card, you would get the environment
from the eMMC. Same thing for FEL. This is no longer the case.

I don't know whether it's a good or a bad thing, but it should be
mentionned.

Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190610/89c72410/attachment.sig>


More information about the U-Boot mailing list