blob: abee7ca5f3d7786368650638b7bc2290850cedbc [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
Giulio Benetti705a31f2020-04-27 17:53:04 +020014sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync
Giulio Benettid1203ca2020-02-18 20:02:55 +010015
16- Flash the u-boot.img image into the micro SD card:
17
Giulio Benetti705a31f2020-04-27 17:53:04 +020018sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync
Giulio Benettid1203ca2020-02-18 20:02:55 +010019
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.