u-boot-brain/board/freescale/imxrt1020-evk
Peng Fan aa5bbfd961 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>
2020-11-01 15:37:19 +01:00
..
imximage.cfg Add support for i.MXRT1020-EVK board 2020-04-18 14:55:00 +02:00
imxrt1020-evk.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
Kconfig Add support for i.MXRT1020-EVK board 2020-04-18 14:55:00 +02:00
MAINTAINERS Add support for i.MXRT1020-EVK board 2020-04-18 14:55:00 +02:00
Makefile Add support for i.MXRT1020-EVK board 2020-04-18 14:55:00 +02:00
README board: imx: address dd usage in README 2020-11-01 15:37:19 +01:00

How to use U-Boot on NXP i.MXRT1020 EVK
-----------------------------------------------

- Build U-Boot for i.MXRT1020 EVK:

$ make mrproper
$ make imxrt1020-evk_defconfig
$ make

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 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 conv=notrunc; sync

- Jumper settings:

SW8: 0 1 1 0

where 0 means bottom position and 1 means top position (from the
switch label numbers reference).

- Connect the USB cable between the EVK and the PC for the console.
(The USB console connector is the one close the ethernet connector)

- Insert the micro SD card in the board, power it up and U-Boot messages should
come up.