blob: 2a6da2db434fe29c3c6d12701b99862296818fdd [file] [log] [blame]
Fathi Boudra83e4f292020-12-04 22:33:40 +01001{#------------------------------------------------------------------------------
Xinyu Zhang28d61b42022-03-21 16:46:35 +08002# Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved.
Fathi Boudra83e4f292020-12-04 22:33:40 +01003#
4# SPDX-License-Identifier: BSD-3-Clause
5#
6#-----------------------------------------------------------------------------#}
7actions:
8- deploy:
9 images:
10 mcuboot: {image_arg: '-device loader,file={mcuboot},addr=0x10000000', url: '{{ bootloader_url }}'}
11 tfm: {image_arg: '-device loader,file={tfm},addr=0x10080000', url: '{{ firmware_url }}'}
Fathi Boudra83e4f292020-12-04 22:33:40 +010012 to: tmpfs
13- boot:
Fathi Boudra2abf97e2020-12-17 11:45:22 +010014 docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'}
Fathi Boudra83e4f292020-12-04 22:33:40 +010015 method: qemu
Xinyu Zhangaad0e642022-08-09 14:28:58 +080016 timeout:
Xinyu Zhang5dcb0d52022-10-24 14:10:19 +080017 minutes: 25
Fathi Boudra83e4f292020-12-04 22:33:40 +010018- test:
19 monitors:
Xinyu Zhang22a12752022-10-10 17:21:21 +080020 {%- for monitor in monitors %}
Xinyu Zhangaad0e642022-08-09 14:28:58 +080021 - name: "{{monitor.name}}"
22 start: "{{monitor.start}}"
23 end: "{{monitor.end}}"
24 pattern: "{{monitor.pattern}}"
Fathi Boudra83e4f292020-12-04 22:33:40 +010025 fixupdict:
Xinyu Zhangaad0e642022-08-09 14:28:58 +080026 '{{monitor.fixup.pass}}': pass
27 '{{monitor.fixup.fail}}': fail
28 {%- if monitor.fixup.skip %}
29 '{{monitor.fixup.skip}}': skip
30 {%- endif %}
Xinyu Zhang22a12752022-10-10 17:21:21 +080031 {%- if monitor.fixup.sim_error %}
32 '{{monitor.fixup.sim_error}}': fail
33 {%- endif %}
Xinyu Zhangaad0e642022-08-09 14:28:58 +080034 {%- endfor %}
Fathi Boudra83e4f292020-12-04 22:33:40 +010035
36context:
37 arch: arm
38 cpu: 'cortex-m33'
39 machine: mps2-an521
40 serial: '-serial mon:stdio'
41 vga: '-vga none'
42 memory: 16M
43 model: model=lan9118
44
45device_type: {{ device_type }}
46job_name: {{ job_name }}
47priority: medium
Fathi Boudra83e4f292020-12-04 22:33:40 +010048visibility: public
49
Xinyu Zhangaad0e642022-08-09 14:28:58 +080050timeouts:
51 job:
52 minutes: {{ job_timeout }}
53 action:
54 minutes: {{ action_timeout }}
55 actions:
56 power-off:
57 minutes: {{ poweroff_timeout }}
58 connections:
59 lava-test-monitor:
60 minutes: {{ monitor_timeout }}
61
Fathi Boudra83e4f292020-12-04 22:33:40 +010062metadata:
63 build_no: {{ build_no }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010064 name: {{ name }}
65 platform: {{ platform }}
66 build_name: {{ build_name }}
Xinyu Zhang82dab282022-10-09 16:33:19 +080067 device_type: {{ device_type }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010068 build_job_url: {{ build_job_url }}
Xinyu Zhang28d61b42022-03-21 16:46:35 +080069 firmware_url: {{ firmware_url }}
70 bootloader_url: {{ bootloader_url }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010071