aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladan Jovanovic <vladan.jovanovic@gmail.com>2013-03-18 09:44:34 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2013-03-26 09:36:09 -0300
commit2ea1d2c944c63a078a1921cf8b8abfbc04d5adaa (patch)
treec7221b7e80cade1849e8fa97127848c2deaeae9d
parenta891aa7087485a17e15624e2448e133829ebce69 (diff)
downloadmeta-fsl-arm-1.4_M5.tar.gz
meta-fsl-arm-1.4_M5.tar.bz2
meta-fsl-arm-1.4_M5.zip
image_types_fsl.bbclass: fix partition type for SD card boot partition1.4_M5
Create first partition on SD card as fat32. As boot.img is formatted as vfat, this will ensure information in partition table matches actual partition type. Signed-off-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
-rw-r--r--classes/image_types_fsl.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 6d1f6dd..b803aef 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -89,7 +89,7 @@ SDCARD_GENERATION_COMMAND_mx6 = "generate_imx_sdcard"
generate_imx_sdcard () {
# Create partition table
parted -s ${SDCARD} mklabel msdos
- parted -s ${SDCARD} unit KiB mkpart primary ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED})
+ parted -s ${SDCARD} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED})
parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE)
parted ${SDCARD} print