RSE: Replace TC2 jobs with TC3
The TC3 FVP and software stack have been released publicly and TC2 will
likely be deprecated soon, so switch RSE testing over to TC3.
Signed-off-by: Jamie Fox <jamie.fox@arm.com>
Change-Id: I0414934776f2689a5618379734204269ca776dc1
diff --git a/build_helper/build_helper_config_maps.py b/build_helper/build_helper_config_maps.py
index 4649259..5e5aae5 100644
--- a/build_helper/build_helper_config_maps.py
+++ b/build_helper/build_helper_config_maps.py
@@ -25,7 +25,7 @@
"arm/corstone1000" : "corstone1000",
"arm/mps4/corstone315" : "corstone315",
"arm/mps3/corstone310/fvp" : "corstone310",
- "arm/rse/tc/tc2" : "RSE_TC2",
+ "arm/rse/tc/tc3" : "RSE_TC3",
"arm/rse/rdfremont" : "RSE_RDFremont",
"arm/rse/automotive_rd/rd1ae" : "RSE_RD1AE",
"cypress/psoc64" : "psoc64",
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index c370410..d64a60e 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -115,7 +115,7 @@
"-o %(ci_build_root_dir)s/"
"spe/bin/tfm.hex -Intel; "
"fi;"),
- "arm/rse/tc/tc2": ("if [ -f \"%(ci_build_root_dir)s/spe/bin/rse_bl1_tests.bin\" ]; then "
+ "arm/rse/tc/tc3": ("if [ -f \"%(ci_build_root_dir)s/spe/bin/rse_bl1_tests.bin\" ]; then "
"srec_cat "
"%(ci_build_root_dir)s/spe/bin/bl1_1.bin -Binary -offset 0x0 "
"%(ci_build_root_dir)s/spe/bin/rse_bl1_tests.bin -Binary -offset 0x10000 "
@@ -127,15 +127,15 @@
"%(ci_build_root_dir)s/spe/bin/rom_dma_ics.bin -Binary -offset 0x1F000 "
"-o %(ci_build_root_dir)s/spe/bin/rom.bin -Binary;"
"fi;"
- "curl --fail --no-progress-meter --connect-timeout 10 --retry 6 -LS -o fiptool https://downloads.trustedfirmware.org/tf-m/rse/tc/fiptool;"
+ "curl --fail --no-progress-meter --connect-timeout 10 --retry 6 -LS -o fiptool https://downloads.trustedfirmware.org/tf-m/rse/tc/tc3/fiptool;"
"chmod 755 fiptool;"
- "curl --fail --no-progress-meter --connect-timeout 10 --retry 6 -LS -o fip.bin https://downloads.trustedfirmware.org/tf-m/rse/tc/fip.bin;"
+ "curl --fail --no-progress-meter --connect-timeout 10 --retry 6 -LS -o fip.bin https://downloads.trustedfirmware.org/tf-m/rse/tc/tc3/fip.bin;"
"./fiptool update "
- "--align 8192 --rss-bl2 %(ci_build_root_dir)s/spe/bin/bl2_signed.bin "
- "--align 8192 --rss-s %(ci_build_root_dir)s/spe/bin/tfm_s_encrypted.bin "
- "--align 8192 --rss-ns %(ci_build_root_dir)s/nspe/bin/tfm_ns_encrypted.bin "
- "--align 8192 --rss-sic-tables-s %(ci_build_root_dir)s/spe/bin/tfm_s_sic_tables_signed.bin "
- "--align 8192 --rss-sic-tables-ns %(ci_build_root_dir)s/nspe/bin/tfm_ns_sic_tables_signed.bin "
+ "--align 8192 --rse-bl2 %(ci_build_root_dir)s/spe/bin/bl2_signed.bin "
+ "--align 8192 --rse-s %(ci_build_root_dir)s/spe/bin/tfm_s_encrypted.bin "
+ "--align 8192 --rse-ns %(ci_build_root_dir)s/nspe/bin/tfm_ns_encrypted.bin "
+ "--align 8192 --rse-sic-tables-s %(ci_build_root_dir)s/spe/bin/tfm_s_sic_tables_signed.bin "
+ "--align 8192 --rse-sic-tables-ns %(ci_build_root_dir)s/nspe/bin/tfm_ns_sic_tables_signed.bin "
"--out %(ci_build_root_dir)s/spe/bin/host_flash.bin "
"fip.bin"),
"stm/stm32l562e_dk": ("echo 'STM32L562E-DK board post process';"
@@ -233,7 +233,7 @@
"bl2.bin",
"%(ci_build_root_dir)s/spe/bin/"
"tfm_sign.bin"],
- "arm/rse/tc/tc2": [
+ "arm/rse/tc/tc3": [
"%(ci_build_root_dir)s/spe/bin/rom.bin",
"%(ci_build_root_dir)s/spe/bin/encrypted_cm_provisioning_bundle_0.bin",
"%(ci_build_root_dir)s/spe/bin/encrypted_dm_provisioning_bundle_0.bin",
@@ -348,11 +348,11 @@
# MUSCA_S1_GCC_1_RegBL2_RegS_RegNS_Release_BL2_CC_DRIVER_PSA
("arm/musca_s1", "GCC_10_3", "1",
"RegBL2, RegS, RegNS", "OFF", "Release", True, "", "CC_DRIVER_PSA"),
- # RSE_TC2_GCC_2_RegS_RegNS_Debug_BL2
- ("arm/rse/tc/tc2", "GCC_10_3", "2",
+ # RSE_TC3_GCC_2_RegS_RegNS_Debug_BL2
+ ("arm/rse/tc/tc3", "GCC_10_3", "2",
"RegS, RegNS", "OFF", "Debug", True, "", ""),
- # RSE_TC2_GCC_2_RegBL1_1_Debug_BL2
- ("arm/rse/tc/tc2", "GCC_10_3", "2",
+ # RSE_TC3_GCC_2_RegBL1_1_Debug_BL2
+ ("arm/rse/tc/tc3", "GCC_10_3", "2",
"RegBL1_1", "OFF", "Debug", True, "", ""),
# RSE_RDFremont_GCC_2_Release_BL2_NSOFF_CFG0
("arm/rse/rdfremont", "GCC_10_3", "2",
@@ -911,8 +911,8 @@
"invalid": _common_tfm_invalid_configs + []
}
-config_rse = {"seed_params": {
- "tfm_platform": ["arm/rse/tc/tc2"],
+config_rse_tc3 = {"seed_params": {
+ "tfm_platform": ["arm/rse/tc/tc3"],
"compiler": ["GCC_10_3"],
"isolation_level": ["1", "2"],
"test_regression": ["OFF", "RegS, RegNS"],
@@ -925,7 +925,7 @@
"common_params": _common_tfm_builder_cfg,
"invalid": _common_tfm_invalid_configs + [
# BL2 is too large for RSE in Debug builds with tests
- ("arm/rse/tc/tc2", "GCC_10_3", "*", "RegBL2, RegS, RegNS", "*",
+ ("arm/rse/tc/tc3", "GCC_10_3", "*", "RegBL2, RegS, RegNS", "*",
"Debug", True, "*", "*"),
]
}
@@ -1262,7 +1262,7 @@
"nightly_corstone310_pacbti" : config_corstone310_pacbti,
"nightly_corstone315": config_corstone315,
"nightly_corstone1000": config_corstone1000,
- "nightly_rse": config_rse,
+ "nightly_rse_tc3": config_rse_tc3,
"nightly_rse_rdfremont": config_rse_rdfremont,
"nightly_rse_rd1ae": config_rse_rd1ae,
"nightly_psoc64": config_psoc64,
@@ -1288,7 +1288,7 @@
"release_cs300_fvp": config_cs300_fvp,
"release_corstone310": config_corstone310,
"release_corstone315": config_corstone315,
- "release_rse": config_rse,
+ "release_rse_tc3": config_rse_tc3,
"release_rse_rdfremont": config_rse_rdfremont,
"release_rse_rd1ae": config_rse_rd1ae,
"release_psoc64": config_psoc64,
@@ -1321,7 +1321,7 @@
"musca_s1": config_musca_s1,
"corstone310": config_corstone310,
"corstone315": config_corstone315,
- "rse": config_rse,
+ "rse_tc3": config_rse_tc3,
"rse_rdfremont": config_rse_rdfremont,
"rse_rd1ae": config_rse_rd1ae,
"cypress_psoc64": config_psoc64,
diff --git a/lava_helper/jinja2_templates/fvp_rse_tc2.jinja2 b/lava_helper/jinja2_templates/fvp_rse_tc3.jinja2
similarity index 76%
rename from lava_helper/jinja2_templates/fvp_rse_tc2.jinja2
rename to lava_helper/jinja2_templates/fvp_rse_tc3.jinja2
index a7e0f8e..9e7ef8a 100644
--- a/lava_helper/jinja2_templates/fvp_rse_tc2.jinja2
+++ b/lava_helper/jinja2_templates/fvp_rse_tc3.jinja2
@@ -27,11 +27,11 @@
failure_retry: 3
method: fvp
docker:
- name: {{ docker_prefix }}/fvp:fvp_tc2_0.0_8294_linux64
+ name: {{ docker_prefix }}/fvp:fvp_tc3_11.26_16_linux64
local: true
prompts:
- 'root@lava '
- image: /opt/model/FVP_TC2/models/Linux64_GCC-9.3/FVP_TC2
+ image: /opt/model/FVP_TC3/models/Linux64_GCC-9.3/FVP_TC3
timeout:
minutes: 10
console_string: 'terminal_s1: Listening for serial connection on port (?P<PORT>\d+)'
@@ -39,15 +39,15 @@
use_telnet: True
arguments:
- "--simlimit 900"
- - "-C css.rse.rom.raw_image={ROM}"
- - "--data css.rse.sram0={CM_PROVISIONING_BUNDLE}@0x400"
- - "--data css.rse.sram1={DM_PROVISIONING_BUNDLE}@0x0"
+ - "-C css.sms.rse.rom.raw_image={ROM}"
+ - "--data css.sms.rse.sram0={CM_PROVISIONING_BUNDLE}@0x400"
+ - "--data css.sms.rse.sram1={DM_PROVISIONING_BUNDLE}@0x0"
- "-C board.flashloader0.fname={FLASH}"
- "-C displayController=2"
- - "-C css.rse.sic.SIC_AUTH_ENABLE=1"
- - "-C css.rse.sic.SIC_DECRYPT_ENABLE=1"
- - "-C css.rse.VMADDRWIDTH=16"
- - "-C css.rse.intchecker.ICBC_RESET_VALUE=0x0000011B"
+ - "-C css.sms.rse.sic.SIC_AUTH_ENABLE=1"
+ - "-C css.sms.rse.sic.SIC_DECRYPT_ENABLE=1"
+ - "-C css.sms.rse.VMADDRWIDTH=16"
+ - "-C css.sms.rse.intchecker.ICBC_RESET_VALUE=0x0000011B"
- "-C soc.pl011_uart1.shutdown_on_eot=1"
- "-C disable_visualisation=1"
diff --git a/lava_helper/lava_helper_configs.py b/lava_helper/lava_helper_configs.py
index 1e5d809..be359b0 100644
--- a/lava_helper/lava_helper_configs.py
+++ b/lava_helper/lava_helper_configs.py
@@ -284,16 +284,16 @@
}
}
-# RSE on TC2 FVP
-fvp_rse_tc2 = {
- "templ": "fvp_rse_tc2.jinja2",
- "job_name": "fvp_rse_tc2",
+# RSE on TC3 FVP
+fvp_rse_tc3 = {
+ "templ": "fvp_rse_tc3.jinja2",
+ "job_name": "fvp_rse_tc3",
"device_type": "fvp",
"job_timeout": 15,
"action_timeout": 10,
"monitor_timeout": 15,
"poweroff_timeout": 1,
- "platforms": {"arm/rse/tc/tc2": ""},
+ "platforms": {"arm/rse/tc/tc3": ""},
"binaries": {
"rom": {
"data": "spe/bin/rom.bin"
@@ -477,7 +477,7 @@
"fvp_mps2_an519_bl2": fvp_mps2_an519_bl2,
"fvp_mps4_cs315_bl1_bl2": fvp_mps4_cs315_bl1_bl2,
"fvp_corstone1000": fvp_corstone1000,
- "fvp_rse_tc2": fvp_rse_tc2,
+ "fvp_rse_tc3": fvp_rse_tc3,
"qemu_mps2_bl2": qemu_mps2_bl2,
"musca_b1": musca_b1_bl2,
"stm32l562e_dk": stm32l562e_dk,