blob: a9f5546311d7205f3274357cbceae7e49b66f929 [file] [log] [blame]
Gary Bisson4ed03c52024-08-05 23:25:11 +02001.. SPDX-License-Identifier: GPL-2.0+
2
3imx8ulp_evk
4=======================
5
6U-Boot for the NXP i.MX 8ULP EVK board
7
8Quick Start
9-----------
10
11- Get and Build the ARM Trusted firmware
12- Get the uPower firmware
13- Get the M33 firmware
14- Get ahab-container.img
15- Build U-Boot
16- Boot
17
18Get and Build the ARM Trusted firmware
19--------------------------------------
20
21Note: srctree is U-Boot source directory
22Get ATF from: https://github.com/nxp-imx/imx-atf/
23branch: lf_v2.10
24
25.. code-block:: bash
26
27 $ unset LDFLAGS
28 $ make PLAT=imx8ulp bl31
29 $ cp build/imx8ulp/release/bl31.bin $(srctree)
30
31Get the uPower firmware
32-----------------------
33
34.. code-block:: bash
35
36 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-upower-1.3.1.bin
37 $ chmod +x firmware-upower-1.3.1.bin
38 $ ./firmware-upower-1.3.1.bin
39 $ cp firmware-upower-1.3.1/upower_a1.bin $(srctree)/upower.bin
40
41Get the M33 firmware
42--------------------
43
44.. code-block:: bash
45
46 $ wget http://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx8ulp-m33-demo-2.14.1.bin
47 $ chmod +x imx8ulp-m33-demo-2.14.1.bin
48 $ ./imx8ulp-m33-demo-2.14.1.bin
49 $ cp imx8ulp-m33-demo-2.14.1/imx8ulp_m33_TCM_power_mode_switch.bin $(srctree)/m33_image.bin
50
51Get ahab-container.img
52---------------------------------------
53
54.. code-block:: bash
55
56 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-ele-imx-0.1.2-4ed450a.bin
57 $ chmod +x firmware-ele-imx-0.1.2-4ed450a.bin
58 $ ./firmware-ele-imx-0.1.2-4ed450a.bin
59 $ cp firmware-ele-imx-0.1.2-4ed450a/mx8ulpa2-ahab-container.img $(srctree)
60
61Build U-Boot
62------------
63
64.. code-block:: bash
65
66 $ export CROSS_COMPILE=aarch64-poky-linux-
67 $ make imx8ulp_evk_defconfig
68 $ make
69
70Burn the flash.bin to MicroSD card offset 32KB:
71
72.. code-block:: bash
73
74 $ dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc
75
76Boot
77----
78
79Set Boot switch to SD boot