tools: stm32image: Add support for STM32 Image V2.0
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 12 May 2025 17:09:47 +0000 (19:09 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:56 +0000 (09:42 +0200)
commit3f2eb09c2233904e973b94c08420358b7f0e3c31
tree2d00df15023634d552fcc23b721e496bc6a56d7a
parent447d1bd05acbfb155abe66514d71629f11fb3927
tools: stm32image: Add support for STM32 Image V2.0

Add support for generating STM32 Image V2.0, which is used by STM32MP13xx.
The image header layout is similar to STM32MP15xx STM32 Image V1.0, but is
different enough to justify duplicate functions to generate the v2 image.
This code at least attempts to align the V1 and V2 image handling where
possible.

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
boot/image.c
include/image.h
tools/stm32image.c