ci/broadcom: allow custom kernels
authorJuan A. Suarez Romero <jasuarez@igalia.com>
Thu, 11 Mar 2021 16:42:06 +0000 (17:42 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Mar 2021 11:03:17 +0000 (11:03 +0000)
commit3f1c375581faccd9e356e344432b7d6c6e27902c
tree52dcbba3e400a22ccb6acc8fe13596beb179de32
parent1a2f1e3f472b1abe83e7e872839bd9ed370fd268
ci/broadcom: allow custom kernels

So far, testing VC4 and V3D/V3DV requires the CI runners having access
to a Raspberry Pi 3/4 kernel, and the correspondent modules and
bootloader files. If a different kernel must be used, it means touching
the runners to provide them.

This commit adds the option to define an URL pointing to a (compressed)
tarball containing such files, without requiring dealing with the
runners. This link is provided through the `BM_BOOTFS` job variable.

The tarball must contain two directories in the root: a `/boot`
directory (containing the kernel, DTBs and bootloader files), and a
`/lib/modules` (or `/usr/lib/modules`) with the kernel modules.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9527>
.gitlab-ci/bare-metal/poe-powered.sh
src/broadcom/ci/gitlab-ci.yml