diff options
Diffstat (limited to 'meta-fsl-arm/classes')
| -rw-r--r-- | meta-fsl-arm/classes/image_types_fsl.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index b803aef79..b894495b9 100644 --- a/meta-fsl-arm/classes/image_types_fsl.bbclass +++ b/meta-fsl-arm/classes/image_types_fsl.bbclass | |||
| @@ -118,7 +118,7 @@ generate_imx_sdcard () { | |||
| 118 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | 118 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ |
| 119 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') | 119 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') |
| 120 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 120 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
| 121 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage | 121 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} |
| 122 | 122 | ||
| 123 | # Copy boot scripts | 123 | # Copy boot scripts |
| 124 | for item in ${BOOT_SCRIPTS}; do | 124 | for item in ${BOOT_SCRIPTS}; do |
| @@ -221,7 +221,7 @@ generate_mxs_sdcard () { | |||
| 221 | | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') | 221 | | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') |
| 222 | 222 | ||
| 223 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | 223 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS |
| 224 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/uImage-${MACHINE}.bin ::/uImage | 224 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} |
| 225 | if test -n "${KERNEL_DEVICETREE}"; then | 225 | if test -n "${KERNEL_DEVICETREE}"; then |
| 226 | for DTS_FILE in ${KERNEL_DEVICETREE}; do | 226 | for DTS_FILE in ${KERNEL_DEVICETREE}; do |
| 227 | DTS_BASE_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'` | 227 | DTS_BASE_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'` |
