feat(ff-a): receive boot information
Prepare secure partitions to receive boot information:
- In the partition's manifest, the GP register to receive the address in,
and the list of boot information.
- Implemented function to dump boot information.
- Update generation of SP Layout file to include offsets for image and
partition manifest.
- Change partition manifest offsets to match the information in the
SP layout.
Signed-off-by: J-Alves <joao.alves@arm.com>
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I87d2b135379d535ccaa1a3a0a822e964cca47185
diff --git a/tools/generate_json/generate_json.sh b/tools/generate_json/generate_json.sh
index 3a3c04f..d1b861f 100755
--- a/tools/generate_json/generate_json.sh
+++ b/tools/generate_json/generate_json.sh
@@ -21,14 +21,20 @@
# different partition manifests.
if [ "$1" == "cactus" ]; then
echo -e "{\n\t\"$1-primary\" : {\n \
- \t\"image\": \"$1.bin\",\n \
- \t\"pm\": \"$1.dts\",\n \
+ \t\"image\": {\n \
+ \t\t\"file\": \"$1.bin\",\n \
+ \t\t\"offset\":\"0x2000\"\n\
+ \t},\n \
+ \t\"pm\": {\n \
+ \t\t\"file\": \"$1.dts\",\n \
+ \t\t\"offset\":\"0x1000\"\n\
+ \t},\n
\t\"owner\": \"SiP\"\n\t},\n\n\t\"$1-secondary\" : {\n \
\t\"image\": \"$1.bin\",\n \
\t\"pm\": \"$1-secondary.dts\",\n \
\t\"owner\": \"Plat\"\n\t},\n\n\t\"$1-tertiary\" : {\n \
\t\"image\": \"$1.bin\",\n \
- \t\"pm\": \"$1-tertiary.dts\", \n \
+ \t\"pm\": \"$1-tertiary.dts\",\n \
\t\"owner\": \"Plat\"\n\t},\n\n\t\"ivy\" : {\n \
\t\"image\": \"ivy.bin\",\n \
\t\"pm\": \"ivy.dts\", \n \