aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMax Shvetsov <maksims.svecovs@arm.com>2020-07-01 14:09:48 +0100
committerRuari Phipps <ruari.phipps@arm.com>2020-08-19 11:06:09 +0000
commit93119e3f5c91e6d79b6c917de41091880a2dc2d7 (patch)
tree2cdf8b989e088adec9e6e7fb0ecfad662ba0d0fc /tools
parent953ec59b3ed74380c690e550c85eefe19b07716f (diff)
downloadtf-a-tests-93119e3f5c91e6d79b6c917de41091880a2dc2d7.tar.gz
Cactus: Create tertiary partition
In order to test the RXTX_MAP API a tertiary cactus partition without a RX_TX region specified in its manifest is required. This patch adds this SP which is loaded at 0x730000. The primary and secondary SP's RX_TX regions are moved to allow for this. Signed-off-by: Ruari Phipps <ruari.phipps@arm.com> Change-Id: Idefe4bd7b589e974a0f011ba702763cadfec5df9
Diffstat (limited to 'tools')
-rwxr-xr-xtools/generate_json/generate_json.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/generate_json/generate_json.sh b/tools/generate_json/generate_json.sh
index 74053784..449733ce 100755
--- a/tools/generate_json/generate_json.sh
+++ b/tools/generate_json/generate_json.sh
@@ -17,8 +17,9 @@
GENERATED_JSON=build/$2/$3/sp_layout.json
# To demonstrate communication between SP's, two cactus S-EL1 instances used.
-# cactus-primary and cactus-secondary has same binary but different
-# partition manifest.
+# To also test mapping of the RXTX region a third cactus S-EL1 instance is used.
+# cactus-primary, cactus-secondary and cactus-tertiary have same binary but
+# different partition manifests.
if [ "$1" == "cactus" ]; then
echo -e "{\n\t\"$1-primary\" : {\n \
\t\"image\": \"$1.bin\",\n \
@@ -26,7 +27,9 @@ if [ "$1" == "cactus" ]; then
\t\"owner\": \"SiP\"\n\t},\n\n\t\"$1-secondary\" : {\n \
\t\"image\": \"$1.bin\",\n \
\t\"pm\": \"../../../spm/$1/$1-secondary.dts\",\n \
- \t\"owner\": \"Plat\"\n \
+ \t\"owner\": \"Plat\"\n\t},\n\n\t\"$1-tertiary\" : {\n \
+ \t\"image\": \"$1.bin\",\n \
+ \t\"pm\": \"../../../spm/$1/$1-tertiary.dts\" \n \
}\n}" \
> "$GENERATED_JSON"
else