Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-17 Thread Jean-Jacques Hiblot
On 16/07/2017 16:22, Lokesh Vutla wrote: On 7/7/2017 8:30 PM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time whi

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-16 Thread Lokesh Vutla
On 7/7/2017 8:30 PM, Jean-Jacques Hiblot wrote: > > > On 07/07/2017 16:30, Tom Rini wrote: >> On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: >> >>> u-boot can be embedded within a FIT image with multiple DTBs. It then >>> selects at run-time which one is best suited for t

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-14 Thread Simon Glass
Hi Jean-Jacques, On 12 July 2017 at 15:32, Simon Glass wrote: > Hi, > > On 12 July 2017 at 06:58, Jean-Jacques Hiblot wrote: >> >> >> On 10/07/2017 18:34, Franklin S Cooper Jr wrote: >>> >>> >>> On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-12 Thread Simon Glass
Hi, On 12 July 2017 at 06:58, Jean-Jacques Hiblot wrote: > > > On 10/07/2017 18:34, Franklin S Cooper Jr wrote: >> >> >> On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: >>> >>> >>> On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrot

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-12 Thread Franklin S Cooper Jr
On 07/12/2017 10:20 AM, Jean-Jacques Hiblot wrote: > > > On 12/07/2017 14:58, Jean-Jacques Hiblot wrote: >> >> >> On 10/07/2017 18:34, Franklin S Cooper Jr wrote: >>> >>> On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote: > On Fri, Jul 07, 2017

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-12 Thread Jean-Jacques Hiblot
On 12/07/2017 14:58, Jean-Jacques Hiblot wrote: On 10/07/2017 18:34, Franklin S Cooper Jr wrote: On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-12 Thread Jean-Jacques Hiblot
On 10/07/2017 18:34, Franklin S Cooper Jr wrote: On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at ru

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-10 Thread Tom Rini
On Fri, Jul 07, 2017 at 05:00:50PM +0200, Jean-Jacques Hiblot wrote: > > > On 07/07/2017 16:30, Tom Rini wrote: > >On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: > > > >>u-boot can be embedded within a FIT image with multiple DTBs. It then > >>selects at run-time which one

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-10 Thread Franklin S Cooper Jr
On 07/07/2017 10:00 AM, Jean-Jacques Hiblot wrote: > > > On 07/07/2017 16:30, Tom Rini wrote: >> On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: >> >>> u-boot can be embedded within a FIT image with multiple DTBs. It then >>> selects at run-time which one is best suited fo

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
On 07/07/2017 16:30, Tom Rini wrote: On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Tom Rini
On Fri, Jul 07, 2017 at 01:44:39PM +0200, Jean-Jacques Hiblot wrote: > u-boot can be embedded within a FIT image with multiple DTBs. It then > selects at run-time which one is best suited for the platform. > Use the same principle here for the SPL: put the DTBs in a FIT image, > compress it (LZO,

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
Hi all, I forgot to mention in the title that it is a RFC only. I'd like to know if you think that this feature is desirable or not. and if the approach seems correct. If so I will send a proper patch later with the proper Kconfig description and proposed modifications. Jean-Jacques On 07

Re: [U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
+ Tom Rini On 07/07/2017 13:44, Jean-Jacques Hiblot wrote: u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no c

[U-Boot] [PATCH] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-07 Thread Jean-Jacques Hiblot
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL. Signed-off-by: