Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-12-31 Thread Peter Robinson
On Mon, Oct 23, 2023 at 4:55 PM Mark Kettenis wrote: > > > From: Simon Glass > > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > > > fdt_node_check_compatible() does most of the work...then you need to > > > > check which FDT has the most specific match (i.e. latest in the string > > > > list). Tha

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-14 Thread Tom Rini
On Tue, Nov 14, 2023 at 08:09:52PM +0100, Mark Kettenis wrote: > > From: Simon Glass > > Date: Fri, 3 Nov 2023 13:17:18 -0600 > > > > Hi, > > > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > > From: Tom Rini > > > > > > > > On Mon

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-14 Thread Mark Kettenis
> From: Simon Glass > Date: Fri, 3 Nov 2023 13:17:18 -0600 > > Hi, > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > From: Tom Rini > > > > > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > > > From: Simon Glass

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-03 Thread Tom Rini
On Fri, Nov 03, 2023 at 01:17:18PM -0600, Simon Glass wrote: > Hi, > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > From: Tom Rini > > > > > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > > > From: Simon Glass >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-03 Thread Ilias Apalodimas
Hi all, On Fri, 3 Nov 2023 at 21:17, Simon Glass wrote: > > Hi, > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > From: Tom Rini > > > > > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > > > From: Simon Glass > >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-03 Thread Ilias Apalodimas
Hi Simon On Fri, 3 Nov 2023 at 21:17, Simon Glass wrote: > > Hi, > > On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > > From: Tom Rini > > > > > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > > > From: Simon Glass >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-11-03 Thread Simon Glass
Hi, On Mon, 23 Oct 2023 at 11:06, Mark Kettenis wrote: > > > Date: Mon, 23 Oct 2023 12:34:55 -0400 > > From: Tom Rini > > > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > > From: Simon Glass > > > > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > > > > > > > fdt_node_check

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Mark Kettenis
> Date: Mon, 23 Oct 2023 12:34:55 -0400 > From: Tom Rini > > On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > > From: Simon Glass > > > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > > > > > fdt_node_check_compatible() does most of the work...then you need to > > > > > check wh

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Tom Rini
On Mon, Oct 23, 2023 at 05:37:34PM +0200, Mark Kettenis wrote: > > From: Simon Glass > > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > > > fdt_node_check_compatible() does most of the work...then you need to > > > > check which FDT has the most specific match (i.e. latest in the string > > > > li

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Mark Kettenis
> From: Simon Glass > Date: Mon, 23 Oct 2023 00:08:40 -0700 > > > > fdt_node_check_compatible() does most of the work...then you need to > > > check which FDT has the most specific match (i.e. latest in the string > > > list). That handles things like board revisions, variants, etc. > > > > > > M

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Heinrich Schuchardt
On 10/23/23 09:08, Simon Glass wrote: Hi Heinrich, On Sat, 21 Oct 2023 at 21:53, Heinrich Schuchardt wrote: On 10/21/23 17:42, Simon Glass wrote: Hi Tom, On Fri, 20 Oct 2023 at 09:24, Tom Rini wrote: On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: On 20.10.23 15:21,

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-23 Thread Simon Glass
Hi Heinrich, On Sat, 21 Oct 2023 at 21:53, Heinrich Schuchardt wrote: > > On 10/21/23 17:42, Simon Glass wrote: > > Hi Tom, > > > > On Fri, 20 Oct 2023 at 09:24, Tom Rini wrote: > >> > >> On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: > >>> On 20.10.23 15:21, Simon Glass wr

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-21 Thread Heinrich Schuchardt
On 10/21/23 17:42, Simon Glass wrote: Hi Tom, On Fri, 20 Oct 2023 at 09:24, Tom Rini wrote: On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: On 20.10.23 15:21, Simon Glass wrote: +Doug Anderson Hi Heinrich, On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt wrote: On

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-21 Thread Simon Glass
Hi Tom, On Fri, 20 Oct 2023 at 09:24, Tom Rini wrote: > > On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: > > On 20.10.23 15:21, Simon Glass wrote: > > > +Doug Anderson > > > > > > Hi Heinrich, > > > > > > On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt > > > wrote: > > >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-20 Thread Simon Glass
Trying again to add Doug as we chatted briefly about this yesterday. On Fri, Oct 20, 2023, 07:21 Simon Glass wrote: > > +Doug Anderson > > Hi Heinrich, > > On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt > wrote: > > > > On 19.10.23 15:55, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On W

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-20 Thread Tom Rini
On Fri, Oct 20, 2023 at 05:40:03PM +0200, Heinrich Schuchardt wrote: > On 20.10.23 15:21, Simon Glass wrote: > > +Doug Anderson > > > > Hi Heinrich, > > > > On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt > > wrote: > > > > > > On 19.10.23 15:55, Simon Glass wrote: > > > > Hi Heinrich, > > >

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-20 Thread Heinrich Schuchardt
On 20.10.23 15:21, Simon Glass wrote: +Doug Anderson Hi Heinrich, On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt wrote: On 19.10.23 15:55, Simon Glass wrote: Hi Heinrich, On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt wrote: On 10/18/23 05:33, Simon Glass wrote: Hi Heinrich, On

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-20 Thread Tom Rini
On Fri, Oct 20, 2023 at 06:21:33AM -0700, Simon Glass wrote: > +Doug Anderson > > Hi Heinrich, > > On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt > wrote: > > > > On 19.10.23 15:55, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt > > > wrot

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-20 Thread Simon Glass
+Doug Anderson Hi Heinrich, On Thu, 19 Oct 2023 at 09:09, Heinrich Schuchardt wrote: > > On 19.10.23 15:55, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt > > wrote: > >> > >> On 10/18/23 05:33, Simon Glass wrote: > >>> Hi Heinrich, > >>> > >>> On

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-19 Thread Heinrich Schuchardt
On 19.10.23 15:55, Simon Glass wrote: Hi Heinrich, On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt wrote: On 10/18/23 05:33, Simon Glass wrote: Hi Heinrich, On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is somet

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-19 Thread Mark Kettenis
> From: Simon Glass > Date: Thu, 19 Oct 2023 07:55:49 -0600 > > Hi Heinrich, > > On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt > wrote: > > > > On 10/18/23 05:33, Simon Glass wrote: > > > Hi Heinrich, > > > > > > On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt > > > wrote: > > >> > > >>

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-19 Thread Simon Glass
Hi Heinrich, On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt wrote: > > On 10/18/23 05:33, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt > > wrote: > >> > >> Forward and backward compatibility of Linux kernel device-trees is > >> sometimes missin

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-18 Thread Heinrich Schuchardt
On 10/18/23 05:33, Simon Glass wrote: Hi Heinrich, On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt wrote: Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load a kernel specific device-tree. This can either be done via a U-Boo

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-17 Thread Simon Glass
Hi Heinrich, On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt wrote: > > Forward and backward compatibility of Linux kernel device-trees is > sometimes missing. One solution approach is to load a kernel specific > device-tree. This can either be done via a U-Boot scripts (like the one > generate

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-17 Thread Ilias Apalodimas
On Tue, 17 Oct 2023 at 16:50, Heinrich Schuchardt wrote: > > Forward and backward compatibility of Linux kernel device-trees is > sometimes missing. One solution approach is to load a kernel specific > device-tree. This can either be done via a U-Boot scripts (like the one > generated by Debian pa

[PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-17 Thread Heinrich Schuchardt
Forward and backward compatibility of Linux kernel device-trees is sometimes missing. One solution approach is to load a kernel specific device-tree. This can either be done via a U-Boot scripts (like the one generated by Debian package flash-kernel or by a boot loader like GRUB. The boot loader ap