[meta-freescale] [meta-fsl-arm][PATCH] image_types_fsl.bbclass: fix typos
Alexandre Belloni
alexandre.belloni at free-electrons.com
Thu Feb 5 13:37:20 PST 2015
Few comments are using bytes instead of block. Also remove useless
seek=1
Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
---
classes/image_types_fsl.bbclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 53f8767a0e4e..cad7f3ef579c 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -217,11 +217,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:
--
2.1.0
More information about the meta-freescale
mailing list