summaryrefslogtreecommitdiff
path: root/board/freescale/mx6sabreauto
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-10-14 12:11:59 +0300
committerStefano Babic <sbabic@denx.de>2020-11-01 17:37:19 +0300
commitaa5bbfd961ca551376a397df377986ba011569c1 (patch)
tree8fc898ab86818901af5af9a7268b2cfa267999a8 /board/freescale/mx6sabreauto
parent2c31d7e746766f47a007f39c030706e493a9cc77 (diff)
downloadu-boot-aa5bbfd961ca551376a397df377986ba011569c1.tar.xz
board: imx: address dd usage in README
When using cygwin64 "dd (coreutils) 8.26 Packaged by Cygwin (8.26-2)", the last not 512bytes aligned data wat cut off and not burned into SD card. Saying the flash.bin size is 1085608 bytes, not 512bytes aligned. It only burned 1085440 bytes, the leaving 168 bytes were not burnned and cause boot issue. So update README dd command to add "conv=notrunc" Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'board/freescale/mx6sabreauto')
-rw-r--r--board/freescale/mx6sabreauto/README8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/freescale/mx6sabreauto/README b/board/freescale/mx6sabreauto/README
index 4c0fda1a2d..710026a05e 100644
--- a/board/freescale/mx6sabreauto/README
+++ b/board/freescale/mx6sabreauto/README
@@ -13,11 +13,11 @@ This will generate the SPL and u-boot-dtb.img binaries.
- Flash the SPL binary into the SD card:
-$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
+$ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 conv=notrunc && sync
- Flash the u-boot-dtb.img binary into the SD card:
-$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 && sync
+$ sudo dd if=u-boot-dtb.img of=/dev/sdX bs=1K seek=69 conv=notrunc && sync
Booting via Falcon mode
-----------------------
@@ -36,11 +36,11 @@ This will generate the SPL image called SPL and the u-boot-dtb.img.
- Flash the SPL image into the SD card:
-$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 && sync
+$ sudo dd if=SPL of=/dev/sdb bs=1K seek=1 conv=notrunc && sync
- Flash the u-boot-dtb.img image into the SD card:
-$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 && sync
+$ sudo dd if=u-boot-dtb.img of=/dev/sdb bs=1K seek=69 conv=notrunc && sync
Create a FAT16 boot partition to store uImage and the dtb file, then copy the files there: