diff options
author | Arthur She <arthur.she@linaro.org> | 2023-02-16 14:53:13 -0800 |
---|---|---|
committer | Arthur She <arthur.she@linaro.org> | 2023-04-07 08:33:40 -0700 |
commit | ec916362f6bba0dba82258a65d6f868e8b1b1f9d (patch) | |
tree | 881c8e783a060e7a6817fc5f08fc006876229bdf | |
parent | 09fa3ec89fa6e9a287047bf271ad75776898036e (diff) |
Enable B-U585I-IOT02A LAVA testarthur-stm32u5-lava
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I7081d144bbfb40c23d561a8b1d2574b47111d568
-rwxr-xr-x | build_helper/build_helper_configs.py | 2 | ||||
-rw-r--r-- | lava_helper/jinja2_templates/b_u585i_iot02a.jinja2 | 45 | ||||
-rw-r--r-- | lava_helper/lava_helper_configs.py | 19 |
3 files changed, 65 insertions, 1 deletions
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py index 4e2acd2..f19ddce 100755 --- a/build_helper/build_helper_configs.py +++ b/build_helper/build_helper_configs.py @@ -784,7 +784,7 @@ config_b_u585i_iot02a = {"seed_params": { "isolation_level": ["1", "2"], "test_regression": [True, False], "test_psa_api": ["OFF"], - "cmake_build_type": ["Release"], + "cmake_build_type": ["Release", "Debug"], "with_bl2": [True], "profile": [""], "extra_params": [""] diff --git a/lava_helper/jinja2_templates/b_u585i_iot02a.jinja2 b/lava_helper/jinja2_templates/b_u585i_iot02a.jinja2 new file mode 100644 index 0000000..f95c437 --- /dev/null +++ b/lava_helper/jinja2_templates/b_u585i_iot02a.jinja2 @@ -0,0 +1,45 @@ +{#------------------------------------------------------------------------------ +# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# +#-----------------------------------------------------------------------------#} +{% extends 'jinja2_templates/base.jinja2' %} +{% block actions %} +actions: + - deploy: + timeout: + minutes: 12 + to: flasher + images: + tarball: + url: {{ tarball_url }} + + - boot: + method: minimal + + - test: + monitors: + {%- for monitor in monitors %} + - name: "{{monitor.name}}" + start: "{{monitor.start}}" + end: "{{monitor.end}}" + pattern: "{{monitor.pattern}}" + fixupdict: + '{{monitor.fixup.pass}}': pass + '{{monitor.fixup.fail}}': fail + {%- if monitor.fixup.skip %} + '{{monitor.fixup.skip}}': skip + {%- endif %} + {% endfor %} +{% endblock %} + +{% block metadata %} +metadata: + build_no: {{ build_no }} + name: {{ name }} + platform: {{ platform }} + build_name: {{ build_name }} + device_type: {{ device_type }} + build_job_url: {{ build_job_url }} +{% endblock %} diff --git a/lava_helper/lava_helper_configs.py b/lava_helper/lava_helper_configs.py index fea1161..8d161a3 100644 --- a/lava_helper/lava_helper_configs.py +++ b/lava_helper/lava_helper_configs.py @@ -237,6 +237,24 @@ stm32l562e_dk = { } } +# STM32U5 B-U585I-IOT02A +b_u585i_iot02a = { + "templ": "b_u585i_iot02a.jinja2", + "job_name": "b_u585i_iot02a", + "device_type": "b-u585i-iot02a", + "job_timeout": 24, + "action_timeout": 15, + "monitor_timeout": 15, + "poweroff_timeout": 5, + "platforms": {"stm/b_u585i_iot02a": ""}, + "binaries": { + "tarball": "b_u585i_iot02a-tfm.tar.bz2", + }, + "monitors": { + 'reg_tests': [monitors_mcuboot_tests, monitors_s_reg_tests, monitors_ns_reg_tests], + } +} + # LPCxpresso55S69 lpcxpresso55s69 = { "templ": "lpcxpresso55s69.jinja2", @@ -284,6 +302,7 @@ lava_gen_config_map = { "qemu_mps2_bl2": qemu_mps2_bl2, "musca_b1": musca_b1_bl2, "stm32l562e_dk": stm32l562e_dk, + "b_u585i_iot02a": b_u585i_iot02a, "psoc64": psoc64, } |