[U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

Tom Rini trini at konsulko.com
Wed May 3 11:50:03 UTC 2017


On Wed, May 03, 2017 at 12:23:49PM +0530, Jagan Teki wrote:
> On Wed, Apr 26, 2017 at 12:57 AM, Fabio Estevam <festevam at gmail.com> wrote:
> > Hi Jagan,
> >
> > On Tue, Apr 25, 2017 at 3:35 PM, Jagan Teki <jagannadh.teki at gmail.com> wrote:
> >>
> >>> This isn't a limitation, all the defconfigs on various boards follows
> >>> the same but except by giving dtb explicitly doing make, like
> >>> make DEVICE_TREE=imx6l-sabresd
> >>
> >> Any help?
> >
> > Take imx6 cubox or imx6 wandboard as reference. We can run the same
> > single SPL + u-boot.img on mx6solo/dual/dual-lite/quad versions.
> >
> > With the dts approach this is no longer possible, correct? In this
> > case I do not see a benefit in converting mx6sabresd to dts.
> 
> Adding dts make use of DM or new u-boot features much possible, and
> even other boards on u-boot use the same way, except making use of
> make DEVICE_TREE=<dts_name>

So you need to look at the am335x_evm as an example here.  We switch to
a FIT image of U-Boot so that we provide N dtb files and select the
correct one to pass to U-Boot from SPL.  Within SPL we use platform data
instead of the DTB so that we can still fit within size constrains but
achieve the same thing.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170503/7913bb11/attachment.sig>


More information about the U-Boot mailing list