For i.MX 8M EVK, to build imx-boot image by using imx-mkimage, perform the following steps: 1. Copy and rename mkimage from u-boot/tools/mkimage to imx-mkimage/iMX8M/mkimage_uboot. 2. Copy u-boot-spl.bin from u-boot/spl/u-boot-spl.bin to imx-mkimage/iMX8M/. 3. Copy u-boot-nodtb.bin from u-boot/u-boot-nodtb.bin to imx-mkimage/iMX8M/. 4. Copy imx8mq-evk.dtb (for i.MX 8M Quad EVK), imx8mm-evk.dtb (for i.MX 8M Mini LPDDR4 EVK), imx8mm-ddr4-evk.dtb (for i.MX 8M Mini DDR4 EVK), or imx8mp-evk.dtb (for i.MX 8M Plus LPDDR4 EVK) from u-boot/arch/arm/dts/ to imx-mkimage/iMX8M/. 5. Copy bl31.bin from Arm Trusted Firmware (imx-atf) to imx-mkimage/iMX8M/. 6. Copy firmware/hdmi/cadence/signed_hdmi_imx8m.bin from the firmware-imx package to imx-mkimage/iMX8M/. 7. For i.MX 8M Quad and i.MX 8M Mini LPDDR4 EVK, copy lpddr4_pmu_train_1d_dmem.bin, lpddr4_pmu_train_1d_imem.bin, lpddr4_pmu_train_2d_dmem.bin, and lpddr4_pmu_train_2d_imem.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/ iMX8M/. For i.MX 8M Mini DDR4 EVK, copy ddr4_imem_1d.bin, ddr4_dmem_1d.bin, ddr4_imem_2d.bin, and ddr4_dmem_2d.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/iMX8M. For i.MX 8M Plus LPDDR4 EVK, copy lpddr4_pmu_train_1d_dmem_201904.bin, lpddr4_pmu_train_1d_imem_201904.bin, lpddr4_pmu_train_2d_dmem_201904.bin, and lpddr4_pmu_train_2d_imem_201904.bin from firmware/ddr/synopsys of the firmware-imx package to imx-mkimage/iMX8M/. 8. For i.MX 8M Quad EVK, run make SOC=iMX8M flash_evk to generate flash.bin (imx-boot image) with HDMI FW included. For i.MX 8M Mini LPDDR4 EVK, run make SOC=iMX8MM flash_evk to generate flash.bin (imx-boot image). For i.MX 8M Mini DDR4 EVK, run make SOC=iMX8MM flash_ddr4_evk to generate flash.bin (imx-boot image). For i.MX 8M Plus LPDDR4 EVK, run make SOC=iMX8MP flash_evk to generate flash.bin (imx-boot-image). To boot with eMMC fasboot on i.MX 8M Quad EVK and i.MX 8M Mini LPDDR4 EVK, use flash_evk_emmc_fastboot target. |
아래 파일은 어디서 봐야하냐..
i.MX 8M Plus: setenv fdtfile imx8mp-evk-rpmsg-lpv.dtb |
/run/media/mmcblk1p1# ls -al *rp* -rwxrwx--- 1 root disk 64363 Apr 5 2011 imx8mp-evk-rpmsg.dtb -rwxrwx--- 1 root disk 19064 Apr 5 2011 imx8mp_m7_TCM_rpmsg_lite_pingpong_rtos_linux_remote.bin -rwxrwx--- 1 root disk 18544 Apr 5 2011 imx8mp_m7_TCM_rpmsg_lite_str_echo_rtos.bin |
[링크 : https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf]
'embeded > ARM' 카테고리의 다른 글
openOCD와 jtag (0) | 2023.07.06 |
---|---|
cmsis (Common Microcontroller Software Interface Standard) (0) | 2023.02.27 |
ampere altra / 기가바이트 R272-P30 / 우분투 (0) | 2023.02.03 |
arm asm rbit(비트 뒤집기) (0) | 2022.08.26 |
vfp, neon cycle (0) | 2022.01.23 |