image_types_fsl.bbclass: fix partition type for SD card boot partition
PATCH 1/1 image_types_fsl.bbclass: fix partition type for SD card boot partition
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 <[email protected]>
--- classes/image_types_fsl.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
classes/image_types_fsl.bbclass +1 -1
@@ -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
Signature · 1 line
1.7.9.5
Quoted 3 lines · Vladan Jovanovic
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 <[email protected]>
The long commit log needs to be down 80 colums. But more important is does it fixes a bug you see or it is just cosmetic?
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br