From cf62711b7cb045ea118c86b42e2d099ea8999047 Mon Sep 17 00:00:00 2001 From: Andrei Gherzan Date: Wed, 14 Nov 2012 23:48:13 +0200 Subject: sdcard_image-rpi: Remove RPI_GPU_FIRMWARE and add/remove files to boot partition Signed-off-by: Andrei Gherzan --- classes/sdcard_image-rpi.bbclass | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'classes') diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass index 00d9cc4..421f561 100644 --- a/classes/sdcard_image-rpi.bbclass +++ b/classes/sdcard_image-rpi.bbclass @@ -39,8 +39,6 @@ IMAGE_ROOTFS_ALIGNMENT = "4096" SDIMG_ROOTFS_TYPE ?= "ext3" SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" -RPI_GPU_FIRMWARE ?= "arm192" - IMAGE_DEPENDS_rpi-sdimg = " \ parted-native \ mtools-native \ @@ -79,20 +77,11 @@ IMAGE_CMD_rpi-sdimg () { # Create a vfat image with boot files BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDIMG} unit b print | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 512 /2 }') mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS - case "${RPI_GPU_FIRMWARE}" in - "arm128" | "arm192" | "arm224" | "arm240") - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/${RPI_GPU_FIRMWARE}_start.elf ::start.elf - ;; - *) - bberror "RPI_GPU_FIRMWARE is undefined or value not recognised. Possible values: arm128, arm192, arm224 or arm240." - exit 1 - ;; - esac - + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/start.elf :: + mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/fixup.dat :: mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt :: mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/cmdline.txt :: mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/bootcode.bin :: - mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/loader.bin :: mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::kernel.img if [ -n ${FATPAYLOAD} ] ; then -- cgit v1.2.3-54-g00ecf