diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-02-05 22:37:20 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-02-05 22:57:03 -0200 |
commit | 7bd5dff863dc844ac7464299c1d26add6a339a96 (patch) | |
tree | 320ae3376ca6bede8bf51d66036897cb27f6a500 /classes | |
parent | eca50bcf2f1d1a8c765f81dc8d8feda2ca7b32cd (diff) | |
download | meta-fsl-arm-7bd5dff863dc844ac7464299c1d26add6a339a96.tar.gz |
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>
Diffstat (limited to 'classes')
-rw-r--r-- | classes/image_types_fsl.bbclass | 6 |
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 () { | |||
216 | parted -s ${SDCARD} unit KiB mkpart primary 1024 $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | 216 | parted -s ${SDCARD} unit KiB mkpart primary 1024 $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) |
217 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | 217 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) |
218 | 218 | ||
219 | # Empty 4 bytes from boot partition | 219 | # Empty 4 blocks from boot partition |
220 | dd if=/dev/zero of=${SDCARD} conv=notrunc seek=2048 count=4 | 220 | dd if=/dev/zero of=${SDCARD} conv=notrunc seek=2048 count=4 |
221 | 221 | ||
222 | # Write the bootstream in (2048 + 4) bytes | 222 | # Write the bootstream in (2048 + 4) blocks |
223 | dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb of=${SDCARD} conv=notrunc seek=1 seek=2052 | 223 | dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb of=${SDCARD} conv=notrunc seek=2052 |
224 | ;; | 224 | ;; |
225 | u-boot) | 225 | u-boot) |
226 | # The disk layout used is: | 226 | # The disk layout used is: |