| Build Guide |
| |
| imx-mkimage is used to combine input images and generate final boot image with appropriate IVT set. |
| Before building the boot image, need to prepare the input images first: |
| |
| 1. DDR PHY firmware images (Mandatory, used for all targets) |
| Files: lpddr4_pmu_train_imem.bin and lpddr4_pmu_train_dmem.bin |
| Git: ssh://git@sw-stash.freescale.net/imx/linux-firmware-imx.git |
| Directory: firmware/ddr/synopsys |
| |
| 2. u-boot and SPL images (Mandatory, used for all targets) |
| Files: u-boot.bin and u-boot-spl.bin |
| Git: ssh://git@sw-stash.freescale.net/imx/uboot-imx.git |
| Directory: ./u-boot.bin and spl/u-boot-spl.bin |
| Build command: make imx8mq_evk_defconfig; make |
| |
| 3. ATF image (Mandatory, used for all targets) |
| File: bl31.bin |
| Git: ssh://git@sw-stash.freescale.net/imx/arm-trusted-firmware.git |
| Directory: build/imx8mq/release |
| Build command: make PLAT=imx8mq |
| |
| 4. HDMI firmware image (flash_hdmi_spl_uboot and flash_hdmi_spl_uboot_tee) |
| File: hdmi_imx8m.bin |
| Git: ssh://git@sw-stash.freescale.net/imx/linux-firmware-imx.git |
| Directory: firmware/hdmi/cadence |
| |
| 5. Optee image (flash_hdmi_spl_uboot_tee and flash_spl_uboot_tee) |
| File: tee.bin |
| Git: ssh://git@sw-stash.freescale.net/imx/imx-optee-os.git |