blob: 84f32fd13d5f7dd6269859943664905165b07073 [file] [log] [blame]
Fathi Boudra83e4f292020-12-04 22:33:40 +01001{#------------------------------------------------------------------------------
Gergely Korcsákac2d0f02024-05-28 08:23:04 +02002# Copyright (c) 2019-2024, 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:
Gergely Korcsákac2d0f02024-05-28 08:23:04 +020010{% for name, img in binaries.items() %}
11 {{ name }}:
12 image_arg: "{{ '-device loader,file={' ~ name ~ '},addr=' ~ img.offset }}"
13 url: {{ data_url_prefix }}/{{ img.data }}
14{% endfor %}
Fathi Boudra83e4f292020-12-04 22:33:40 +010015 to: tmpfs
16- boot:
Fathi Boudra2abf97e2020-12-17 11:45:22 +010017 docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'}
Fathi Boudra83e4f292020-12-04 22:33:40 +010018 method: qemu
Xinyu Zhangaad0e642022-08-09 14:28:58 +080019 timeout:
Xinyu Zhang5dcb0d52022-10-24 14:10:19 +080020 minutes: 25
Fathi Boudra83e4f292020-12-04 22:33:40 +010021- test:
22 monitors:
Xinyu Zhang22a12752022-10-10 17:21:21 +080023 {%- for monitor in monitors %}
Xinyu Zhangaad0e642022-08-09 14:28:58 +080024 - name: "{{monitor.name}}"
25 start: "{{monitor.start}}"
26 end: "{{monitor.end}}"
27 pattern: "{{monitor.pattern}}"
Fathi Boudra83e4f292020-12-04 22:33:40 +010028 fixupdict:
Xinyu Zhangaad0e642022-08-09 14:28:58 +080029 '{{monitor.fixup.pass}}': pass
30 '{{monitor.fixup.fail}}': fail
31 {%- if monitor.fixup.skip %}
32 '{{monitor.fixup.skip}}': skip
33 {%- endif %}
Xinyu Zhang22a12752022-10-10 17:21:21 +080034 {%- if monitor.fixup.sim_error %}
35 '{{monitor.fixup.sim_error}}': fail
36 {%- endif %}
Xinyu Zhangaad0e642022-08-09 14:28:58 +080037 {%- endfor %}
Fathi Boudra83e4f292020-12-04 22:33:40 +010038
39context:
40 arch: arm
41 cpu: 'cortex-m33'
42 machine: mps2-an521
43 serial: '-serial mon:stdio'
44 vga: '-vga none'
45 memory: 16M
46 model: model=lan9118
47
48device_type: {{ device_type }}
49job_name: {{ job_name }}
50priority: medium
Fathi Boudra83e4f292020-12-04 22:33:40 +010051visibility: public
52
Xinyu Zhangaad0e642022-08-09 14:28:58 +080053timeouts:
54 job:
55 minutes: {{ job_timeout }}
56 action:
57 minutes: {{ action_timeout }}
58 actions:
59 power-off:
60 minutes: {{ poweroff_timeout }}
61 connections:
62 lava-test-monitor:
63 minutes: {{ monitor_timeout }}
64
Fathi Boudra83e4f292020-12-04 22:33:40 +010065metadata:
66 build_no: {{ build_no }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010067 name: {{ name }}
68 platform: {{ platform }}
69 build_name: {{ build_name }}
Xinyu Zhang82dab282022-10-09 16:33:19 +080070 device_type: {{ device_type }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010071 build_job_url: {{ build_job_url }}
Xinyu Zhang28d61b42022-03-21 16:46:35 +080072 firmware_url: {{ firmware_url }}
73 bootloader_url: {{ bootloader_url }}
Fathi Boudra83e4f292020-12-04 22:33:40 +010074