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

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Sep 21 13:40:50 PDT 2017


On Sat, Sep 16, 2017 at 10:02 AM, Max Krummenacher <max.oss.09 at gmail.com> wrote:
> 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.

You can add the use-mainline-bsp as override filter for the u-boot and
linux recipes so if customer ends making a custom machine which
include yours as base, he/she can still use the u-boot-toradex with
use-mainline-bsp in machine overrides.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list