[Buildroot] [PATCH] board: add support for liteBoard

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 13 18:16:41 UTC 2016


Hello,

On Tue, 13 Sep 2016 19:08:43 +0200, Marcin Niestroj wrote:

> > This generally looks very good. I've seen on the LAKML that you have
> > submitted upstream the support of this platform to the Linux kernel, I
> > assume you've done the same for the U-Boot part. We generally don't
> > like carrying the entire support for a new board in Buildroot in the
> > form of patches, but if those patches are clean and on their way
> > upstream (which is the case here, then it's fine).  
> 
> I've not posted U-Boot patch yet, but will do so in near future. For now
> I wait for response on mainling list about separate liteSOM and
> liteBoard support in U-Boot. Anyway, there should be not much
> difference between this patch and the one I will post to mainline
> U-Boot.

OK, good.

> > It's not exactly identical to your genimage file as it's using a single
> > U-Boot image called u-boot.imx instead of the split SPL / u-boot.img
> > that you're using. But since your platform is i.MX6 based, I suppose
> > the u-boot.imx should also work (Cc'ing Fabio on this).  
> 
> I've added SPL on purpose. We will have boards with 256 and 512 MB RAM.
> So right now we check in SPL how much RAM we have and configure memory
> subsystem accordingly. I believe we cannot configure it in full U-Boot.
> 
> In single U-Boot image there are hardcoded values that are copied to
> processor's registers (DDR configuration is among them) from the "IMX"
> U-Boot image just before running it.
> 
> Also, in mainline U-Boot there is support for imx6ul EVK with separate
> SPL by default.

OK, makes sense. Then I'll apply your patch as-is.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list