https://community.nxp.com/thread/503834
https://github.com/Freescale/imx-mkimage
NXP推出的UUU工具需要先下載一個(gè)引導(dǎo)image,讓其運(yùn)行起來(lái)后才能燒錄其他東西。如果你更改了硬件設(shè)計(jì),官方所給的image就可能運(yùn)行不起來(lái)了(如刪掉PD芯片就會(huì)一直重啟)。
官方給了以下demo image用于uuu啟動(dòng) https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DL4.14.98_2.0.0_MX8MM%26appType%3Dlicense
imx-boot-imx8mmddr4evk-nand.bin-flash_ddr4_evk (for the EVK board with DDR4 memory)
imx-boot-imx8mmddr4evk-sd.bin-flash_ddr4_evk (for the EVK board with DDR4 memory)
imx-boot-imx8mmevk-fspi.bin-flash_evk_flexspi (for the EVK board with LPDDR4 memory)
imx-boot-imx8mmevk-sd.bin-flash_evk (for the EVK board with LPDDR4 memory)
這個(gè)所謂的 secondary loader 不僅僅包含BootLoader,它是一系列組件的結(jié)合體。需要使用mkimage這個(gè)工具來(lái)生成的。
在我們用bitbake imx-image-full編譯出來(lái)的deploy/images文件夾下是有這個(gè)文件的,名字叫做imx-boot-imx8mmevk-sd.bin-flash_evk,和uuu.auto文件中的名字一樣。