Skip to content

ci: add RH850 toolchain and QEMU - #317

Open
ssekar15 wants to merge 3 commits into
zephyrproject-rtos:mainfrom
linumiz:rh850/ci-rh850
Open

ssekar15 wants to merge 3 commits into
zephyrproject-rtos:mainfrom
linumiz:rh850/ci-rh850

Conversation

@ssekar15

@ssekar15 ssekar15 commented Nov 3, 2026 •

Copy link
Copy Markdown

Add the v850-elf GCC toolchain and qemu-system-rh850 to the CI image,
both as prebuilt x86_64 release assets:

Why: the Zephyr RH850 architecture port (qemu_rh850_u2c board) needs a
compiler and an emulator in CI to build and run twister tests. The
Zephyr SDK has no v850 toolchain and no RH850 QEMU yet, so this follows
the same interim approach as the AURIX toolchain already in this image.
The SDK work is in progress and replaces this once released.

Zephyr PR: zephyrproject-rtos/zephyr#124477

Tested: image built on ci-base v0.29.4; qemu-system-rh850, v850-elf-gcc
and v850-elf-gdb run in the container.

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 <saravanan@linumiz.com>
Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
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 <saravanan@linumiz.com>
Signed-off-by: Parthiban Nallathambi <parthiban@linumiz.com>
@tejlmand

tejlmand commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Toolchain WG: November 9:

  • Only needed until Zephyr SDK has native support for RH 850

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 <parthiban@linumiz.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants