diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-09-12 10:41:26 -0700 |
---|---|---|
committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2019-12-09 11:03:48 -0800 |
commit | 096c39a24411ea03c3de5e38e2528931005d5d09 (patch) | |
tree | bc190aa445ab4409c8124e17272b8f0aaabc7cb8 | |
parent | 2b15019c870c33cd8999850f1e7a6ba795d88ebb (diff) | |
download | meta-xilinx-096c39a24411ea03c3de5e38e2528931005d5d09.tar.gz |
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 <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/classes/image-types-xilinx-qemu.bbclass | 6 |
1 files 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 @@ | |||
1 | # Define the 'qemu-sd' conversion type | 1 | # Define the 'qemu-sd' conversion type |
2 | # | 2 | # |
3 | # This conversion type pads any image to the 256K boundary to ensure that the | 3 | # This conversion type pads any image to the 512K boundary to ensure that the |
4 | # image file can be used directly with QEMU's SD emulation which requires the | 4 | # image file can be used directly with QEMU's SD emulation which requires the |
5 | # block device to match that of valid SD card sizes (which are multiples of | 5 | # block device to match that of valid SD card sizes (which are multiples of |
6 | # 256K). | 6 | # 512K). |
7 | 7 | ||
8 | CONVERSIONTYPES_append = " qemu-sd" | 8 | CONVERSIONTYPES_append = " qemu-sd" |
9 | 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" | 9 | 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" |
10 | CONVERSION_DEPENDS_qemu-sd = "coreutils-native" | 10 | CONVERSION_DEPENDS_qemu-sd = "coreutils-native" |