diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-10-14 17:11:59 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-11-01 15:37:19 +0100 |
commit | aa5bbfd961ca551376a397df377986ba011569c1 (patch) | |
tree | 8fc898ab86818901af5af9a7268b2cfa267999a8 /board/freescale/imxrt1050-evk | |
parent | 2c31d7e746766f47a007f39c030706e493a9cc77 (diff) | |
download | u-boot-aa5bbfd961ca551376a397df377986ba011569c1.zip u-boot-aa5bbfd961ca551376a397df377986ba011569c1.tar.gz u-boot-aa5bbfd961ca551376a397df377986ba011569c1.tar.bz2 |
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/imxrt1050-evk')
-rw-r--r-- | board/freescale/imxrt1050-evk/README | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/freescale/imxrt1050-evk/README b/board/freescale/imxrt1050-evk/README index a7e68fa..f321300 100644 --- a/board/freescale/imxrt1050-evk/README +++ b/board/freescale/imxrt1050-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: |