aboutsummaryrefslogtreecommitdiff
path: root/lkft/lava-job-definitions/common/devices/dragonboard-845c
blob: 1f391a4bce8a47838906b7313f14e2e31e2b3286 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{% extends "template-lkft.yaml" %}

{% block device_type %}dragonboard-845c{% endblock %}
{% block device_tags %}
tags:
- lcg
{% endblock device_tags %}

{% block deploy_target %}
- deploy:
    timeout:
      minutes: 15
    to: fastboot
    namespace: target
    connection: lxc
    images:
      "partition:0":
        url: "https://images.validation.linaro.org/snapshots.linaro.org/96boards/dragonboard845c/linaro/rescue/69/dragonboard-845c-bootloader-ufs-aosp-69/gpt_both0.bin"
      boot:
        url: {{DOWNLOAD_URL}}/boot.img.xz
        compression: xz
      userdata:
        url: {{REFERENCE_BUILD_URL}}/userdata.img.xz
        compression: xz
      super:
        url: {{REFERENCE_BUILD_URL}}/super.img.xz
        compression: xz
{% if IMAGE_SUPPORTED_VENDOR_BOOT is defined %}
      vendor_boot:
        url: {{REFERENCE_BUILD_URL}}/vendor_boot.img.xz
        compression: xz
{% endif %}
{% if IMAGE_SUPPORTED_CACHE is defined %}
      cache:
        url: {{REFERENCE_BUILD_URL}}/cache.img.xz
        compression: xz
{% endif %}
    protocols:
      lava-lxc:
      - action: fastboot-deploy
        request: pre-power-command
        timeout:
          minutes: 2
{% endblock deploy_target %}

{% block boot_target %}
- boot:
    namespace: target
    prompts:
    - 'root@(.*):/#'
    - 'console:/'
    timeout:
      minutes: 15
    method: fastboot
    commands:
    - oem select-display-panel hdmi
    - reboot bootloader
    - oem select-display-panel hdmi
    - reboot bootloader
    - oem select-display-panel hdmi
    - reboot
{% endblock boot_target %}

{% block test_target %}
{% endblock test_target %}