Giulio Benetti | d1203ca | 2020-02-18 20:02:55 +0100 | [diff] [blame] | 1 | How 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 | |
| 10 | This 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 Benetti | 705a31f | 2020-04-27 17:53:04 +0200 | [diff] [blame] | 14 | sudo dd if=SPL of=/dev/sdX bs=1k seek=1; sync |
Giulio Benetti | d1203ca | 2020-02-18 20:02:55 +0100 | [diff] [blame] | 15 | |
| 16 | - Flash the u-boot.img image into the micro SD card: |
| 17 | |
Giulio Benetti | 705a31f | 2020-04-27 17:53:04 +0200 | [diff] [blame] | 18 | sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128; sync |
Giulio Benetti | d1203ca | 2020-02-18 20:02:55 +0100 | [diff] [blame] | 19 | |
| 20 | - Jumper settings: |
| 21 | |
| 22 | SW8: 0 1 1 0 |
| 23 | |
| 24 | where 0 means bottom position and 1 means top position (from the |
| 25 | switch 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 |
| 31 | come up. |