summaryrefslogtreecommitdiff
path: root/doc/board/nxp/imxrt1170-evk.rst
blob: 86bd39ccb640ba0a71b384cfb17d5d1d51220380 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
.. SPDX-License-Identifier: GPL-2.0-or-later

imxrt1170-evk
=============

How to use U-Boot on NXP i.MXRT1170 EVK
---------------------------------------

- Build U-Boot for i.MXRT1170 EVK:

  .. code-block:: bash

      $ make mrproper
      $ make imxrt1170-evk_defconfig
      $ make

  This will generate the SPL image called SPL and the u-boot.img.

- Flash the SPL image into the micro SD card:

  .. code-block:: bash

      $sudo dd if=SPL of=/dev/sdX bs=1k seek=1 conv=notrunc; sync

  This location is not compatible with GPT partioning. Please, use MBR
  partitioning instead.

- Flash the u-boot.img image into the micro SD card:

  .. code-block:: bash

      $sudo dd if=u-boot.img of=/dev/sdX bs=1k seek=128 conv=notrunc; sync

- Jumper settings

  .. list-table::
     :stub-columns: 1

     * - SW1
       - 1 0 1 0
     * - SW2
       - 0 0 0 0 | 0 0 0 0 | 1 0 0 0

  where 0 means bottom position and 1 means top position (from the
  switch label numbers reference).

- Connect the USB cable between the EVK and the PC for the console.
  The USB console connector is the one close the ethernet connector

- Insert the micro SD card in the board, power it up and U-Boot messages should come up.