[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
Mon Mar 27 02:18:34 PDT 2017


Hi Otavio,

On Sun, Mar 26, 2017 at 8:54 PM, Otavio Salvador
<otavio.salvador at ossystems.com.br> wrote:
> <snip>
>> 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 ;)
>
> Use UUID for booting. It can be done on U-Boot as it can pass the UUID
> for the root= argument. See:

Great idea! I'm going to do that, I need to add the CMD_PART to our
config and update the 6x_bootscript accordingly.

I'll let you know once it's done (hopefully I'll have time this week).

Regards,
Gary


More information about the meta-freescale mailing list