[U-Boot] [PATCH 19/26] configs: mx6sabresd: Add SPL FIT and DM support
Abel Vesa
abel.vesa at nxp.com
Fri Jan 18 15:26:42 UTC 2019
On 19-01-18 13:16:07, Fabio Estevam wrote:
> Hi Abel,
>
> On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa <abel.vesa at nxp.com> wrote:
>
> > +CONFIG_OF_CONTROL=y
> > +CONFIG_SPL_OF_CONTROL=y
> > +CONFIG_DEFAULT_DEVICE_TREE="imx6q-sabresd"
>
> Does this mean that only imx6q-sabresd variant is supported after this
> series is applied?
>
> We still need to support imx6dl/imx6qp sabresd in the same binary as
> we currently do today.
Hmmm, so all the dtbs get built, trouble is we need to specify which dtb gets
used by SPL. This is why the DEFAULT_DEVICE_TREE gets set.
A solution to do what you're asking is to have a dtb in SPL that works for
all socs (dl/qp/q) for each board (sabreauto/sabresd). I'm afraid it might
get too big to fit in sram. I'll give it a try tomorrow.
As for the u-boot proper, in order to have one u-boot.itb file that works
on all socs we need to support MULTI_FIT in u-boot proper and make u-boot
chose from the fit table the right dtb. I'll try to do that for the next
version of this patchset. I'll keep you up to date with the development.
More information about the U-Boot
mailing list