aboutsummaryrefslogtreecommitdiff
path: root/tools/docker/Dockerfile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-01-12 03:17:57 +0100
committerTom Rini <trini@konsulko.com>2024-01-17 14:37:00 -0500
commit50a907edbb2c69d843600fb4c7723fbdea6d2246 (patch)
tree11a2bfa6f9eaa3450c08c60e0aaa037ae3119095 /tools/docker/Dockerfile
parent002764d7399091082f644c022d9b0088855e7797 (diff)
downloadu-boot-50a907edbb2c69d843600fb4c7723fbdea6d2246.zip
u-boot-50a907edbb2c69d843600fb4c7723fbdea6d2246.tar.gz
u-boot-50a907edbb2c69d843600fb4c7723fbdea6d2246.tar.bz2
docker: build QEMU v8.2.0
ACPI support for RISC-V requires a recent QEMU. Upgrade the used QEMU to v8.2.0. QEMU commit 0c7ffc977195 ("hw/net: cadence_gem: Fix MDIO_OP_xxx values") is needed to fix the Ethernet PHY driver used by the emulated SiFive Unleashed Board emulation. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'tools/docker/Dockerfile')
-rw-r--r--tools/docker/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index c4a2596..72ffb99 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -178,10 +178,12 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu && \
cd /tmp/qemu && \
- git checkout v8.0.3 && \
+ git checkout v8.2.0 && \
# config user.name and user.email to make 'git am' happy
git config user.name u-boot && \
git config user.email u-boot@denx.de && \
+ git format-patch 0c7ffc977195~..0c7ffc977195 && \
+ git am 0001-hw-net-cadence_gem-Fix-MDIO_OP_xxx-values.patch && \
./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-softmmu,m68k-softmmu,mips-softmmu,mips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" && \
make -j$(nproc) all install && \
rm -rf /tmp/qemu