| {#------------------------------------------------------------------------------ |
| # Copyright (c) 2019-2024, Arm Limited and Contributors. All rights reserved. |
| # |
| # SPDX-License-Identifier: BSD-3-Clause |
| # |
| #-----------------------------------------------------------------------------#} |
| actions: |
| - deploy: |
| images: |
| {% for name, img in binaries.items() %} |
| {{ name }}: |
| image_arg: "{{ '-device loader,file={' ~ name ~ '},addr=' ~ img.offset }}" |
| url: {{ data_url_prefix }}/{{ img.data }} |
| {% endfor %} |
| to: tmpfs |
| - boot: |
| docker: {binary: /usr/bin/qemu-system-arm, image: 'trustedfirmware/ci-amd64-tf-m-qemu-debian:bullseye'} |
| method: qemu |
| timeout: |
| minutes: 25 |
| - 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 %} |
| {%- if monitor.fixup.sim_error %} |
| '{{monitor.fixup.sim_error}}': fail |
| {%- endif %} |
| {%- endfor %} |
| |
| context: |
| arch: arm |
| cpu: 'cortex-m33' |
| machine: mps2-an521 |
| serial: '-serial mon:stdio' |
| vga: '-vga none' |
| memory: 16M |
| model: model=lan9118 |
| |
| device_type: {{ device_type }} |
| job_name: {{ job_name }} |
| priority: medium |
| visibility: public |
| |
| timeouts: |
| job: |
| minutes: {{ job_timeout }} |
| action: |
| minutes: {{ action_timeout }} |
| actions: |
| power-off: |
| minutes: {{ poweroff_timeout }} |
| connections: |
| lava-test-monitor: |
| minutes: {{ monitor_timeout }} |
| |
| metadata: |
| build_no: {{ build_no }} |
| name: {{ name }} |
| platform: {{ platform }} |
| build_name: {{ build_name }} |
| device_type: {{ device_type }} |
| build_job_url: {{ build_job_url }} |
| firmware_url: {{ firmware_url }} |
| bootloader_url: {{ bootloader_url }} |
| |