From 7bd5dff863dc844ac7464299c1d26add6a339a96 Mon Sep 17 00:00:00 2001 From: Alexandre Belloni Date: Thu, 5 Feb 2015 22:37:20 +0100 Subject: 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 --- classes/image_types_fsl.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes') diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass index 2f6eb97..d6c6421 100644 --- a/classes/image_types_fsl.bbclass +++ b/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: -- cgit v1.2.3-54-g00ecf