job_name: mesa-tracie-{{ gpu_version }} {{ pipeline_info }}
device_type: {{ device_type }}
+context:
+ extra_nfsroot_args: " init=/init rootwait"
timeouts:
job:
minutes: 40
{% if kernel_image_type %}
{{ kernel_image_type }}
{% endif %}
- ramdisk:
- url: {{ base_artifacts_url }}/lava-rootfs.cpio.gz
+ nfsrootfs:
+ url: {{ base_artifacts_url }}/lava-rootfs.tgz
compression: gz
+{% if dtb %}
dtb:
- url: {{ base_artifacts_url }}/{{ device_type }}.dtb
+ url: {{ base_artifacts_url }}/{{ dtb }}.dtb
+{% endif %}
os: oe
- boot:
timeout:
download_command: wget -S --progress=dot:giga
unpack_command: tar -C / -xzf
{% else %}
- commands: ramdisk
+ commands: nfs
{% endif %}
prompts:
- 'lava-shell:'
- mkdir -p /dev/pts
- mount -t devpts devpts /dev/pts
- echo "nameserver 8.8.8.8" > /etc/resolv.conf
- - date "+%Y%m%d %H%M" -s "{{ date }}"
+ - for i in 1 2 3; do sntp -sS pool.ntp.org && break || sleep 2; done
+ # amdgpu failed to find its firmware during boot, rebind
+ - echo 0000:00:01.0 > /sys/bus/pci/drivers/amdgpu/bind || true
{% if env_vars %}
- export {{ env_vars }}