Real image starts at offset 0x400 (1024), so we can skip copying extra 512 bytes of zeros. Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- 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 343643cd7..8de2bd5c5 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@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox