]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Dockerfile: build fiptool
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 28 Feb 2024 07:43:11 +0000 (08:43 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 14 Mar 2024 20:11:23 +0000 (16:11 -0400)
Fiptool is used in a binman test. The test is skipped without the binary.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
tools/docker/Dockerfile

index 274255456619df1fa28a9c4d03e153337b02f5ea..30cda72ec46ded0bcf664ada90dd2e304666db68 100644 (file)
@@ -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 && \