From 16ca177f7a2b44b3256b4ee2f3fc77e5f1df8548 Mon Sep 17 00:00:00 2001 From: Manjukumar Matha Date: Thu, 12 Sep 2019 10:41:26 -0700 Subject: image-types-xilinx-qemu.bbclass: Add sector size as 512K Add sector size as 512K for larger SD, this is according to specifications Signed-off-by: Manjukumar Matha --- meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass b/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass index 59dfabfc..45417ea7 100644 --- a/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass +++ b/meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass @@ -1,10 +1,10 @@ # Define the 'qemu-sd' conversion type # -# This conversion type pads any image to the 256K boundary to ensure that the +# This conversion type pads any image to the 512K boundary to ensure that the # image file can be used directly with QEMU's SD emulation which requires the # block device to match that of valid SD card sizes (which are multiples of -# 256K). +# 512K). CONVERSIONTYPES_append = " qemu-sd" -CONVERSION_CMD_qemu-sd = "cp ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd; truncate -s %256K ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd" +CONVERSION_CMD_qemu-sd = "cp ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd; truncate -s %512K ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.qemu-sd" CONVERSION_DEPENDS_qemu-sd = "coreutils-native" -- cgit v1.2.3-54-g00ecf