[U-Boot] [PATCH v3 18/30] sunxi: Add uENV partition on gpt partition table

Maxime Ripard maxime.ripard at free-electrons.com
Tue Jan 30 08:25:54 UTC 2018


On Mon, Jan 29, 2018 at 02:01:49PM +0530, Jagan Teki wrote:
> On Mon, Jan 29, 2018 at 1:33 PM, Maxime Ripard
> <maxime.ripard at free-electrons.com> wrote:
> > On Sun, Jan 28, 2018 at 09:49:39PM +0530, Jagan Teki wrote:
> >> Insert 128KiB uENV partition after loader2 on gpt partition table.
> >>
> >> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> >
> > What is the point of this partition?
> 
> Yes for u-boot environment.
> 
> >
> > If it is to store the environment, it was discussed to add it into the
> > esp partition.
> 
> If it is part of esp are we sure env part from esp is always unchanged
> expect u-boot saveenv?, I would prefer env has separate partition
> because, there could be chance of formatting esp from host and copy
> Linux images instead of fastboot write or any other media write.

Please look at the discussion we had at the time. The esp partition is
under the firmware control, so it's safe to put our environment there.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180130/a64e7a84/attachment.sig>


More information about the U-Boot mailing list