From mboxrd@z Thu Jan 1 00:00:00 1970 From: AKASHI Takahiro Date: Tue, 31 Mar 2020 11:20:50 +0900 Subject: u-boot environment on x86 In-Reply-To: References: Message-ID: <20200331022049.GG11504@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Mar 27, 2020 at 01:26:09PM +0000, Kim B?ndergaard wrote: > I'm struggling with a u-boot as an uefi overlay on x86 (currently Qemu). > Basically it is working, but I'm now considering how /where to store my u-boot environment. > > I need to have it stored in a device being accessible also from my Linux being installed by u-boot. > > Anyone having had similar considerations. Can fw_printenv/fw_setenv under tools be a solution to your issue? (I've never used those commands though.) > I feel storing the environment in e.g. a FAT file is not the right solution. It is too vulnerable to power loss. > I'd prefer e.g. a raw sd partition, but u-boot has no means to read it right now. Making support for that would be quite easy I think. > > Alternatively I know the UEFI provides means to store "UEFI variables". Anyone who knows if adding the environment as a huge UEFI variable is a way to go? Any reason to stick to UEFI here? -Takahiro Akashi > > Comments are welcome > > Kim B?ndergaard > Prevas A/S > Team Manager / Systems Architect > > Hedeager 3, DK-8200 Aarhus N > Phone +45 3315 9090 > Mobile +45 5154 3961 > kibo at prevas.dk > www.prevas.dk > > >