-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathfastboot.jinja2
More file actions
53 lines (50 loc) · 1.44 KB
/
fastboot.jinja2
File metadata and controls
53 lines (50 loc) · 1.44 KB
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
- deploy:
images:
image:
url: '{{ node.artifacts.kernel }}'
dtb:
url: '{{ node.artifacts.dtb }}'
ramdisk:
url: 'http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20230703.0/{{ brarch }}/rootfs.cpio.gz'
compression: gz
format: cpio.newc
overlays:
lava: true
modules:
url: '{{ node.artifacts.modules }}'
compression: xz
format: tar
path: /
{% set dtb = device_dtb.split('/')[-1] %}
{%- if node.artifacts.kselftest_tar_gz %}
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
postprocess:
docker:
image: ghcr.io/mwasilew/docker-mkbootimage:master
steps:
- mkbootimg --header_version 2 --kernel Image --dtb {{ dtb }} --cmdline "console=ttyMSM0,115200n8 earlycon qcom_geni_serial.con_enabled=1 mem_sleep_default=s2idle mitigations=auto video=efifb:off" --ramdisk rootfs.cpio.gz --output boot.img
to: downloads
- deploy:
images:
boot:
url: 'downloads://boot.img'
timeout:
minutes: 2
to: download
- boot:
prompts:
- '/ #'
failure_retry: 3
timeout:
minutes: 10
timeouts:
bootloader-commands:
minutes: 3
auto-login-action:
minutes: 2
method: fastboot