summaryrefslogtreecommitdiff
path: root/board/freescale/imxrt1020-evk
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/imxrt1020-evk
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/imxrt1020-evk')
-rw-r--r--board/freescale/imxrt1020-evk/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/imxrt1020-evk/README b/board/freescale/imxrt1020-evk/README
index abee7ca5f3..9bc5bc00bc 100644
--- a/board/freescale/imxrt1020-evk/README
+++ b/board/freescale/imxrt1020-evk/README
@@ -11,11 +11,11 @@ This will generate the SPL image called SPL and the u-boot.img.
- Flash the SPL image into the micro 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.img image into the micro SD card:
-sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync
+sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync
- Jumper settings: