diff options
| author | Tom Rini <[email protected]> | 2022-02-07 12:13:53 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-07 12:13:53 -0500 |
| commit | 8b139f4e1c08c4ffb1a8e739db128ed02cbc637f (patch) | |
| tree | 0bff6bd0fadc7230538d712b1b1f112e424dbea0 /doc | |
| parent | b5c5b9a0bee56030f9f05ece52334b5207b72673 (diff) | |
| parent | 530780a69cb5d32a7794dcc322afaa25cdbdab96 (diff) | |
Merge tag 'u-boot-imx-20220207' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
u-boot-imx-20211022
-------------------
CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/10887
- imx8 : Toradex Verdin MX8M Plus
Kontron pitx-imx8m
- imx8ulp: several fixes and improvements
- imx6ull fixes
- switching to binman
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/board/index.rst | 1 | ||||
| -rw-r--r-- | doc/board/kontron/index.rst | 1 | ||||
| -rw-r--r-- | doc/board/kontron/pitx-imx8m.rst | 67 | ||||
| -rw-r--r-- | doc/board/kontron/sl-mx8mm.rst | 1 | ||||
| -rw-r--r-- | doc/board/nxp/imx8mm_evk.rst | 1 | ||||
| -rw-r--r-- | doc/board/nxp/imx8mn_evk.rst | 1 | ||||
| -rw-r--r-- | doc/board/toradex/index.rst | 1 | ||||
| -rw-r--r-- | doc/board/toradex/verdin-imx8mm.rst | 1 | ||||
| -rw-r--r-- | doc/board/toradex/verdin-imx8mp.rst | 111 | ||||
| -rw-r--r-- | doc/board/variscite/imx8mn_var_som.rst | 56 | ||||
| -rw-r--r-- | doc/board/variscite/index.rst | 9 |
11 files changed, 246 insertions, 4 deletions
diff --git a/doc/board/index.rst b/doc/board/index.rst index 75c34c4a999..be9ba4de4d0 100644 --- a/doc/board/index.rst +++ b/doc/board/index.rst @@ -37,5 +37,6 @@ Board-specific doc tbs/index ti/index toradex/index + variscite/index xen/index xilinx/index diff --git a/doc/board/kontron/index.rst b/doc/board/kontron/index.rst index 7dfe3d9bc01..cb1906e626b 100644 --- a/doc/board/kontron/index.rst +++ b/doc/board/kontron/index.rst @@ -6,6 +6,7 @@ Kontron .. toctree:: :maxdepth: 2 + pitx-imx8m sl28 sl-mx6ul sl-mx8mm diff --git a/doc/board/kontron/pitx-imx8m.rst b/doc/board/kontron/pitx-imx8m.rst new file mode 100644 index 00000000000..1f64cbd9b2e --- /dev/null +++ b/doc/board/kontron/pitx-imx8m.rst @@ -0,0 +1,67 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +Kontron pitx-imx8m +================== + +The Kontron pitx-imx8m is an embedded board with an i.MX8MQ in the pITX +form factor. + +The board has two Ethernet ports, USB, HDMI/LVDS, m.2 slot, SD card, CAN, +RS232 and much more. + +Quick Start +----------- + +- Get and build the ARM Trusted firmware binary +- Get DDR and HDMI firmware +- Build U-Boot +- Install on SD card +- Boot + +Get and build the ARM Trusted firmware binary +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Note: builddir is U-Boot build directory (source directory for in-tree builds) + +.. code-block:: bash + + $ git clone https://github.com/ARM-software/arm-trusted-firmware.git + $ git checkout v2.5 + $ make PLAT=imx8mq ARCH=aarch64 CROSS_COMPILE=aarch64-linux-gnu- bl31 + $ cp build/imx8mq/release/bl31.bin $(builddir) + +Get DDR and HDMI firmware +^^^^^^^^^^^^^^^^^^^^^^^^^ + +Note: builddir is U-Boot build directory (source directory for in-tree builds) + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.11.bin + $ chmod +x firmware-imx-8.11.bin + $ ./firmware-imx-8.11 + $ cp firmware-imx-8.11/firmware/ddr/synopsys/lpddr4*.bin $(builddir) + $ cp firmware-imx-8.11/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(builddir) + +Build U-Boot +^^^^^^^^^^^^ + +.. code-block:: bash + + $ make kontron_pitx_imx8m_defconfig + $ make CROSS_COMPILE=aarch64-linux-gnu- + +Install on SD card +^^^^^^^^^^^^^^^^^^ + + +Burn the flash.bin to SD card at an offset of 33 KiB: + +.. code-block:: bash + + $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 + +Boot +^^^^ + +Set the boot source selection to SD card boot and power on the board. diff --git a/doc/board/kontron/sl-mx8mm.rst b/doc/board/kontron/sl-mx8mm.rst index 74ff228f203..7a4c1134b54 100644 --- a/doc/board/kontron/sl-mx8mm.rst +++ b/doc/board/kontron/sl-mx8mm.rst @@ -62,7 +62,6 @@ Build U-Boot .. code-block:: bash $ make kontron-sl-mx8mm_defconfig - $ export ATF_LOAD_ADDR=0x920000 $ make Burn the flash.bin to SD card at an offset of 33 KiB: diff --git a/doc/board/nxp/imx8mm_evk.rst b/doc/board/nxp/imx8mm_evk.rst index b377c4de276..b9e67b954fc 100644 --- a/doc/board/nxp/imx8mm_evk.rst +++ b/doc/board/nxp/imx8mm_evk.rst @@ -42,7 +42,6 @@ Build U-Boot $ export CROSS_COMPILE=aarch64-poky-linux- $ make imx8mm_evk_defconfig - $ export ATF_LOAD_ADDR=0x920000 $ make Burn the flash.bin to MicroSD card offset 33KB: diff --git a/doc/board/nxp/imx8mn_evk.rst b/doc/board/nxp/imx8mn_evk.rst index 9fbb947032b..711545af896 100644 --- a/doc/board/nxp/imx8mn_evk.rst +++ b/doc/board/nxp/imx8mn_evk.rst @@ -50,7 +50,6 @@ Burn the flash.bin to MicroSD card offset 32KB: .. code-block:: bash $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc - $sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=notrunc Boot ---- diff --git a/doc/board/toradex/index.rst b/doc/board/toradex/index.rst index 56528480197..1cd926a7303 100644 --- a/doc/board/toradex/index.rst +++ b/doc/board/toradex/index.rst @@ -11,3 +11,4 @@ Toradex colibri_imx7 colibri-imx8x verdin-imx8mm + verdin-imx8mp diff --git a/doc/board/toradex/verdin-imx8mm.rst b/doc/board/toradex/verdin-imx8mm.rst index a11c82da2f5..439128adceb 100644 --- a/doc/board/toradex/verdin-imx8mm.rst +++ b/doc/board/toradex/verdin-imx8mm.rst @@ -44,7 +44,6 @@ Build U-Boot .. code-block:: bash $ export CROSS_COMPILE=aarch64-linux-gnu- - $ export ATF_LOAD_ADDR=0x920000 $ make verdin-imx8mm_defconfig $ make diff --git a/doc/board/toradex/verdin-imx8mp.rst b/doc/board/toradex/verdin-imx8mp.rst new file mode 100644 index 00000000000..482f6935779 --- /dev/null +++ b/doc/board/toradex/verdin-imx8mp.rst @@ -0,0 +1,111 @@ +.. SPDX-License-Identifier: GPL-2.0-or-later + +Verdin iMX8M Plus Module +======================== + +Quick Start +----------- + +- Build the ARM trusted firmware binary +- Get the DDR firmware +- Build U-Boot +- Flash to eMMC +- Boot + +Get and Build the ARM Trusted Firmware (Trusted Firmware A) +----------------------------------------------------------- + +.. code-block:: bash + + $ echo "Downloading and building TF-A..." + $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git + $ cd trusted-firmware-a + +Then build ATF (TF-A): + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-linux-gnu- + $ make PLAT=imx8mp IMX_BOOT_UART_BASE=0x30880000 bl31 + $ cp build/imx8mp/release/bl31.bin ../ + +Get the DDR Firmware +-------------------- + +.. code-block:: bash + + $ cd .. + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.10.1.bin + $ chmod +x firmware-imx-8.10.1.bin + $ ./firmware-imx-8.10.1.bin + $ cp firmware-imx-8.10.1/firmware/ddr/synopsys/lpddr4*_202006.bin ./ + +Build U-Boot +------------ +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-linux-gnu- + $ make verdin-imx8mp_defconfig + $ make + +Flash to eMMC +------------- + +.. code-block:: bash + + > tftpboot ${loadaddr} flash.bin + > setexpr blkcnt ${filesize} + 0x1ff && setexpr blkcnt ${blkcnt} / 0x200 + > mmc dev 2 1 && mmc write ${loadaddr} 0x0 ${blkcnt} + +As a convenience, instead of the last two commands one may also use the update +U-Boot wrapper: + +.. code-block:: bash + + > run update_uboot + +Boot +---- + +ATF, U-Boot proper and u-boot.dtb images are packed into FIT image, +which is loaded and parsed by SPL. + +Boot sequence is: + +* SPL ---> ATF (TF-A) ---> U-Boot proper + +Output: + +.. code-block:: bash + +U-Boot SPL 2022.04-rc1-00164-g21a0312611-dirty (Feb 07 2022 - 11:34:04 +0100) +Quad die, dual rank failed, attempting dual die, single rank configuration. +Normal Boot +WDT: Started watchdog@30280000 with servicing (60s timeout) +Trying to boot from BOOTROM +Find img info 0x&48025a00, size 872 +Need continue download 1024 +Download 779264, Total size 780424 +NOTICE: BL31: v2.2(release):rel_imx_5.4.70_2.3.2_rc1-5-g835a8f67b +NOTICE: BL31: Built : 16:52:37, Aug 26 2021 + + +U-Boot 2022.04-rc1-00164-g21a0312611-dirty (Feb 07 2022 - 11:34:04 +0100) + +CPU: Freescale i.MX8MP[8] rev1.1 at 1200 MHz +Reset cause: POR +DRAM: 8 GiB +Core: 78 devices, 18 uclasses, devicetree: separate +WDT: Started watchdog@30280000 with servicing (60s timeout) +MMC: FSL_SDHC: 1, FSL_SDHC: 2 +Loading Environment from MMC... OK +In: serial +Out: serial +Err: serial +Model: Toradex Verdin iMX8M Plus Quad 4GB Wi-Fi / BT IT V1.0B, Serial# 06817281 +Carrier: Toradex Verdin Development Board V1.1A, Serial# 10807609 +Setting variant to wifi +Net: Hard-coding pdata->enetaddr +eth1: ethernet@30be0000, eth0: ethernet@30bf0000 [PRIME] +Hit any key to stop autoboot: 0 +Verdin iMX8MP # diff --git a/doc/board/variscite/imx8mn_var_som.rst b/doc/board/variscite/imx8mn_var_som.rst new file mode 100644 index 00000000000..aca881ea314 --- /dev/null +++ b/doc/board/variscite/imx8mn_var_som.rst @@ -0,0 +1,56 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +imx8mn_var_som +============== + +U-Boot for the Variscite VAR-SOM-MX8MN Symphony evaluation board + +Quick Start +----------- + +- Build the ARM Trusted firmware binary +- Get firmware-imx package +- Build U-Boot +- Boot + +Get and Build the ARM Trusted firmware +-------------------------------------- + +Note: srctree is U-Boot source directory +Get ATF from: https://github.com/ARM-software/arm-trusted-firmware +tag: v2.5 + +.. code-block:: bash + + $ make PLAT=imx8mn IMX_BOOT_UART_BASE=0x30a60000 bl31 + $ cp build/imx8mn/release/bl31.bin $(srctree) + +Get the ddr firmware +-------------------- + +.. code-block:: bash + + $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin + $ chmod +x firmware-imx-8.9.bin + $ ./firmware-imx-8.9 + $ cp firmware-imx-8.9/firmware/ddr/synopsys/ddr4*.bin $(srctree) + +Build U-Boot +------------ + +.. code-block:: bash + + $ export CROSS_COMPILE=aarch64-linux-gnu- + $ make imx8mn_var_som_defconfig + $ make + +Burn the flash.bin to MicroSD card offset 32KB: + +.. code-block:: bash + + $ dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc + +Boot +---- + +Set Boot switch to SD boot diff --git a/doc/board/variscite/index.rst b/doc/board/variscite/index.rst new file mode 100644 index 00000000000..4186896b66d --- /dev/null +++ b/doc/board/variscite/index.rst @@ -0,0 +1,9 @@ +.. SPDX-License-Identifier: GPL-2.0+ + +Variscite +========= + +.. toctree:: + :maxdepth: 2 + + imx8mn_var_som |
