summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-fsl-arm/classes/image_types_fsl.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass
index 58f5249e8..1ed817fc9 100644
--- a/meta-fsl-arm/classes/image_types_fsl.bbclass
+++ b/meta-fsl-arm/classes/image_types_fsl.bbclass
@@ -80,7 +80,7 @@ generate_imx_sdcard () {
80 esac 80 esac
81 81
82 BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ 82 BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \
83 | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') 83 | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }')
84 mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS 84 mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS
85 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage 85 mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage
86 86