- .fdo.container-build@debian@arm64v8
- .container
variables:
- FDO_DISTRIBUTION_TAG: &arm_build "2020-07-28-libdrm"
+ FDO_DISTRIBUTION_TAG: &arm_build "2020-08-04-nfs-2"
.use-arm_build:
variables:
extends:
- .use-arm_test-base
variables:
- FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-04-ramdisk-fix"
+ FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-04-nfs-2"
.use-arm64_test:
variables:
bison \
ccache \
cmake \
- cpio \
debootstrap \
fastboot \
flex \
git \
bc \
cmake \
- cpio \
wget \
debootstrap \
libboost-dev \
rm /lava-files/rootfs-${DEBIAN_ARCH}/llvm-snapshot.gpg.key
du -ah /lava-files/rootfs-${DEBIAN_ARCH} | sort -h | tail -100
pushd /lava-files/rootfs-${DEBIAN_ARCH}
- find -H | cpio -H newc -o | gzip -c - > /lava-files/lava-rootfs.cpio.gz
+ tar cvzf /lava-files/lava-rootfs.tgz .
popd
if [ ${DEBIAN_ARCH} = arm64 ]; then
############### Upload the files!
if [ -n "$UPLOAD_FOR_LAVA" ]; then
ci-fairy minio login $CI_JOB_JWT
- FILES_TO_UPLOAD="lava-rootfs.cpio.gz \
+ FILES_TO_UPLOAD="lava-rootfs.tgz \
$KERNEL_IMAGE_NAME"
if [[ -n $DEVICE_TREES ]]; then
job_name: mesa-deqp-{{ deqp_version }}-{{ 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:
download_command: wget -S --progress=dot:giga
unpack_command: tar -C / -xzf
{% else %}
- commands: ramdisk
+ commands: nfs
{% endif %}
prompts:
- 'lava-shell:'
variables:
- DISTRIBUTION_TAG: "2020-08-04-ramdisk-fix"
+ DISTRIBUTION_TAG: "2020-08-03-nfs-2"
.kernel+rootfs:
stage: container-2
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:
download_command: wget -S --progress=dot:giga
unpack_command: tar -C / -xzf
{% else %}
- commands: ramdisk
+ commands: nfs
{% endif %}
prompts:
- 'lava-shell:'
- echo "nameserver 8.8.8.8" > /etc/resolv.conf
- 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 }}