[U-Boot] [PATCH 3/4] sunxi: Add default partition scheme

Andre Przywara andre.przywara at arm.com
Fri Nov 17 12:21:49 UTC 2017


Hi,

On 17/11/17 08:27, Maxime Ripard wrote:
> 
> I guess I also have a side question here. How do the installers deal
> with the ESP partition? Would they create a new filesystem on it no
> matter what, or are they a bit smarter than that?

I would expect any installer to not mess with the ESP. After all the ESP
belongs to the firmware, and multiboot (both multiple Linux versions as
well as other OSes like Windows or BSD) is one main feature of the ESP.

The only exception might be if the ESP is not formatted.

> My actual question being what will happen if one stores the U-Boot
> environment on that partition, and then runs an installer? Would the
> environment be gone?

I would say that the ESP is a perfect place for the environment. It's
FAT and it belongs to firmware, so OSes are just expected to *add* their
bootloaders, without touching any other file on it.

Cheers,
Andre.


More information about the U-Boot mailing list