From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fMg5o-0004tN-Qf for barebox@lists.infradead.org; Sat, 26 May 2018 20:48:04 +0000 Received: by mail-pg0-x242.google.com with SMTP id k2-v6so3680197pgc.1 for ; Sat, 26 May 2018 13:47:02 -0700 (PDT) From: Andrey Smirnov Subject: [PATCH v2 28/48] Documentation: imx: Change block size for 'dd' to 1024 Date: Sat, 26 May 2018 13:44:31 -0700 Message-Id: <20180526204451.16530-29-andrew.smirnov@gmail.com> In-Reply-To: <20180526204451.16530-1-andrew.smirnov@gmail.com> References: <20180526204451.16530-1-andrew.smirnov@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org To: barebox@lists.infradead.org Cc: Andrey Smirnov Real image start at offset 0x400 (1024), so we can skip copying extra 512 bytes of zeros. Signed-off-by: Andrey Smirnov --- Documentation/boards/imx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/boards/imx.rst b/Documentation/boards/imx.rst index 9b1eb82d4..de389456e 100644 --- a/Documentation/boards/imx.rst +++ b/Documentation/boards/imx.rst @@ -42,7 +42,7 @@ The above will overwrite the MBR (and consequently the partition table) on the destination SD card. To preserve the MBR while writing the rest of the image to the card, use:: - dd if=images/barebox-freescale-imx51-babbage.img of=/dev/sdd bs=512 skip=1 seek=1 + dd if=images/barebox-freescale-imx51-babbage.img of=/dev/sdd bs=1024 skip=1 seek=1 The images can also always be started second stage:: -- 2.17.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox