blob: 86bd39ccb640ba0a71b384cfb17d5d1d51220380 [file] [log] [blame]
Jesse Taube621a56c2024-02-01 10:00:04 -05001.. SPDX-License-Identifier: GPL-2.0-or-later
2
3imxrt1170-evk
4=============
5
6How to use U-Boot on NXP i.MXRT1170 EVK
7---------------------------------------
8
9- Build U-Boot for i.MXRT1170 EVK:
10
11 .. code-block:: bash
12
13 $ make mrproper
14 $ make imxrt1170-evk_defconfig
15 $ make
16
17 This 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 This location is not compatible with GPT partioning. Please, use MBR
26 partitioning instead.
27
28- Flash the u-boot.img image into the micro SD card:
29
30 .. code-block:: bash
31
32 $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync
33
34- Jumper settings
35
36 .. list-table::
37 :stub-columns: 1
38
39 * - SW1
40 - 1 0 1 0
41 * - SW2
42 - 0 0 0 0 | 0 0 0 0 | 1 0 0 0
43
44 where 0 means bottom position and 1 means top position (from the
45 switch label numbers reference).
46
47- Connect the USB cable between the EVK and the PC for the console.
48 The USB console connector is the one close the ethernet connector
49
50- Insert the micro SD card in the board, power it up and U-Boot messages should come up.