Build fsl-image-gui on SD card for Sabrelite

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Build fsl-image-gui on SD card for Sabrelite

1,047 Views
philippeballeyd
Contributor IV

Hi everyone

I'm trying to build the fsl-image-gui from the dylan branch on the SabreLite.

Building the image didn't seem to be a problem (followed this link: http://www.ossystems.com.br/blog/2013/04/15/yocto-with-boundary-devices-nitrogen6x-5-steps-only.html )

i copied the image to the sd card with the following command:

$ sudo dd if=fsl-image-gui-nitrogen6x.sdcard of=/dev/mmcblk0 bs=1M && sync

I'm having trouble to make the SabreLite boot on the SD3 slot.

I tried by following the first part of this tutorial: https://wiki.linaro.org/Boards/MX6QSabreLite

But now i can't see any u-boot prompt when i start the board.

Do i have to change the boot pins? Did i have to add u-boot to my sd card?

Any pointers would be of great help.

Thank you.

Labels (3)
0 Kudos
3 Replies

623 Views
igorpadykov
NXP Employee
NXP Employee

Hi Philippe

seems this image already contains Uboot,

however for specifics of this board I would suggest to post

on boundary devices forum

http://boundarydevices.com/community/

Best regards

igor

0 Kudos

623 Views
EricNelson
Senior Contributor II

Hi Phillipe,

The dylan branch is quite old (current is "dizzy"), and you're probably running into a bug in the boot script.

If you can use 'strings' to look at the file 6x_bootscript in the boot partition, you'll likely see something like

this:

if test "sata" = "${dtype}" ; then

  setenv bootargs "$bootargs root=/dev/sda2" ;

else

  setenv "bootargs $bootargs root=/dev/mmcblk0p2" ;

fi

Note the misplaced quote on line 4 above (should be after bootargs and before $bootargs).

If that's the case, replacing that boot script with the attached version will fix the issue.

This is from the "production" branch of our U-Boot tree:

     u-boot-imx6/6x_bootscript-yocto.txt at production · boundarydevices/u-boot-imx6 · GitHub

You can use our on-line boot script compiler to quickly customize things if needed:

     http://git.boundarydevices.com/bootscript.php

623 Views
philippeballeyd
Contributor IV

I'll switch to the dizzy branch. No point using an old one.

I think i will have to unbrick the board, since i don't really know where i failed :/

I'll keep you updated.

Thank you

0 Kudos