]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Docker: Add building TF-A for pine64_plus
authorTom Rini <trini@konsulko.com>
Tue, 18 Nov 2025 21:00:13 +0000 (15:00 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 1 Dec 2025 15:17:48 +0000 (09:17 -0600)
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 <trini@konsulko.com>
tools/docker/Dockerfile

index 2dc4bec33bb5e7b7558b0cf1b016e30bf728ba3f..fd8765af4585413b0ae650365d32aa62aa7ea090 100644 (file)
@@ -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