Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-15 Thread Jonathan Gray
On Sat, Nov 14, 2020 at 05:56:38AM +0100, Heinrich Schuchardt wrote: > On 09.11.20 18:08, Mark Kettenis wrote: > >> From: Heinrich Schuchardt > >> Date: Mon, 9 Nov 2020 15:36:33 +0100 > >> > >> On 09.11.20 14:51, Mark Kettenis wrote: > From: Paulo Alcantara > Date: Mon, 09 Nov 2020 10:2

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-13 Thread Heinrich Schuchardt
On 09.11.20 18:08, Mark Kettenis wrote: >> From: Heinrich Schuchardt >> Date: Mon, 9 Nov 2020 15:36:33 +0100 >> >> On 09.11.20 14:51, Mark Kettenis wrote: From: Paulo Alcantara Date: Mon, 09 Nov 2020 10:24:08 -0300 Heinrich Schuchardt writes: > On 09.11.20 00:58, Pau

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Mon, 9 Nov 2020 15:36:33 +0100 > > On 09.11.20 14:51, Mark Kettenis wrote: > >> From: Paulo Alcantara > >> Date: Mon, 09 Nov 2020 10:24:08 -0300 > >> > >> Heinrich Schuchardt writes: > >> > >>> On 09.11.20 00:58, Paulo Alcantara wrote: > The UEFI specifi

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Heinrich Schuchardt
On 09.11.20 15:35, Paulo Alcantara wrote: > Mark Kettenis writes: > >> The OpenBSD installation media for armv7 and arm64 use a FAT partition >> of type 0x0c because the Raspberry Pi firmware doesn't support 0xef. >> This allows us to have a single FAT partition with the Raspberry Pi >> firmware,

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Heinrich Schuchardt
On 09.11.20 14:51, Mark Kettenis wrote: >> From: Paulo Alcantara >> Date: Mon, 09 Nov 2020 10:24:08 -0300 >> >> Heinrich Schuchardt writes: >> >>> On 09.11.20 00:58, Paulo Alcantara wrote: The UEFI specification does not restrict on the number and location of ESPs in a system. They are

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Paulo Alcantara
Mark Kettenis writes: > The OpenBSD installation media for armv7 and arm64 use a FAT partition > of type 0x0c because the Raspberry Pi firmware doesn't support 0xef. > This allows us to have a single FAT partition with the Raspberry Pi > firmware, U-Boot and /EFI/BOOT/BOOT{ARCH}.EFI. Yeah, it is

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Heinrich Schuchardt
On 09.11.20 14:24, Paulo Alcantara wrote: > Heinrich Schuchardt writes: > >> On 09.11.20 00:58, Paulo Alcantara wrote: >>> The UEFI specification does not restrict on the number and location of >>> ESPs in a system. They are discovered as required by looking at the >>> partition type, but firmwar

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Mark Kettenis
> From: Paulo Alcantara > Date: Mon, 09 Nov 2020 10:24:08 -0300 > > Heinrich Schuchardt writes: > > > On 09.11.20 00:58, Paulo Alcantara wrote: > >> The UEFI specification does not restrict on the number and location of > >> ESPs in a system. They are discovered as required by looking at the >

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Paulo Alcantara
Heinrich Schuchardt writes: > On 09.11.20 00:58, Paulo Alcantara wrote: >> The UEFI specification does not restrict on the number and location of >> ESPs in a system. They are discovered as required by looking at the >> partition type, but firmware implementations are allowed to support >> ESPs

Re: [PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-09 Thread Heinrich Schuchardt
On 09.11.20 00:58, Paulo Alcantara wrote: > The UEFI specification does not restrict on the number and location of > ESPs in a system. They are discovered as required by looking at the > partition type, but firmware implementations are allowed to support > ESPs which do not contain a valid partiti

[PATCH] efi_loader: improve detection of ESP for storing UEFI variables

2020-11-08 Thread Paulo Alcantara
The UEFI specification does not restrict on the number and location of ESPs in a system. They are discovered as required by looking at the partition type, but firmware implementations are allowed to support ESPs which do not contain a valid partition type. Besides checking for the partition type,