feat(spm): add STMM cactus partition
Add another instance of cactus S-EL1 partition, using
StMM manifest.
This is to validate HOB generation at build-time.
The manifest contains memory region nodes using the
same node names as in the StMM partition manifest,
but changed the ranges to align with memory map of
base FVP. The device region nodes have been dropped,
as they didn't affect the creation of the HOB list.
Defined the UUID for the partition in the test code,
and refactored slightly some of the code paths,
so it has an RXTX buffer and is able to do the basic
FF-A setup tests.
Also added the cactus-stmm node to the sp_layout
file.
Signed-off-by: Kathleen Capella <kathleen.capella@arm.com>
Change-Id: I05971fc9d63f03bd7ea43b3bcaba5b6362a44ca0
Signed-off-by: J-Alves <joao.alves@arm.com>
diff --git a/tools/generate_json/generate_json.sh b/tools/generate_json/generate_json.sh
index 9d51ba5..11ee2ee 100755
--- a/tools/generate_json/generate_json.sh
+++ b/tools/generate_json/generate_json.sh
@@ -68,7 +68,17 @@
"pm": "cactus-tertiary.dts",
"physical-load-address": "0x7200000",
"owner": "Plat",
- "package": "tl_pkg"
+ "package": "tl_pkg",
+ "size": "0x100000"
+},
+
+"cactus-stmm" : {
+ "image": "cactus.bin",
+ "pm": "cactus-stmm.dts",
+ "physical-load-address": "0x7700000",
+ "owner": "Plat",
+ "package": "tl_pkg",
+ "size": "0x300000"
EOF
PARTITION_ALREADY_PRESENT=true
fi
@@ -99,7 +109,8 @@
"pm": "ivy-sel1.dts",
"physical-load-address": "0x7600000",
"owner": "Plat",
- "package":"tl_pkg"
+ "package":"tl_pkg",
+ "size": "0x100000"
}
EOF