blob: 3da72fdad279f9c89bccb7bfec15342d30c0f297 [file] [log] [blame]
Giulio Benettid1203ca2020-02-18 20:02:55 +01001How to use U-Boot on NXP i.MXRT1020 EVK
2-----------------------------------------------
3
4- Build U-Boot for i.MXRT1020 EVK:
5
6$ make mrproper
7$ make imxrt1020-evk_defconfig
8$ make
9
10This will generate the SPL image called SPL and the u-boot.img.
11
12- Flash the SPL image into the micro SD card:
13
14sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
15
16- Flash the u-boot.img image into the micro SD card:
17
18sudo dd if=u-boot.img of=/dev/sdb bs=1k seek=128; sync
19
20- Jumper settings:
21
22SW8: 0 1 1 0
23
24where 0 means bottom position and 1 means top position (from the
25switch label numbers reference).
26
27- Connect the USB cable between the EVK and the PC for the console.
28(The USB console connector is the one close the ethernet connector)
29
30- Insert the micro SD card in the board, power it up and U-Boot messages should
31come up.