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-13 13:27:17 -0800 |
commit | 16ca177f7a2b44b3256b4ee2f3fc77e5f1df8548 (patch) | |
tree | 94600baf8d8010a8e868c97a75a7bec12e9853cc | |
parent | a1b4450140d04073a99bf263c50b66de2563512f (diff) | |
download | meta-xilinx-16ca177f7a2b44b3256b4ee2f3fc77e5f1df8548.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" |