aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci/create-rootfs.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/create-rootfs.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/create-rootfs.sh')
-rw-r--r--.gitlab-ci/create-rootfs.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci/create-rootfs.sh b/.gitlab-ci/create-rootfs.sh
index 1a685156df8..89d50d3f5a1 100644
--- a/.gitlab-ci/create-rootfs.sh
+++ b/.gitlab-ci/create-rootfs.sh
@@ -31,8 +31,12 @@ wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
# Strip the image to a small minimal system without removing the debian
# toolchain.
-# xz compress firmware so it doesn't waste RAM at runtime.
-find /lib/firmware -type f -print0 | xargs -0r -P4 -n4 xz -T1 -C crc32
+# xz compress firmware so it doesn't waste RAM at runtime. Except db820c's
+# GPU firmware, due to using a precompiled kernel without compression support.
+find /lib/firmware -type f -print0 | \
+ grep -vz a530 | \
+ xargs -0r -P4 -n4 xz -T1 -C crc32
+ln -s /lib/firmware/qcom/a530* /lib/firmware/
# Copy timezone file and remove tzdata package
rm -rf /etc/localtime