The SH-4 is a 32-bit RISC CPU. QEMU supports two SH-4 machines, the "r2d" board and the "shix" board.

Build Directions

 ./configure --target-list=sh4-softmmu && make

Serial ports on the r2d machine

Please note that u-boot and the Linux kernel use the second physical serial port for console output. So when you start QEMU, the first serial port should be disabled/ignored and the second port should be configured instead, e.g. like this:

qemu-system-sh4 -serial null -serial mon:stdio ...

Maintainer Contact Info

Aurelien Jarno <>