Patchwork [meta-fsl-arm] Fix msdos partition type for generate_imx_sdcard

login
register
mail settings
Submitter Vladan Jovanovic
Date March 15, 2013, 8:04 a.m.
Message ID <1363334667-7814-1-git-send-email-vladan.jovanovic@gmail.com>
Download mbox | patch
Permalink /patch/46247/
State Superseded
Delegated to: Otavio Salvador
Headers show

Comments

Vladan Jovanovic - March 15, 2013, 8:04 a.m.
Signed-off-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
---
 classes/image_types_fsl.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Daiane Angolini - March 15, 2013, 11:36 a.m.
On 03/15/2013 05:04 AM, Vladan Jovanovic wrote:
>
> Signed-off-by: Vladan Jovanovic <vladan.jovanovic@gmail.com>
> ---

Could you, please, detail why this patch is needed in the commit log?

If you have some log error, you may include it as well.

Patch

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