[meta-freescale] [3rdparty][PATCH v2 04/16] u-boot-toradex: update to 2016.11

Max Krummenacher max.oss.09 at gmail.com
Sat Sep 16 06:02:42 PDT 2017


Hoi Stefan

Am Freitag, den 15.09.2017, 14:29 -0700 schrieb Stefan Agner:
> 
> On 14.09.2017 12:30, Max Krummenacher wrote:
> > 
> > For the i.MX6 based modules move to boot with SPL to setup the DDR RAM.
> > 
> > Add specific Toradex machine names to allow for 'use-mainline-bsp'
> > builds. (In which case the e.g. mx6 override is dropped)
> 
> I don't quite get that. Isn't use-mainline-bsp a separate machine override? What does it have to
> do with apalis-imx6* machine names?
> 
> I assume that a mainline build would use mainline U-Boot instead of the downstream U-Boot?
> 

We are not talking about a 'mainline build' here. We are talking about 'use-mainline-bsp' being in
the machine overrides.

The way I understand 'use-mainline-bsp' is, that if one adds it to machine overrides, e.g. in
local.conf, then a mainlineish kernel is built AND the use of binary only user space drivers,
(e.g. for the GPU) is dropped and replaced with what is available in open source including changing
whatever configuration files are involved.

Thus 'use-mainline-bsp' which coordinates the needed changes throughout the BSP.

On the other hand, replacing the vendor U-Boot with a mainline U-Boot is as simple as
overriding PREFERRED_PROVIDER_virtual/bootloader with whatever recipe which provides a mainlineish
U-Boot.

Of course one could force this switch with 'use-mainline-bsp'. However currently there is no machine
recipe in meta-freescale and meta-freescale-3rdparty which does that. And as a good citizen I did
not deviate from this custom for the Toradex machines.

Max



More information about the meta-freescale mailing list