[meta-freescale] SabreLite can not boot from SD card

Eric Nelson eric.nelson at boundarydevices.com
Wed Feb 19 16:58:24 PST 2014


Hi Baodong,

On 02/19/2014 05:36 PM, Baodong Chen wrote:
> Hi guys:
> I am using dora branch and MACHINE = "nitrogen6x" for my my SabreLite
> board, the build is ok. after that, i follow this link:
> https://wiki.linaro.org/Boards/MX6QSabreLite
> to write the SD loader to NOR flash.
>
> and i "dd if=fsl-image-gui-nitrogen6x.sdcard of=/dev/sdb" to write the
> image to sdcard and insert the sdcard to SD Slot(not micro SD slot), but
> can not boot.
> nothing output from debug serial.
>
> if i "dd if=u-boot.imx of=/dev/sdb bs=512 seek=2" and i can see the
> u-boot message from debug serial, but the kernel can not loaded.
>
> does fsl-image-gui-nitrogen6x.sdcard contains u-boot.imx in it?
>

Since SABRE Lite and Nitrogen6x boot to SPI-NOR, you don't need
to do anything weird here.

You can just dd the fsl-image-gui-nitrogen6x.sdcard image to
the entire SD card.

It should absolutely come up with a partition table, although
the size of partition 2 may be a bit small (it's very conservative).

You can double-check using fdisk immediately after running the dd
command if you use "partprobe" to force a re-read of the
partition table:

	~/$ sudo dd if=fsl-image-gui-nitrogen6x.sdcard ...
	~/$ sync && sudo partprobe
	~/$ sudo fdisk /dev/sdx

The u-boot.imx file is installed as a part of the build
process, but it's placed into a FAT filesystem in partition 1,
along with an upgrade script named 6x_upgrade that you can
use to copy it to SPI-NOR if you feel the need.

In general, we suggest that customers only upgrade U-Boot
when there's some new feature (like upcoming USB OTG support).

Regards,


Eric


More information about the meta-freescale mailing list