[meta-freescale] [3rdparty PATCH 0/4] Allow easier use of mainline-based BSP on i.MX products (Nitrogen6x support)

Gary Bisson gary.bisson at boundarydevices.com
Sat Mar 25 11:03:59 PDT 2017


Hi Otavio,

First of all, thank you for this series and the great job you've done to
add mainline support, this is highly appreciated!

On Fri, Mar 24, 2017 at 05:12:12PM -0300, Otavio Salvador wrote:
> 
> This patchset makes use of the infrastructure added to meta-freescale
> to enable easier use of mainline-based BSP. To enable it, include:
> 
> MACHINEOVERRIDES .= ":use-mainline-bsp"
> 
> To the local.conf and everything is done automatically.
> 
> The bootscript still needs some love to work out of box but this will
> be left for Boundary Devices ;-)

I've fixed one of the two issues already [1] so bootdir doesn't need to
be set any more.

The only thing that still needs to be figured out is the root= parameter
which right now requires the following variable to be set when booting a
Nitrogen6X with WiFi module from first SD slot:
=> setenv root /dev/mmcblk1p2

The reason is that mainline kernel doesn't allow to change the numbering
order of SDHC devices based on aliases. Sascha offered a patch which
never got accepted (but is in the NXP tree) [2].

So on a device where a WiFi module is present, the first sdcard device
will be named mmcblk1. But on a SabreLite (no WiFi), it will be mmcblk0
as the bootscript thinks it is.

I haven't found a good approach yet to fix it, ideas are welcomed ;)

Regards,
Gary

[1] https://github.com/boundarydevices/u-boot-imx6/commit/bc55c1e2
[2] https://patchwork.kernel.org/patch/4223911/


More information about the meta-freescale mailing list