From 95187654e15d3bd30b3814ef0e7d3ccb92c8d1ff Mon Sep 17 00:00:00 2001 From: Saravanan Sekar Date: Sat, 31 Oct 2026 12:37:44 +0530 Subject: [PATCH 1/3] ci: install RH850 GCC toolchain for Zephyr CI builds Add v850-elf GCC 14.3.0 (binutils 2.43.1, GDB 16.2) from the rh850-gcc-toolchain release to enable Zephyr CI builds for the Renesas RH850 architecture. Installed under /opt/toolchains/v850-elf/, which RH850_TOOLCHAIN_PATH points to; the qemu_rh850_u2c board needs the variable set to be selected by twister. libexpat1 is the runtime dependency of the bundled GDB. x86_64 only as no ARM64 build is available. Signed-off-by: Saravanan Sekar Signed-off-by: Parthiban Nallathambi --- Dockerfile.ci | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 1e1f3ae..065d765 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -66,6 +66,24 @@ RUN < /tmp/__rh850_smoke.c + /opt/toolchains/v850-elf/bin/v850-elf-gcc -mv850e3v5 -mrh850-abi -c /tmp/__rh850_smoke.c -o /tmp/__rh850_smoke.o + rm /tmp/__rh850_smoke.c /tmp/__rh850_smoke.o + apt-get clean + rm -rf /var/lib/apt/lists/* + fi +EOF +ENV RH850_TOOLCHAIN_PATH=/opt/toolchains/v850-elf + # Install Hexagon LLVM toolchain (x86_64 and aarch64) RUN < Date: Sat, 31 Oct 2026 12:37:54 +0530 Subject: [PATCH 2/3] ci: install RH850 QEMU for Zephyr CI builds Add pre-built qemu-system-rh850 from the qemu-rh850 release to enable twister test runs for the Renesas RH850 architecture target (qemu_rh850_u2c, machine rh850-u2c). Runtime dependency libglib2.0-0t64 is installed explicitly; the binary needs no display libraries. x86_64 only as no ARM64 build is available. Source: https://github.com/linumiz/qemu-rh850/releases/tag/v1.0.0 Signed-off-by: Saravanan Sekar Signed-off-by: Parthiban Nallathambi --- Dockerfile.ci | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Dockerfile.ci b/Dockerfile.ci index 065d765..31d4e9f 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -84,6 +84,22 @@ RUN < Date: Fri, 13 Nov 2026 23:25:09 +0530 Subject: [PATCH 3/3] ci: update the RH850 toolchain and QEMU to v1.2.0 v1.2.0 adds the RH850 G4, G4MH2 and FXU support to the toolchain (GCC 14.3.0, binutils 2.43.1, GDB 16.2, picolibc 1.8.12, libstdc++) and the rh850-u2a and rh850-u2b machines to QEMU. The QEMU build now has the HMP monitor that the Zephyr QEMU runs use. The URLs and sha256 are build arguments, and the downloads are checked. Signed-off-by: Parthiban Nallathambi --- Dockerfile.ci | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile.ci b/Dockerfile.ci index 31d4e9f..9dc13c0 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -67,11 +67,14 @@ EOF ENV PATH="/opt/qemu-tricore/bin:${PATH}" # Install RH850 GCC toolchain (x86_64 only) +ARG RH850_TOOLCHAIN_URL=https://github.com/linumiz/rh850-gcc-toolchain/releases/download/v1.2.0/v850-elf-toolchain-linux-x86_64.tar.gz +ARG RH850_TOOLCHAIN_SHA256=a2194a060295008a2bd67db0e24c1cda8a795eba832b49b3f1d4cbb64cb242bd RUN <