aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-02-05 22:37:20 +0100
committerOtavio Salvador <otavio@ossystems.com.br>2015-02-05 23:00:39 -0200
commitc69afc650c161cc79d69baabaa53cf4d4f4ea9c7 (patch)
tree7ea0c622fcc17cf71c7c72fb9b01643044a2683f
parentdb45be1b9a90d08d1c4b7bced132a4985d7c8da2 (diff)
downloadmeta-fsl-arm-c69afc650c161cc79d69baabaa53cf4d4f4ea9c7.tar.gz
meta-fsl-arm-c69afc650c161cc79d69baabaa53cf4d4f4ea9c7.tar.bz2
meta-fsl-arm-c69afc650c161cc79d69baabaa53cf4d4f4ea9c7.zip
image_types_fsl.bbclass: fix typos
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>
-rw-r--r--classes/image_types_fsl.bbclass6
1 files changed, 3 insertions, 3 deletions
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: