blob: e7c7a548f0a81aa14fb7f9adc2945b0c9218913b [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:
17 minutes: 10
Fathi Boudra83e4f292020-12-04 22:33:40 +010018- test:
19 monitors:
Xinyu Zhangaad0e642022-08-09 14:28:58 +080020 {%- for monitor in test.monitors %}
21 - 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 %}
31 'SIM ERROR': fail
32 {%- endfor %}
Fathi Boudra83e4f292020-12-04 22:33:40 +010033
34context:
35 arch: arm
36 cpu: 'cortex-m33'
37 machine: mps2-an521
38 serial: '-serial mon:stdio'
39 vga: '-vga none'
40 memory: 16M
41 model: model=lan9118
42
43device_type: {{ device_type }}
44job_name: {{ job_name }}
45priority: medium
Fathi Boudra83e4f292020-12-04 22:33:40 +010046visibility: public
47
Xinyu Zhangaad0e642022-08-09 14:28:58 +080048timeouts:
49 job:
50 minutes: {{ job_timeout }}
51 action:
52 minutes: {{ action_timeout }}
53 actions:
54 power-off:
55 minutes: {{ poweroff_timeout }}
56 connections:
57 lava-test-monitor:
58 minutes: {{ monitor_timeout }}
59
Fathi Boudra83e4f292020-12-04 22:33:40 +010060metadata:
61 build_no: {{ build_no }}
62 compiler: {{ compiler }}
63 build_type: {{ build_type }}
64 boot_type: {{ boot_type }}
65 name: {{ name }}
66 platform: {{ platform }}
67 build_name: {{ build_name }}
68 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