-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathu-boot.jinja2
More file actions
57 lines (55 loc) · 1.42 KB
/
u-boot.jinja2
File metadata and controls
57 lines (55 loc) · 1.42 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
54
55
56
57
{%- if boot_commands == 'nfs' and nfsroot is not defined %}
{%- set nfsroot = 'http://storage.kernelci.org/images/rootfs/debian/bookworm-kselftest/20250117.0/' + debarch %}
{%- endif %}
- deploy:
kernel:
type: {{ node.data.kernel_type }}
url: '{{ node.artifacts.kernel }}'
modules:
compression: xz
url: '{{ node.artifacts.modules }}'
{%- if device_dtb %}
dtb:
url: '{{ node.artifacts.dtb }}'
{%- endif %}
{%- if boot_commands == 'nfs' %}
nfsrootfs:
url: '{{ nfsroot }}/full.rootfs.tar.xz'
format: tar
compression: xz
{%- if node.artifacts.kselftest_tar_gz %}
overlays:
kselftest:
url: {{ node.artifacts.kselftest_tar_gz }}
compression: gz
format: tar
path: /opt/kselftest
{%- endif %}
ramdisk:
url: '{{ nfsroot }}/initrd.cpio.gz'
compression: gz
os: debian
{%- else %}
ramdisk:
url: 'http://storage.kernelci.org/images/rootfs/buildroot/buildroot-baseline/20230703.0/{{ brarch }}/rootfs.cpio.gz'
compression: gz
os: oe
{%- endif %}
timeout:
minutes: 10
to: tftp
- boot:
method: u-boot
commands: {{ boot_commands | default('ramdisk', true) }}
failure_retry: 3
prompts:
- '/ #'
timeout:
minutes: 20
timeouts:
bootloader-commands:
minutes: 3
auto-login-action:
minutes: 6
login-action:
minutes: 2