On Wed, May 03, 2017 at 12:23:49PM +0530, Jagan Teki wrote: > On Wed, Apr 26, 2017 at 12:57 AM, Fabio Estevam <feste...@gmail.com> wrote: > > Hi Jagan, > > > > On Tue, Apr 25, 2017 at 3:35 PM, Jagan Teki <jagannadh.t...@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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot