aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/container/lava_arm.sh
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2020-03-03 14:38:09 -0800
committerEric Anholt <[email protected]>2020-03-17 11:11:51 -0700
commit4bc15e78fa51e6c0df491a9fef4f99b2dfad77a9 (patch)
treed4cb4cf33ec4cff0d941697117bf02a6afa2e071 /.gitlab-ci/container/lava_arm.sh
parent8997757c6abfe657a259bc5c681628e70792b67a (diff)
ci: Enable testing GLES2-3 on a530 (Dragonboard 820c).
Following on from the db410c conversion to baremetal testing, reuse the same scripts in the same rack to run 7 db820c boards (#4/8 is failing in the bootloader for unknown reasons). Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4177>
Diffstat (limited to '.gitlab-ci/container/lava_arm.sh')
-rw-r--r--.gitlab-ci/container/lava_arm.sh28
1 files changed, 28 insertions, 0 deletions
diff --git a/.gitlab-ci/container/lava_arm.sh b/.gitlab-ci/container/lava_arm.sh
index 011903e739c..73a0f6da07d 100644
--- a/.gitlab-ci/container/lava_arm.sh
+++ b/.gitlab-ci/container/lava_arm.sh
@@ -68,3 +68,31 @@ set -e
cp .gitlab-ci/create-rootfs.sh /lava-files/rootfs-${DEBIAN_ARCH}/.
chroot /lava-files/rootfs-${DEBIAN_ARCH} sh /create-rootfs.sh
rm /lava-files/rootfs-${DEBIAN_ARCH}/create-rootfs.sh
+
+if [ ${DEBIAN_ARCH} = arm64 ]; then
+ # Pull down a specific build of qcomlt/release/qcomlt-5.4 8c79b3d12355
+ # ("Merge tag 'v5.4.23' into release/qcomlt-5.4"), where I used the
+ # .config from
+ # http://snapshots.linaro.org/96boards/dragonboard820c/linaro/debian/457/config-5.4.0-qcomlt-arm64
+ # with the following merged in:
+ #
+ # CONFIG_DRM=y
+ # CONFIG_DRM_MSM=y
+ # CONFIG_ATL1C=y
+ #
+ # Reason: 5.5 has a big stack of oopses and warns on db820c. 4.14-5.4
+ # linaro kernel binaries (see above .config link) have these as modules
+ # and distributed the modules only in the debian system, not the initrd,
+ # so they're very hard to extract (involving simg2img and loopback
+ # mounting). 4.11 is missing d72fea538fe6 ("drm/msm: Fix the check for
+ # the command size") so it can't actually run fredreno. qcomlt-4.14 is
+ # unstable at boot (~10% instaboot rate). The 5.4 qcomlt kernel with msm
+ # built in seems like the easiest way to go.
+ wget https://people.freedesktop.org/~anholt/qcomlt-5.4-msm-build/Image.gz -O Image.gz \
+ -O /lava-files/db820c-kernel
+ wget https://people.freedesktop.org/~anholt/qcomlt-5.4-msm-build/apq8096-db820c.dtb \
+ -O /lava-files/db820c.dtb
+
+ # Make a gzipped copy of the Image for db410c.
+ gzip -k /lava-files/Image
+fi