Hi Eric: Thanks for your reply. All i want is to have a sdcard image which contains u-boot, kernel and rootfs all in it. I have written SD loader to NOR flash already. So after bitbake, using the following two commands seems work for me, the u-boot is loaded by SD loader from NOR flash and kernel is loaded by u-boot.
dd if=fsl-image-gui-nitrogen6x.sdcard of=/dev/sdb dd if=u-boot.imx of=/dev/sdb bs=512 seek=2 Am i right? or am i misunderstaning something? On Thu, Feb 20, 2014 at 8:58 AM, Eric Nelson < [email protected]> wrote: > 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 >
_______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
