Re: [PATCH v2 1/4] tools: docker: Bump up QEMU version to 6.1.0
On Thu, Aug 26, 2021 at 11:33:32PM +0800, Bin Meng wrote: > At present U-Boot CI testing is still using QEMU 4.2.0 which is > pretty old. Let's bump up to QEMU 6.1.0. > > ninja-build is added as the prerequisite required by QEMU 6.1.0. > > Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. > A quick fix [1] was posted on QEMU mailing list but it it too late > for 6.1.0 release. Let's manually apply the bug fix on top of the > v6.1.0 release tag at the time being. > > [1] > http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/ > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature
Re: [PATCH v2 1/4] tools: docker: Bump up QEMU version to 6.1.0
On Sat, Sep 11, 2021 at 10:33:07PM +0800, Bin Meng wrote: > On Fri, Aug 27, 2021 at 10:54 AM Tom Rini wrote: > > > > On Thu, Aug 26, 2021 at 11:33:32PM +0800, Bin Meng wrote: > > > > > At present U-Boot CI testing is still using QEMU 4.2.0 which is > > > pretty old. Let's bump up to QEMU 6.1.0. > > > > > > ninja-build is added as the prerequisite required by QEMU 6.1.0. > > > > > > Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. > > > A quick fix [1] was posted on QEMU mailing list but it it too late > > > for 6.1.0 release. Let's manually apply the bug fix on top of the > > > v6.1.0 release tag at the time being. > > > > > > [1] > > > http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/ > > > > > > Signed-off-by: Bin Meng > > > > > > > Reviewed-by: Tom Rini > > Ping? On my TODO list, sorry for the delay. -- Tom signature.asc Description: PGP signature
Re: [PATCH v2 1/4] tools: docker: Bump up QEMU version to 6.1.0
On Fri, Aug 27, 2021 at 10:54 AM Tom Rini wrote: > > On Thu, Aug 26, 2021 at 11:33:32PM +0800, Bin Meng wrote: > > > At present U-Boot CI testing is still using QEMU 4.2.0 which is > > pretty old. Let's bump up to QEMU 6.1.0. > > > > ninja-build is added as the prerequisite required by QEMU 6.1.0. > > > > Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. > > A quick fix [1] was posted on QEMU mailing list but it it too late > > for 6.1.0 release. Let's manually apply the bug fix on top of the > > v6.1.0 release tag at the time being. > > > > [1] > > http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/ > > > > Signed-off-by: Bin Meng > > > > Reviewed-by: Tom Rini > Ping?
Re: [PATCH v2 1/4] tools: docker: Bump up QEMU version to 6.1.0
On Thu, Aug 26, 2021 at 11:33:32PM +0800, Bin Meng wrote: > At present U-Boot CI testing is still using QEMU 4.2.0 which is > pretty old. Let's bump up to QEMU 6.1.0. > > ninja-build is added as the prerequisite required by QEMU 6.1.0. > > Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. > A quick fix [1] was posted on QEMU mailing list but it it too late > for 6.1.0 release. Let's manually apply the bug fix on top of the > v6.1.0 release tag at the time being. > > [1] > http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/ > > Signed-off-by: Bin Meng > Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature
[PATCH v2 1/4] tools: docker: Bump up QEMU version to 6.1.0
At present U-Boot CI testing is still using QEMU 4.2.0 which is pretty old. Let's bump up to QEMU 6.1.0. ninja-build is added as the prerequisite required by QEMU 6.1.0. Note there is a bug in QEMU 6.1.0 Xilinx Zynq UART emulation codes. A quick fix [1] was posted on QEMU mailing list but it it too late for 6.1.0 release. Let's manually apply the bug fix on top of the v6.1.0 release tag at the time being. [1] http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/ Signed-off-by: Bin Meng --- Changes in v2: - Use QEMU official git repo, and 'git am' the bug fix manually tools/docker/Dockerfile | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 0195456dfe..4d7c3c6679 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -76,6 +76,7 @@ RUN apt-get update && apt-get install -y \ mount \ mtd-utils \ mtools \ + ninja-build \ openssl \ picocom \ parted \ @@ -166,7 +167,12 @@ RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \ RUN git clone git://git.qemu.org/qemu.git /tmp/qemu && \ cd /tmp/qemu && \ git submodule update --init dtc && \ - git checkout v4.2.0 && \ + git checkout v6.1.0 && \ + # config user.name and user.email to make 'git am' happy + git config user.name u-boot && \ + git config user.email u-b...@denx.de && \ + # manually apply the bug fix for QEMU 6.1.0 Xilinx Zynq UART emulation codes + wget -O - http://patchwork.ozlabs.org/project/qemu-devel/patch/20210823020813.25192-2-bmeng...@gmail.com/mbox/ | git am && \ ./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-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 -- 2.25.1