arm-trusted-firmware/tools
Manish Pandey ce2b1ec6f0 SPMD: generate and add Secure Partition blobs into FIP
Till now TF-A allows limited number of external images to be made part
of FIP. With SPM coming along, there may exist multiple SP packages
which need to be inserted into FIP. To achieve this we need a more
scalable approach to feed SP packages to FIP.

This patch introduces changes in build system to generate and add SP
packages into FIP based on information provided by platform.
Platform provides information in form of JSON which contains layout
description of available Secure Partitions.
JSON parser script is invoked by build system early on and generates
a makefile which updates FIP, SPTOOL and FDT arguments which will be
used by build system later on for final packaging.

"SP_LAYOUT_FILE" passed as a build argument and can be outside of TF-A
tree. This option will be used only when SPD=spmd.

For each SP, generated makefile will have following entries
     - FDT_SOURCES	+=	sp1.dts
     - SPTOOL_ARGS	+= 	-i sp1.img:sp1.dtb -o sp1.pkg
     - FIP_ARGS		+=	--blob uuid=XXXX-XXX...,file=SP1.pkg

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: Ib6a9c064400caa3cd825d9886008a3af67741af7
2020-02-20 17:35:43 +00:00
..
amlogic meson: Rename platform directory to amlogic 2019-09-05 10:39:25 +01:00
cert_create cert_create: Remove references to TBBR in common code 2020-01-29 14:00:32 +01:00
fiptool tools/fiptool: Add Makefile.msvc to build on Windows. 2019-07-02 14:12:01 +01:00
marvell/doimage tools: Move doimage to marvell folder for future add-ons 2018-10-22 18:17:52 +03:00
memory tools: Add show_memory script 2019-11-25 09:47:50 +00:00
renesas/rcar_layout_create rcar_gen3: plat: Add initial D3 support 2019-04-02 03:40:51 +02:00
sptool SPMD: generate and add Secure Partition blobs into FIP 2020-02-20 17:35:43 +00:00
stm32image stm32mp1: update platform files to use MMC devices 2018-10-15 09:36:58 +02:00