summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
...
* image_types_fsl.bbclass: use a sparse file for sdcard generationOtavio Salvador2012-04-301-1/+2
| | | | | | | | This speeds up the generation of the sdcard and reduces the amount of space used for it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Reported-by: "John Passaniti" <jpassaniti@ashly.com>
* image_types_fsl.bbclass: generates mxs' u-boot bootstream binariesOtavio Salvador2012-04-301-1/+19
| | | | | | | | | The mxs SoC family requires use of a bootstream in bootloader but at this moment only SDCard format is supported. The image for use is 'u-boot.mxsboot-sdcard' and this is also the file extension of the generated file beside of regular u-boot binary. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: add support to skip u-boot paddingOtavio Salvador2012-04-291-1/+2
| | | | | | | u-boot-imx has padding by default and machines using it need to skip it when generating the sdcard. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl.bbclass: fix sdcard image name and symlinkOtavio Salvador2012-03-231-4/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Major refactor in SDCard generationOtavio Salvador2012-03-222-55/+76
| | | | | | | | | | | | | | | | | | | | 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-212-42/+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>
* bbsdcard-image: add new classEric Bénard2012-03-081-0/+37
| | | | | | | | | | | | | | | | | | | 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>
* 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>