summaryrefslogtreecommitdiffstats
path: root/classes/sdcard_image-rpi.bbclass
Commit message (Collapse)AuthorAgeFilesLines
...
* sdcard_image-rpi: Use xzcat if SDIMG_ROOTFS_TYPE is a .xz fileAndrei Gherzan2012-08-281-2/+8
| | | | | | | | | When burning the rootfs partition we use dd if rootfs file is not compressed and xzcat piped with dd if rootfs file is a .xz file. [GITHUB #39] Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi: Use ${KERNEL_IMAGETYPE}-${MACHINE} as kernel source from ↵Andrei Gherzan2012-07-101-1/+1
| | | | | | | | | | deploy dir ${KERNEL_IMAGETYPE} symlink was introduced after denzil so we use ${KERNEL_IMAGETYPE}-${MACHINE} to be able to satisfy the existence in denzil and master as well. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi: Copy the kernel specified with KERNEL_FSTYPEAndrei Gherzan2012-07-061-1/+1
| | | | Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi.bbclass: Change to be usable with any imageAndrei Gherzan2012-07-021-2/+0
| | | | | | | | | | | Instead of being inherited by a specific image recipe, this class can now be inherited globally in the machine configuration, allowing it to be used with any image. This means we can remove "inherit image", and we can also remove the IMAGE_FSTYPES modification since the machine config does this already. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi.bbclass: Rewrite sdimage creation class - implemented with ↵Andrei Gherzan2012-07-021-113/+81
| | | | | | | | | | | | | | | | | parted This implementation doesn't use loop mounts, it uses mcopy to copy files to partitions. The partition creation is done with parted. Because of using these tools the IMAGE_DEPENDS was modified accordingly. Added a way of selecting the desired GPU firmware. Because we don't create the rootfs image but we rely on an already created rootfs image, the stamp is available only in the boot partition. By default the class needs an ext3 rootfs image. This is because we don't have yet a way of generating cmdline.txt in order to pass the partition type to the kernel. By default ext3 is mounted so we use this fs type until this will be selectable while generating a cmdline file. Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
* sdcard_image-rpi: Add 1st cut at a class to build an SD card image for the RPi.David-John Willis2012-04-231-0/+131