Skip to content

Build and Flash the SD card Image

otavio edited this page Jan 11, 2013 · 3 revisions

Build pre-selected Images Note: make sure you are in the ~/fsl-community-bsp/build folder in order to build the image

Available images:

core-image-minimal
core-image-sato
fsl-image-test
fsl-image-gui

Choose the desired image (avaliable image under meta-fsl-demos/recipes-fsl/image). For example:

bitbake core-image-minimal
or
bitbake fsl-image-gui

Deploy the images After the build, images will be storage on

cd tmp/deploy/images

There are five image files for each build:

u-boot: u-boot-imx53qsb.imx
Kernel image: uImage-imx53qsb.bin
Root file system: imagename-imx53qsb.ext3 and imagename-imx53qsb.tar.bz2
SD Card image (include everything) imagename-imx53qsb.sdcard

Flash SDCard Image

sudo dd if=imagename-imx53qsb.sdcard of=/dev/sdb

will create the whole microSD card for the i.mx53qsb

Or use .gz file directly:

gunzip -c imagename-imx53qsb.sdcard.gz | sudo dd of=/dev/sdb bs=4M

Flash rootfs only

sudo mount /dev/sdb3 /mnt/card sudo tar xf imagename-imx53qsb.tar.bz2 -C /mnt/card

After that, the card will be updated.