From: Alexandre Belloni Date: Thu, 5 Feb 2015 21:37:20 +0000 (+0100) Subject: image_types_fsl.bbclass: fix typos X-Git-Tag: 2.1~668 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1eb3c7c3252537acb9a3ed906819888405115f37;p=meta-freescale.git image_types_fsl.bbclass: fix typos Few comments are using bytes instead of block. Also remove useless seek=1 Signed-off-by: Alexandre Belloni Signed-off-by: Otavio Salvador --- diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index 2f6eb972..d6c64218 100644 --- a/meta-fsl-arm/classes/image_types_fsl.bbclass +++ b/meta-fsl-arm/classes/image_types_fsl.bbclass @@ -216,11 +216,11 @@ generate_mxs_sdcard () { parted -s ${SDCARD} unit KiB mkpart primary 1024 $(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) - # Empty 4 bytes from boot partition + # Empty 4 blocks from boot partition dd if=/dev/zero of=${SDCARD} conv=notrunc seek=2048 count=4 - # Write the bootstream in (2048 + 4) bytes - dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb of=${SDCARD} conv=notrunc seek=1 seek=2052 + # Write the bootstream in (2048 + 4) blocks + dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb of=${SDCARD} conv=notrunc seek=2052 ;; u-boot) # The disk layout used is: