Marek Vasut 6dfd14e122 mkimage: Add support for bundling TFA BL31 in mkimage -f auto
Introduce two new parameters to be used with mkimage -f auto to bundle
TFA BL31 image into fitImage, using auto-generated fitImage. Add -y to
specify TFA BL31 file name and -Y to specify TFA BL31 load and entry
point address. This is meant to be used with systems which boot all of
TFA BL31, Linux and its DT from a single fitImage, all booted by U-Boot.

Example invocation:
"
$ mkimage -E -A arm64 -C none -e 0x50200000 -a 0x50200000 -f auto \
          -d arch/arm64/boot/Image \
	  -b arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk.dtb \
	  -y ../tfa/build/rcar_gen4/release/bl31.bin -Y 0x46400000 \
	  /path/to/output/fitImage
"

Documentation update and test are also included, the test validates
both positive and negative test cases, where fitImage does not include
TFA BL31 and does include TFA BL31 blobs.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
2025-09-12 14:35:36 -06:00
..
2025-08-06 08:41:52 +02:00
2025-06-23 16:15:23 -06:00
2025-08-31 09:32:17 -06:00
2025-02-11 20:12:36 -06:00
2025-04-11 12:16:44 -06:00
2025-02-11 20:12:36 -06:00
2025-02-11 20:12:36 -06:00
2025-02-11 20:12:36 -06:00
2025-07-10 08:41:10 -06:00
2025-04-11 12:16:44 -06:00
run
2023-04-03 06:53:53 +12:00
2025-01-24 14:34:41 -06:00