summaryrefslogtreecommitdiffstats
path: root/classes/sdcard_image.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Major refactor in SDCard generationOtavio Salvador2012-03-221-55/+0
| | | | | | | | | | | | | | | | | | | | The generation of SDCard has been completely refactored to work out of box; now to use it you have to set, e.g: SDCARD_ROOTFS = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" SDCARD_SIZE = "128" IMAGE_TYPES += "ext3 sdcard" Now the sdcard has following layout: 0 - 1M - reserved to bootloader and other data 1M - BOOT_SPACE - kernel BOOT_SPACE - SDCARD_SIZE - rootfs All current supported machines on BSP will work out of box and generate a 2GB SDCard with an ext3 rootfs on it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* sdcard_image.bbclass: add support to choose the bootloader to useOtavio Salvador2012-03-211-5/+22
| | | | | | | | | The IMAGE_BOOTLOADER variable allows to specific the bootloader to be used. Currently it supports 'u-boot' and 'barebox' as option. Images using the bbsdcard_image.bbclass need to change the image definition to adapt to this. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* sdcard_image.bbclass: allow for easy creating of SD card imageOtavio Salvador2011-12-201-0/+38
This creates an image suitable for writting onto a SD card and use on i.MX53 boards allowing for easy image testing. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>