Commit 3e55aa50 authored by Thomas Schäfer's avatar Thomas Schäfer
Browse files

pitx-imx8m: add README


Signed-off-by: Thomas Schäfer's avatarThomas Schaefer <thomas.schaefer@kontron.com>
parent 591d155c
U-Boot for the Kontron pITX-iMX8M board
Note: u-boot-nodtb.bin and u-boot-spl.bin artefacts resulting from u-boot build
must be bundled with separate firmware blobs into a bootable image. The u-boot
Makefile supports this task but needs additional firmware images to be copied
into bootloader build directory before.
Quick Start
===========
- Build the ARM Trusted Firmware binary
- Get DDR and HDMI firmware blobs
- Build U-Boot and resulting flash image
Build ARM Trusted Firmware
==========================
- Get ATF from https://source.codeaurora.org/external/imx/imx-atf
- Checkout imx_4.19.35_1.1.0 branch
$ make PLAT=imx8mq bl31
- Copy the ATF blob into u-boot build_dir
$ cp build/imx8mq/release/bl31.bin <build_dir>
Get DDR and HDMI Firmware
=========================
$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.8.bin
$ chmod +x firmware-imx-7.8.bin
- Note: You must accept NXP EULA when extracting the image in the next step.
$ ./firmware-imx-7.8.bin
- Copy firmware blobs to u-boot build_dir
$ cp firmware-imx-7.8/firmware/hdmi/cadence/signed_hdmi_imx8m.bin <build_dir>
$ cp firmware-imx-7.8/firmware/ddr/synopsys/lpddr4*.bin <build_dir>
Build U-Boot and final boot image
=================================
$ export CROSS_COMPILE=aarch64-linux-gnu-
$ make pitx-imx8m_defconfig
$ make flash.bin
Copy the flash.bin firmware to uSD card offset 33kB (0x8400)
$ sudo dd if=flash.bin of=/dev/sd[X] bs=1024 seek=33 conv=sync
Boot
====
Insert the uSD card into the upper cage of J12. Be cautious as the lower cage
is for a uSIM card. Power on the board.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment