summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-30 13:34:47 -0600
committerTom Rini <[email protected]>2025-12-01 09:17:48 -0600
commit532d2626ee2190ee7df40952befd9e10dceadbce (patch)
treecd1bdd243dc3f32a958420258e9e766fdf520869 /tools
parent65a131531077d75eaa01f8376d8f7f04c146a457 (diff)
parentf84a6d94c7bd28f5d450f997b395e94b1cff36ae (diff)
Merge patch series "Gitlab: Add a "sage-lab" stage to access a board farm"
This series adds support for Gitlab pipelines to run our pytest suite on a limited number of hardware platforms. While better documentation and some further enhancements will be coming soon, this can be triggered by passing '-o ci.variable="SAGE_LAB=1"' to git push, or adding 'pushOption = ci.variable="SAGE_LAB=1"' to the .git/config file for the project. It can also be invoked manually from the pipeline webpage on a an existing pipeline. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 630b7f0e141..ef0768429e4 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -131,7 +131,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
python3-tomli \
python3-venv \
rpm2cpio \
+ rsync \
sbsigntool \
+ snmp \
socat \
softhsm2 \
sparse \
@@ -276,6 +278,10 @@ RUN git clone --depth=1 https://git.trustedfirmware.org/TF-A/trusted-firmware-a.
mkdir -p /opt/tf-a/qemu_arm64_fw_handoff_tfa_optee && \
cp build/qemu/release/fip.bin build/qemu/release/bl1.bin \
/opt/tf-a/qemu_arm64_fw_handoff_tfa_optee/ && \
+ make CROSS_COMPILE=/opt/gcc-${TCVER}-nolibc/aarch64-linux/bin/aarch64-linux- \
+ PLAT=sun50i_a64 -j$(nproc) all && \
+ mkdir -p /opt/tf-a/pine64_plus && \
+ cp build/sun50i_a64/release/bl31.bin /opt/tf-a/pine64_plus/ && \
rm -rf /tmp/optee_os && \
rm -rf /tmp/mbedtls && \
rm -rf /tmp/tf-a