From 0c4990c5b84431db53f88292905b5aedd7d1ff28 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 18 Nov 2025 15:00:13 -0600 Subject: Docker: Add building TF-A for pine64_plus In order to add pine64_plus to the sage lab we will need to have a build of TF-A available for it as bl31.bin. Add this to the existing build loop of TF-A targets. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools') diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 2dc4bec33bb..fd8765af458 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -276,6 +276,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 -- cgit v1.2.3 From f84a6d94c7bd28f5d450f997b395e94b1cff36ae Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Tue, 18 Nov 2025 15:00:15 -0600 Subject: Gitlab sage, Docker: Add snmp and rsync Add snmp and rsync to the normal docker image. While these tools are only required for the lab on sage, I think it's a small enough addition to be worth always including at this point. A higher level TODO I think may be to see if we can / should split the resulting container up, or if there's host tooling we can remove at a later step, after building all the software we require. Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index fd8765af458..bcb95a8cae3 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 \ -- cgit v1.2.3