Yann E. MORIN c1d79dbc41 board/qemu: ensure root is available before mounting it 6 년 전
..
patches f7a887c368 configs/qemu_sh4-r2d: restore the old sh-sci driver behaviour 7 년 전
linux.config 03fb00f217 qemu: update defconfigs to Linux 4.16.7 7 년 전
readme.txt c1d79dbc41 board/qemu: ensure root is available before mounting it 6 년 전

readme.txt

Run the emulation with:

qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user

The login prompt will appear in the terminal that started Qemu.
The graphical window is the framebuffer.

Tested with QEMU 2.12.0