aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-02-28 08:43:11 +0100
committerTom Rini <trini@konsulko.com>2024-03-14 16:11:23 -0400
commit25296cf3c0e5a52cd346784d2db8af646cedcd82 (patch)
tree0d3212e72be0cc67493fb2fc6cd956069c8c36b1 /tools
parent3987e15e88a1d6a9a211b7637728fcc0acf74fbe (diff)
downloadu-boot-25296cf3c0e5a52cd346784d2db8af646cedcd82.zip
u-boot-25296cf3c0e5a52cd346784d2db8af646cedcd82.tar.gz
u-boot-25296cf3c0e5a52cd346784d2db8af646cedcd82.tar.bz2
Dockerfile: build fiptool
Fiptool is used in a binman test. The test is skipped without the binary. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/Dockerfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 2742554..30cda72 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -188,6 +188,16 @@ RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
make -j$(nproc) all install && \
rm -rf /tmp/qemu
+# Build fiptool
+RUN git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git /tmp/tf-a && \
+ cd /tmp/tf-a/ && \
+ git checkout v2.10.0 && \
+ cd tools/fiptool && \
+ make && \
+ mkdir -p /usr/local/bin && \
+ cp fiptool /usr/local/bin && \
+ rm -rf /tmp/tf-a
+
# Build genimage (required by some targets to generate disk images)
RUN wget -O - https://github.com/pengutronix/genimage/releases/download/v14/genimage-14.tar.xz | tar -C /tmp -xJ && \
cd /tmp/genimage-14 && \