From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Date: Mon, 20 Nov 2017 10:24:08 +0100 Subject: [U-Boot] [PATCH 3/4] sunxi: Add default partition scheme In-Reply-To: <9b519a4b-501f-c81e-b6f7-4026366d5320@suse.de> References: <20171115101151.11382-1-maxime.ripard@free-electrons.com> <20171115101151.11382-4-maxime.ripard@free-electrons.com> <5945773e-f80f-8205-41d8-6a68f7263cde@suse.de> <20171116112113.enn6bdjjpnbnbe4b@flea> <716f0816-ec3c-e581-2332-7ab1dbe53a11@arm.com> <20171117082713.wjqfjigwi65pu5pr@flea> <282977c8-21ec-7600-29c9-957e0c925f91@arm.com> <20171117130439.rp4bluocb76tpsfw@flea> <9b519a4b-501f-c81e-b6f7-4026366d5320@suse.de> Message-ID: <20171120092408.sfgpzmfzhwvd6jlu@flea.lan> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On Fri, Nov 17, 2017 at 03:20:03PM +0100, Alexander Graf wrote: > > > On 17.11.17 14:04, Maxime Ripard wrote: > > On Fri, Nov 17, 2017 at 12:21:49PM +0000, Andre Przywara wrote: > >> 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. > > > > Ok, perfect then, thanks! > > Please make sure to > > a) Format it as FAT and That might be the toughest part :) AFAIK, u-boot is not able to format any filesystem. We could just flash a raw FAT filesystem though, but looking into it might help for the environment discussion. > b) Mark it with the ESP GUID That's easy thouh. What is this GUID? Thanks! 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: 801 bytes Desc: not available URL: