[meta-freescale] [meta-fsl-arm-extra] Booting RIoTboard

Otavio Salvador otavio at ossystems.com.br
Thu Apr 23 05:21:16 PDT 2015


On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list at gmail.com> wrote:
> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> Hello Nikolay and Gary,
>>
>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster at mail.bg> wrote:
>>> On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote:
>>>> On 04/23/2015 12:37 AM, Gary Thomas wrote:
>>>>>
>>>>> I've just built an image for the i.MX6DL/RIoTboard using the latest
>>>>> master (fido).  I had to add this line to local.conf:
>>>>> MACHINE_EXTRA_RRECOMMENDS_remove_imx6dl-riotboard =
>>>>> "fsl-alsa-plugins" as the fsl-alsa-plugins won't currently build with
>>>>> Linux-4.0
>>>>>
>>>>> Now I'm trying to boot the image.  I've copied it to my SD card and
>>>>> set the switches appropriately (I found two web pages about this and
>>>>> they have conflicting information!  The answer seems to be
>>>>> SW1-SW8=On/Off/On/Off/Off/On/Off/On)
>>>>
>>>>
>>>> I have 2 riotboards both booting from sdcards, here are their
>>>> configurations:
>>>> - slot J6 (USDHC2), SW1-8 = On/Off/On/Off/Off/On/On/Off
>>>> - slot J7 (USDHC3), SW1-8 = On/Off/On/Off/Off/On/Off/On
>>>>
>>>>> I get the U-Boot prompt from the image I built (it has today's date),
>>>>> but the SD card doesn't boot from there.  The default boot commands
>>>>> seem to be looking for boot scripts, etc, but there are none on the
>>>>> SD card, only a zImage and DTB file.
>>>>>
>>>>> Is there some documentation, perhaps in meta-fsl-arm-extra, that
>>>>> helps (and I've missed)??
>>>>>
>>>>> Any help on how to boot this board would be appreciated.
>>>>
>>>>
>>>> Fido uses U-Boot v2015.04. Assuming that you haven't modifed the
>>>> upstream version, v2015.04 uses extlinux boot mechanism, which requires
>>>> the following files to be available on your boot partition:
>>>>
>>>> /boot/extlinux/extlinux.conf
>>>> /boot/imx6dl-riotboard.dtb
>>>> /boot/uImage
>>>>
>>>> Extlinux.conf should have the following content:
>>>>
>>>> default yocto
>>>> label yocto
>>>> kernel /boot/uImage
>>>> devicetree /boot/imx6dl-riotboard.dtb
>>>> append console=ttymxc1,115200 root=/dev/mmcblk0p1 rw
>>>
>>>
>>> Of course, change root= to suit your configuration.
>>
>> I have reverted the conversion of the board for now. This should make
>> it work out of box until we add support for the generic script.
>>
>> I will be sending those patches in some minutes and include them in
>> master-next for testing.
>
> Otavio, unfortunately I don't have access to this board anymore, so
> I'm not going to be able to test it
>
> I would appreciate if someone else could become the RioT board mantainer.

Thanks for letting us know. Gary, Nikolay? Anyone?

-- 
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