ci: Make a simple little bare-metal fastboot mode for db410c.
authorEric Anholt <eric@anholt.net>
Tue, 3 Mar 2020 22:38:09 +0000 (14:38 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 21:36:47 +0000 (21:36 +0000)
commitcf5ba9d409bcae3496d094def5c3b199a8847b3c
treebd4730d75a133fc36d5e4d5c8c6d31ba7835e69a
parentd51da8610f6c5c0a22f2a7b1c9bfd596a7c46949
ci: Make a simple little bare-metal fastboot mode for db410c.

This supports powering up the device (using an external tool you
provide based on your particular lab), talking over serial to wait for
the fastboot prompt, and then booting a fastboot image on a target
device.

I was previously relying on LAVA for this, but that ran afoul of
corporate policies related to the AGPL.  However, LAVA wasn't doing
too much for us, given that gitlab already has a job scheduler and
tagging and runners.  We were spending a lot of engineering on making
the two systems match up, when we can just have gitlab do it directly.

Lightly-reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4076>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4076>
14 files changed:
.gitlab-ci.yml
.gitlab-ci/README.md
.gitlab-ci/bare-metal/.editorconfig [new file with mode: 0644]
.gitlab-ci/bare-metal/README.md [new file with mode: 0644]
.gitlab-ci/bare-metal/expect-output.sh [new file with mode: 0755]
.gitlab-ci/bare-metal/fastboot.sh [new file with mode: 0755]
.gitlab-ci/bare-metal/google-power-relay.py [new file with mode: 0755]
.gitlab-ci/bare-metal/google-power-up.sh [new file with mode: 0755]
.gitlab-ci/bare-metal/init.sh [new file with mode: 0644]
.gitlab-ci/bare-metal/serial-buffer.py [new file with mode: 0755]
.gitlab-ci/container/arm_build.sh
.gitlab-ci/create-rootfs.sh
.gitlab-ci/lava-gitlab-ci.yml
.gitlab-ci/prepare-artifacts.sh