diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_fsl.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 94ec493..1f4e6d4 100644 --- a/classes/image_types_fsl.bbclass +++ b/classes/image_types_fsl.bbclass | |||
@@ -101,7 +101,7 @@ generate_imx_sdcard () { | |||
101 | esac | 101 | esac |
102 | 102 | ||
103 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | 103 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ |
104 | | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') | 104 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') |
105 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 105 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
106 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage | 106 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage |
107 | if [ -e "${KERNEL_IMAGETYPE}-${MACHINE}.dtb" ]; then | 107 | if [ -e "${KERNEL_IMAGETYPE}-${MACHINE}.dtb" ]; then |