tools: imx8image: add i.MX95 support
authorAlice Guo <alice.guo@nxp.com>
Mon, 28 Apr 2025 10:37:40 +0000 (18:37 +0800)
committerFabio Estevam <festevam@gmail.com>
Sat, 3 May 2025 19:55:32 +0000 (16:55 -0300)
commit5f28a6599f010333390035baa4b516d364407a53
treeecfa76a940fbd51265d98b1ee6ddf484e522e986
parent0318c26c2fcd4e38f7a9e991409fd458c7790e07
tools: imx8image: add i.MX95 support

i.MX95 uses binman to invoke mkimage to create image container. 2 image
containers are needed currently. The first one is composed of
ahab-container.img, LPDDR firmware images, OEI images, System Manager
image and u-boot-spl.bin. The second one is consisted of ARM Trusted
firmware and u-boot.bin.

Because DDR OEI image and LPDDR firmware images have to be packaged
together and named as m33-oei-ddrfw.bin by binman, so imx9_image.sh does
not check if m33-oei-ddrfw.bin exists.

When using "make imx95_19x19_evk_defconfig; make", imx9_image.sh will
delete the line for u-boot.bin in container.cfg. In fact, binman is
always called after the u-boot.bin is built, so imx9_image.sh does not
check if u-boot.bin exists.

Signed-off-by: Alice Guo <alice.guo@nxp.com>
include/imx8image.h
tools/imx8image.c
tools/imx9_image.sh