]> code.ossystems Code Review - meta-freescale.git/commit
bbsdcard-image: add new class
authorEric Bénard <eric@eukrea.com>
Thu, 8 Mar 2012 16:22:50 +0000 (17:22 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 8 Mar 2012 16:34:38 +0000 (16:34 +0000)
commitbe6410645866b4367bd814da85fa984553358dda
tree5aea17fd69b7fecb8dd157842e0a50d0f2c18c1e
parent0b29bf9844e5444026d97d7345fc996ad0578eb2
bbsdcard-image: add new class

this class allows the generation of a ready to use SDCard image
using barebox bootloader.

example on how to use it (with angstrom distro) :
1- add these 3 lines to your local.conf :
ROOTFS = "${DEPLOY_DIR_IMAGE}/console-image-imx53qsb.ext3"
INHERIT += "bbsdcard_image"
BBSDIMG_SIZE = "512"

2- build the image
bitbake console-image

3- copy it to the sdcard (update device for you sdcard, take care to not erase your hard drive ;-)
sudo dd if=build/tmp-angstrom_2010_x-eglibc/deploy/images/imx53qsb/console-image-imx53qsb.bbsdimg of=/dev/mmcblk0

Signed-off-by: Eric Bénard <eric@eukrea.com>
meta-fsl-arm/classes/bbsdcard_image.bbclass [new file with mode: 0644]