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 | 1eb3c7c3252537acb9a3ed906819888405115f37 (patch) | |
| tree | 4d86c740bc3c9ccb03ff71c32605c052d4ff379c | |
| parent | 87699e7a4fff83c0d107352a94191796db50423c (diff) | |
| download | meta-freescale-1eb3c7c3252537acb9a3ed906819888405115f37.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>
| -rw-r--r-- | meta-fsl-arm/classes/image_types_fsl.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass index 2f6eb9728..d6c642180 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 () { | |||
| 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: |
