From: Eric Nelson <eric.nelson@boundarydevices.com>
To: Baodong Chen <chenbdchenbd@gmail.com>,
"meta-freescale@yoctoproject.org"
<meta-freescale@yoctoproject.org>
Subject: Re: SabreLite can not boot from SD card
Date: Wed, 19 Feb 2014 17:58:24 -0700 [thread overview]
Message-ID: <53055330.9010807@boundarydevices.com> (raw)
In-Reply-To: <CAEAuANM=zE5HKy+W2gAf2E1H=Fz2KJn-bV8-5MBJq-z714ysxA@mail.gmail.com>
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
next prev parent reply other threads:[~2014-02-20 0:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-20 0:36 SabreLite can not boot from SD card Baodong Chen
2014-02-20 0:44 ` Baodong Chen
2014-02-20 1:13 ` Baodong Chen
2014-02-20 1:30 ` Errors booting SABRE Lite (was SabreLite can not boot from SD card) Eric Nelson
2014-02-20 5:30 ` Baodong Chen
2014-02-20 14:35 ` Eric Nelson
2014-02-20 0:58 ` Eric Nelson [this message]
2014-02-20 4:41 ` SabreLite can not boot from SD card Baodong Chen
2014-02-20 14:22 ` Eric Nelson
2014-02-21 1:50 ` Baodong Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53055330.9010807@boundarydevices.com \
--to=eric.nelson@boundarydevices.com \
--cc=chenbdchenbd@gmail.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.