]> code.ossystems Code Review - meta-freescale.git/commitdiff
image_types_fsl.bbclass: fix typos
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 5 Feb 2015 21:37:20 +0000 (22:37 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 6 Feb 2015 00:57:03 +0000 (22:57 -0200)
Few comments are using bytes instead of block. Also remove useless
seek=1

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/classes/image_types_fsl.bbclass

index 2f6eb9728c94c8780cd63a5de7b4940378efe64a..d6c642180e156fed0e06143a65ff0e200eae3ed1 100644 (file)
@@ -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: