<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 20, 2014 at 10:22 PM, Eric Nelson <span dir="ltr"><<a href="mailto:eric.nelson@boundarydevices.com" target="_blank">eric.nelson@boundarydevices.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Baodong,<div class=""><br>
<br>
On 02/19/2014 09:41 PM, Baodong Chen wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi Eric:<br>
Thanks for your reply.<br>
</blockquote>
<br></div>
Please don't top-post!<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
All i want is to have a sdcard image which contains u-boot, kernel and<br>
rootfs all in it.<br>
</blockquote>
<br></div>
And you get that with the stock image produced by Dora.</blockquote><div>Yes, the u-boot.imx located in build/tmp/deploy/images/nitrogen6x </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I have written SD loader to NOR flash already.<br>
</blockquote>
><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So after bitbake, using the following two commands seems work for me,<br>
the u-boot is loaded by SD loader from NOR flash and kernel is loaded by<br>
u-boot.<br>
dd if=fsl-image-gui-nitrogen6x.<u></u>sdcard of=/dev/sdb<br>
dd if=u-boot.imx of=/dev/sdb bs=512 seek=2<br>
<br>
Am i right? or am i misunderstaning something?<br>
<br>
</blockquote>
<br></div>
Okay, here's where I drop out.<br>
<br>
The SABRE Lite and all Boundary Devices boards boot to SPI-NOR.<br>
<br>
If you're re-programming them with the SPI-to-SD-Loader, you're<br>
explicitly stating that you know what you're doing.<br>
<br>
If you're over-riding that, you're probably either testing or<br>
preparing for a custom design, and you **will** need to understand<br>
how the image creation step in Yocto works.<br></blockquote><div>I will hack <a href="https://github.com/Freescale/meta-fsl-arm/blob/dora/classes/image_types_fsl.bbclass">https://github.com/Freescale/meta-fsl-arm/blob/dora/classes/image_types_fsl.bbclass</a> <br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
All of the Freescale boards are already configured to do this,<br>
so I'd recommend that you look at how that's done.<br>
<br>
Perhaps others on this list can offer guidance.<br>
<br>
If you get lost in the details, you can also just write a<br>
post-installation script to create your SD card using the<br>
parts provided in tmp/deploy/images/ instead of simply<br>
using dd.<br></blockquote><div>The u-boot.imx located in build/tmp/deploy/images/nitrogen6x,  but the fsl-image-gui-nitrogen6x.sdcard file<br></div><div>do not contain the u-boot.imx in it, as you said, uboot.imx default should in SPI NOR flash. so this is ok<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Regards,<br>
<br>
<br>
Eric<br>
</blockquote></div><br></div></div>