Re: [PATCH 3/3] efi_loader: setting boot device

2022-04-04 Thread Kyle Evans
On Mon, Apr 4, 2022 at 12:59 AM Heinrich Schuchardt wrote: > > Am 4. April 2022 07:40:16 MESZ schrieb Kyle Evans : > >On Mon, Apr 4, 2022 at 12:09 AM Heinrich Schuchardt > >wrote: > >> > >> Am 3. April 2022 23:08:33 MESZ schrieb Kyle Evans : > >> > On Tue, Jan 12, 2021 at 1:59 PM Heinrich Schuch

Re: [PATCH 3/3] efi_loader: setting boot device

2022-04-03 Thread Heinrich Schuchardt
Am 4. April 2022 07:40:16 MESZ schrieb Kyle Evans : >On Mon, Apr 4, 2022 at 12:09 AM Heinrich Schuchardt wrote: >> >> Am 3. April 2022 23:08:33 MESZ schrieb Kyle Evans : >> > On Tue, Jan 12, 2021 at 1:59 PM Heinrich Schuchardt >> > wrote: >> >> >> >> Up to now the bootefi command used the last f

Re: [PATCH 3/3] efi_loader: setting boot device

2022-04-03 Thread Kyle Evans
On Mon, Apr 4, 2022 at 12:09 AM Heinrich Schuchardt wrote: > > Am 3. April 2022 23:08:33 MESZ schrieb Kyle Evans : > > On Tue, Jan 12, 2021 at 1:59 PM Heinrich Schuchardt > > wrote: > >> > >> Up to now the bootefi command used the last file loaded to determine the > >> boot partition. This has l

Re: [PATCH 3/3] efi_loader: setting boot device

2022-04-03 Thread Heinrich Schuchardt
Am 3. April 2022 23:08:33 MESZ schrieb Kyle Evans : > On Tue, Jan 12, 2021 at 1:59 PM Heinrich Schuchardt > wrote: >> >> Up to now the bootefi command used the last file loaded to determine the >> boot partition. This has led to errors when the fdt had been loaded from >> another partition after

Re: [PATCH 3/3] efi_loader: setting boot device

2022-04-03 Thread Kyle Evans
On Tue, Jan 12, 2021 at 1:59 PM Heinrich Schuchardt wrote: > > Up to now the bootefi command used the last file loaded to determine the > boot partition. This has led to errors when the fdt had been loaded from > another partition after the EFI binary. > > Before setting the boot device from a lo

Re: [PATCH 3/3] efi_loader: setting boot device

2021-01-19 Thread Simon Glass
Hi Heinrich, On Tue, 19 Jan 2021 at 11:43, Heinrich Schuchardt wrote: > > On 1/19/21 7:06 PM, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 12 Jan 2021 at 12:58, Heinrich Schuchardt > > wrote: > >> > >> Up to now the bootefi command used the last file loaded to determine the > >> boot par

Re: [PATCH 3/3] efi_loader: setting boot device

2021-01-19 Thread Heinrich Schuchardt
On 1/19/21 7:06 PM, Simon Glass wrote: Hi Heinrich, On Tue, 12 Jan 2021 at 12:58, Heinrich Schuchardt wrote: Up to now the bootefi command used the last file loaded to determine the boot partition. This has led to errors when the fdt had been loaded from another partition after the EFI binary

Re: [PATCH 3/3] efi_loader: setting boot device

2021-01-19 Thread Simon Glass
Hi Heinrich, On Tue, 12 Jan 2021 at 12:58, Heinrich Schuchardt wrote: > > Up to now the bootefi command used the last file loaded to determine the > boot partition. This has led to errors when the fdt had been loaded from > another partition after the EFI binary. > > Before setting the boot devic

[PATCH 3/3] efi_loader: setting boot device

2021-01-12 Thread Heinrich Schuchardt
Up to now the bootefi command used the last file loaded to determine the boot partition. This has led to errors when the fdt had been loaded from another partition after the EFI binary. Before setting the boot device from a loaded file check if it is a PE-COFF image or a FIT image. For a PE-COFF