blob: 267f80c51700f51759f7b3c65800ed1a85db008d [file] [log] [blame]
Peng Fane66be2d2020-10-14 17:12:05 +08001.. SPDX-License-Identifier: GPL-2.0+
2
3imxrt1020-evk
4=============
5
6How to use U-Boot on NXP i.MXRT1020 EVK
7---------------------------------------
8
9- Build U-Boot for i.MXRT1020 EVK:
10
11.. code-block:: bash
12
13 $ make mrproper
14 $ make imxrt1020-evk_defconfig
15 $ make
16
17This will generate the SPL image called SPL and the u-boot.img.
18
19- Flash the SPL image into the micro SD card:
20
21.. code-block:: bash
22
23 $sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync
24
25- Flash the u-boot.img image into the micro SD card:
26
27.. code-block:: bash
28
29 $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync
30
31- Jumper settings::
32
33 SW8: 0 1 1 0
34
35where 0 means bottom position and 1 means top position (from the
36switch label numbers reference).
37
38- Connect the USB cable between the EVK and the PC for the console.
39 The USB console connector is the one close the ethernet connector
40
41- Insert the micro SD card in the board, power it up and U-Boot messages should come up.