tools: imx8image: Add 2 new commands CMD_CNTR_VERSION and CMD_DUMMY_DDR
authorAlice Guo <alice.guo@nxp.com>
Mon, 7 Jul 2025 20:42:54 +0000 (04:42 +0800)
committerFabio Estevam <festevam@gmail.com>
Thu, 17 Jul 2025 12:56:33 +0000 (09:56 -0300)
commitcb06e1082a8b29f565034f8a33f91339c768b265
tree8e1c82f2a3e86dabe0d3943eea0ff91b817784d1
parentcadc0abe65ff30d8d5442ec960ca1797920649c4
tools: imx8image: Add 2 new commands CMD_CNTR_VERSION and CMD_DUMMY_DDR

i.MX95 B0 uses image container format v2, and `one container header
occupies 0x4000, so that CMD_CNTR_VERSION needs to be added.

The purpose of CMD_DUMMY_DDR is to create a dummy image entry in boot
container prior the DDR OEI image entry. ROM reads the address of DUMMY
DDR image entry and passes it to DDR OEI in OEI entry function as
parameter value, in order to indicate the offset of training data with
the boot container.

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