* [meta-fsl-arm-extra] Booting RIoTboard
@ 2015-04-22 21:37 Gary Thomas
2015-04-23 0:18 ` Nikolay Dimitrov
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2015-04-22 21:37 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
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 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.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-22 21:37 [meta-fsl-arm-extra] Booting RIoTboard Gary Thomas
@ 2015-04-23 0:18 ` Nikolay Dimitrov
2015-04-23 0:22 ` Nikolay Dimitrov
2015-05-01 12:06 ` Nikolay Dimitrov
0 siblings, 2 replies; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-04-23 0:18 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Hi Gary,
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
Technically speaking, recent versions of U-Boot for riotboard are quite
plug-and-play - as long as you have properly placed your extlinux
files, the bootloader will automatically find them on any attached
storage and boot as piece of cake (works also with rootfs on usb-disk).
If you have partitioned the sdcard with a modern version of fdisk, the
1st partition will be properly located at 1MiB offset, thus leaving
more than enough space for U-Boot.
Hope this helps. Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 0:18 ` Nikolay Dimitrov
@ 2015-04-23 0:22 ` Nikolay Dimitrov
2015-04-23 1:28 ` Otavio Salvador
2015-05-01 12:06 ` Nikolay Dimitrov
1 sibling, 1 reply; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-04-23 0:22 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Hi Gary,
On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote:
> Hi Gary,
>
> 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.
> Technically speaking, recent versions of U-Boot for riotboard are quite
> plug-and-play - as long as you have properly placed your extlinux
> files, the bootloader will automatically find them on any attached
> storage and boot as piece of cake (works also with rootfs on usb-disk).
>
> If you have partitioned the sdcard with a modern version of fdisk, the
> 1st partition will be properly located at 1MiB offset, thus leaving
> more than enough space for U-Boot.
>
> Hope this helps. Regards,
> Nikolay
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 0:22 ` Nikolay Dimitrov
@ 2015-04-23 1:28 ` Otavio Salvador
2015-04-23 12:19 ` Daiane Angolini
0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2015-04-23 1:28 UTC (permalink / raw)
To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org, Gary Thomas
Hello Nikolay and Gary,
On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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 Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 1:28 ` Otavio Salvador
@ 2015-04-23 12:19 ` Daiane Angolini
2015-04-23 12:21 ` Otavio Salvador
0 siblings, 1 reply; 15+ messages in thread
From: Daiane Angolini @ 2015-04-23 12:19 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Gary Thomas
On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
<otavio@ossystems.com.br> wrote:
> Hello Nikolay and Gary,
>
> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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.
Daiane
>
> --
> 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
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 12:19 ` Daiane Angolini
@ 2015-04-23 12:21 ` Otavio Salvador
2015-04-23 12:32 ` Nikolay Dimitrov
0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2015-04-23 12:21 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org, Gary Thomas
On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
> <otavio@ossystems.com.br> wrote:
>> Hello Nikolay and Gary,
>>
>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 12:21 ` Otavio Salvador
@ 2015-04-23 12:32 ` Nikolay Dimitrov
2015-04-23 12:44 ` Daiane Angolini
0 siblings, 1 reply; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-04-23 12:32 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org, Gary Thomas
Hi Otavio,
On 04/23/2015 03:21 PM, Otavio Salvador wrote:
> On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
>> <otavio@ossystems.com.br> wrote:
>>> Hello Nikolay and Gary,
>>>
>>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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?
I can volunteer.
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 12:32 ` Nikolay Dimitrov
@ 2015-04-23 12:44 ` Daiane Angolini
2015-04-23 12:50 ` Otavio Salvador
0 siblings, 1 reply; 15+ messages in thread
From: Daiane Angolini @ 2015-04-23 12:44 UTC (permalink / raw)
To: Nikolay Dimitrov
Cc: meta-freescale@yoctoproject.org, Gary Thomas, Otavio Salvador
On Thu, Apr 23, 2015 at 9:32 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> Hi Otavio,
>
>
> On 04/23/2015 03:21 PM, Otavio Salvador wrote:
>>
>> On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list@gmail.com>
>> wrote:
>>>
>>> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
>>> <otavio@ossystems.com.br> wrote:
>>>>
>>>> Hello Nikolay and Gary,
>>>>
>>>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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?
>
>
> I can volunteer.
Thanks a lot.
Please, send a patch replacing my name by yours ;)
Otavio, can this change be included in fido as well?
Daiane
>
> Regards,
> Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 12:44 ` Daiane Angolini
@ 2015-04-23 12:50 ` Otavio Salvador
2015-04-23 14:43 ` Nikolay Dimitrov
0 siblings, 1 reply; 15+ messages in thread
From: Otavio Salvador @ 2015-04-23 12:50 UTC (permalink / raw)
To: Daiane Angolini; +Cc: meta-freescale@yoctoproject.org, Gary Thomas
On Thu, Apr 23, 2015 at 9:44 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
> On Thu, Apr 23, 2015 at 9:32 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> Hi Otavio,
>>
>>
>> On 04/23/2015 03:21 PM, Otavio Salvador wrote:
>>>
>>> On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list@gmail.com>
>>> wrote:
>>>>
>>>> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
>>>> <otavio@ossystems.com.br> wrote:
>>>>>
>>>>> Hello Nikolay and Gary,
>>>>>
>>>>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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?
>>
>>
>> I can volunteer.
>
> Thanks a lot.
>
> Please, send a patch replacing my name by yours ;)
>
> Otavio, can this change be included in fido as well?
Sure.
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 12:50 ` Otavio Salvador
@ 2015-04-23 14:43 ` Nikolay Dimitrov
2015-04-23 14:58 ` Otavio Salvador
0 siblings, 1 reply; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-04-23 14:43 UTC (permalink / raw)
To: Otavio Salvador, Daiane Angolini; +Cc: meta-freescale@yoctoproject.org
Hi Daiane, Otavio,
On 04/23/2015 03:50 PM, Otavio Salvador wrote:
> On Thu, Apr 23, 2015 at 9:44 AM, Daiane Angolini <daiane.list@gmail.com> wrote:
>> On Thu, Apr 23, 2015 at 9:32 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>>> Hi Otavio,
>>>
>>>
>>> On 04/23/2015 03:21 PM, Otavio Salvador wrote:
>>>>
>>>> On Thu, Apr 23, 2015 at 9:19 AM, Daiane Angolini <daiane.list@gmail.com>
>>>> wrote:
>>>>>
>>>>> On Wed, Apr 22, 2015 at 10:28 PM, Otavio Salvador
>>>>> <otavio@ossystems.com.br> wrote:
>>>>>>
>>>>>> Hello Nikolay and Gary,
>>>>>>
>>>>>> On Wed, Apr 22, 2015 at 9:22 PM, Nikolay Dimitrov <picmaster@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?
>>>
>>>
>>> I can volunteer.
>>
>> Thanks a lot.
>>
>> Please, send a patch replacing my name by yours ;)
>>
>> Otavio, can this change be included in fido as well?
>
> Sure.
Btw, what about dizzy? Riotboard is also supported there.
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 14:43 ` Nikolay Dimitrov
@ 2015-04-23 14:58 ` Otavio Salvador
0 siblings, 0 replies; 15+ messages in thread
From: Otavio Salvador @ 2015-04-23 14:58 UTC (permalink / raw)
To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org
On Thu, Apr 23, 2015 at 11:43 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> Btw, what about dizzy? Riotboard is also supported there.
It should be backported as well. Good point.
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-04-23 0:18 ` Nikolay Dimitrov
2015-04-23 0:22 ` Nikolay Dimitrov
@ 2015-05-01 12:06 ` Nikolay Dimitrov
2015-05-01 12:31 ` Gary Thomas
1 sibling, 1 reply; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-05-01 12:06 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Hi Gary,
On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote:
> Hi Gary,
>
> 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
Just wanted to follow-up on this topic, probably due to curiosity. I
did some experiments and I can agree with you that the switch positions
definitely don't follow the docs (1 = On, 0 = Off, X = don't care):
J6 boot ok: 10100 XXX
J7 boot ok: 10100 010
10100 110
So I guess this somewhat explains the confusion.
I've looked at the schematic some months ago to map which boot signals
goes to which switch, so the only way to explain this unexpected (to
me) behavior is either a mistake on my side when tracing the signals or
something different about the imx6s bootrom. Or me reading the wrong RM
:).
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-05-01 12:06 ` Nikolay Dimitrov
@ 2015-05-01 12:31 ` Gary Thomas
2015-05-01 12:39 ` Nikolay Dimitrov
0 siblings, 1 reply; 15+ messages in thread
From: Gary Thomas @ 2015-05-01 12:31 UTC (permalink / raw)
To: Nikolay Dimitrov; +Cc: meta-freescale@yoctoproject.org
On 2015-05-01 06:06, Nikolay Dimitrov wrote:
> Hi Gary,
>
> On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote:
>> Hi Gary,
>>
>> 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
>
> Just wanted to follow-up on this topic, probably due to curiosity. I
> did some experiments and I can agree with you that the switch positions
> definitely don't follow the docs (1 = On, 0 = Off, X = don't care):
>
> J6 boot ok: 10100 XXX
>
> J7 boot ok: 10100 010
> 10100 110
I think more correctly this would be:
J6 boot: 10100 X0X
J7 boot: 10100 X1X
>
> So I guess this somewhat explains the confusion.
>
> I've looked at the schematic some months ago to map which boot signals
> goes to which switch, so the only way to explain this unexpected (to
> me) behavior is either a mistake on my side when tracing the signals or
> something different about the imx6s bootrom. Or me reading the wrong RM
> :).
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-05-01 12:31 ` Gary Thomas
@ 2015-05-01 12:39 ` Nikolay Dimitrov
2015-05-01 13:04 ` Nikolay Dimitrov
0 siblings, 1 reply; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-05-01 12:39 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Hi Gary,
On 05/01/2015 03:31 PM, Gary Thomas wrote:
> On 2015-05-01 06:06, Nikolay Dimitrov wrote:
>> Hi Gary,
>>
>> On 04/23/2015 03:18 AM, Nikolay Dimitrov wrote:
>>> Hi Gary,
>>>
>>> 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
>>
>> Just wanted to follow-up on this topic, probably due to curiosity. I
>> did some experiments and I can agree with you that the switch positions
>> definitely don't follow the docs (1 = On, 0 = Off, X = don't care):
>>
>> J6 boot ok: 10100 XXX
>>
>> J7 boot ok: 10100 010
>> 10100 110
>
> I think more correctly this would be:
> J6 boot: 10100 X0X
> J7 boot: 10100 X1X
Well, it's not a matter of correctness, but facts. My riotboard can
boot from J6 regardless of the 3 rightmost switches. Also, SW8 needs to
be Off in order to boot from J7.
You can try it on your board.
>> So I guess this somewhat explains the confusion.
>>
>> I've looked at the schematic some months ago to map which boot signals
>> goes to which switch, so the only way to explain this unexpected (to
>> me) behavior is either a mistake on my side when tracing the signals or
>> something different about the imx6s bootrom. Or me reading the wrong RM
>> :).
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [meta-fsl-arm-extra] Booting RIoTboard
2015-05-01 12:39 ` Nikolay Dimitrov
@ 2015-05-01 13:04 ` Nikolay Dimitrov
0 siblings, 0 replies; 15+ messages in thread
From: Nikolay Dimitrov @ 2015-05-01 13:04 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
On 05/01/2015 03:39 PM, Nikolay Dimitrov wrote:
>>> Just wanted to follow-up on this topic, probably due to curiosity. I
>>> did some experiments and I can agree with you that the switch positions
>>> definitely don't follow the docs (1 = On, 0 = Off, X = don't care):
>>>
>>> J6 boot ok: 10100 XXX
>>>
>>> J7 boot ok: 10100 010
>>> 10100 110
Found why the board behaves this way when booting from J6.
Boot switches 10100 XXX works only for POR resets. For WDOG reset the
working switch positions are 10100 X01, otherwise reboot command will
not reboot the board.
Regards,
Nikolay
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2015-05-01 13:04 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-22 21:37 [meta-fsl-arm-extra] Booting RIoTboard Gary Thomas
2015-04-23 0:18 ` Nikolay Dimitrov
2015-04-23 0:22 ` Nikolay Dimitrov
2015-04-23 1:28 ` Otavio Salvador
2015-04-23 12:19 ` Daiane Angolini
2015-04-23 12:21 ` Otavio Salvador
2015-04-23 12:32 ` Nikolay Dimitrov
2015-04-23 12:44 ` Daiane Angolini
2015-04-23 12:50 ` Otavio Salvador
2015-04-23 14:43 ` Nikolay Dimitrov
2015-04-23 14:58 ` Otavio Salvador
2015-05-01 12:06 ` Nikolay Dimitrov
2015-05-01 12:31 ` Gary Thomas
2015-05-01 12:39 ` Nikolay Dimitrov
2015-05-01 13:04 ` Nikolay Dimitrov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.