All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH] image_types_fsl.bbclass: fix typos
@ 2015-02-05 21:37 Alexandre Belloni
  0 siblings, 0 replies; only message in thread
From: Alexandre Belloni @ 2015-02-05 21:37 UTC (permalink / raw)
  To: meta-freescale

Few comments are using bytes instead of block. Also remove useless
seek=1

Signed-off-by: Alexandre Belloni <alexandre.belloni@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-05 21:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 21:37 [meta-fsl-arm][PATCH] image_types_fsl.bbclass: fix typos Alexandre Belloni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.