diff options
author | Lokesh B V <lokesh.bv@arm.com> | 2019-12-16 10:32:01 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-12-16 10:35:31 +0530 |
commit | e4531a7430d2057d185c3c1fb6b75955f521a93f (patch) | |
tree | 71cc0d31a23e7c0e7ef270d11a91997ce3a41558 | |
parent | 4408fcc777d0ea7095b259202e603f36750af546 (diff) |
rddaniel: Add TZC bypass model parmeters
By default TZC model block all the accesses to DRAM. So this
patch sets the model parameters required to bypass the TZC.
Change-Id: Ieebb67f741fe5fa2e1096b6249aff1ae27c126cf
Signed-off-by: Lokesh B V <lokesh.bv@arm.com>
-rwxr-xr-x | rdinfra/platforms/rddaniel/run_model.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rdinfra/platforms/rddaniel/run_model.sh b/rdinfra/platforms/rddaniel/run_model.sh index f1e0a89..bebce27 100755 --- a/rdinfra/platforms/rddaniel/run_model.sh +++ b/rdinfra/platforms/rddaniel/run_model.sh @@ -249,6 +249,21 @@ echo ${MODEL} --version export FASTSIM_CMN600_INTERNAL_RNSAM=1 +TZC_BYPASS_PARAMS=" \ + -C css.mem.tzc0.tzc400.rst_gate_keeper=0x0f \ + -C css.mem.tzc0.tzc400.rst_region_attributes_0=0xc000000f \ + -C css.mem.tzc0.tzc400.rst_region_id_access_0=0xffffffff \ + -C css.mem.tzc1.tzc400.rst_gate_keeper=0x0f \ + -C css.mem.tzc1.tzc400.rst_region_attributes_0=0xc000000f \ + -C css.mem.tzc1.tzc400.rst_region_id_access_0=0xffffffff \ + -C css.mem.tzc2.tzc400.rst_gate_keeper=0x0f \ + -C css.mem.tzc2.tzc400.rst_region_attributes_0=0xc000000f \ + -C css.mem.tzc2.tzc400.rst_region_id_access_0=0xffffffff \ + -C css.mem.tzc3.tzc400.rst_gate_keeper=0x0f \ + -C css.mem.tzc3.tzc400.rst_region_attributes_0=0xc000000f \ + -C css.mem.tzc3.tzc400.rst_region_id_access_0=0xffffffff \ + " + PARAMS="-C css.cmn_rhodes.mesh_config_file=$PATH_TO_MODEL/rhodes_daniel_cfgm.yml \ -C css.cmn_rhodes.force_on_from_start=1 \ --data css.scp.armcortexm7ct=$OUTDIR/scp_ramfw.bin@0x0BD80000 \ @@ -270,6 +285,7 @@ PARAMS="-C css.cmn_rhodes.mesh_config_file=$PATH_TO_MODEL/rhodes_daniel_cfgm.yml -C soc.pl011_uart1.unbuffered_output=1 \ -C css.pl011_uart_ap.unbuffered_output=1 \ ${MODEL_PARAMS} \ + ${TZC_BYPASS_PARAMS} \ ${EXTRA_MODEL_PARAMS}" if [ "$AUTOMATE" == "true" ] ; then |