Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 1 | {#------------------------------------------------------------------------------ |
Xinyu Zhang | 28d61b4 | 2022-03-21 16:46:35 +0800 | [diff] [blame] | 2 | # Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved. |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #-----------------------------------------------------------------------------#} |
| 7 | actions: |
| 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 Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 12 | to: tmpfs |
| 13 | - boot: |
Fathi Boudra | 2abf97e | 2020-12-17 11:45:22 +0100 | [diff] [blame] | 14 | docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 15 | method: qemu |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 16 | timeout: |
| 17 | minutes: 10 |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 18 | - test: |
| 19 | monitors: |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 20 | {%- for monitor in test.monitors %} |
| 21 | - name: "{{monitor.name}}" |
| 22 | start: "{{monitor.start}}" |
| 23 | end: "{{monitor.end}}" |
| 24 | pattern: "{{monitor.pattern}}" |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 25 | fixupdict: |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 26 | '{{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 Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 33 | |
| 34 | context: |
| 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 | |
| 43 | device_type: {{ device_type }} |
| 44 | job_name: {{ job_name }} |
| 45 | priority: medium |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 46 | visibility: public |
| 47 | |
Xinyu Zhang | aad0e64 | 2022-08-09 14:28:58 +0800 | [diff] [blame] | 48 | timeouts: |
| 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 Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 60 | metadata: |
| 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 Zhang | 28d61b4 | 2022-03-21 16:46:35 +0800 | [diff] [blame] | 69 | firmware_url: {{ firmware_url }} |
| 70 | bootloader_url: {{ bootloader_url }} |
Fathi Boudra | 83e4f29 | 2020-12-04 22:33:40 +0100 | [diff] [blame] | 71 | |