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 <[email protected]>
---
 tools/docker/Dockerfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 2dc4bec33bb5..fd8765af4585 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
-- 
2.43.0

Reply via email to