Yann E. MORIN 626c9705d2 board/qemu: ensure root is available before mounting it %!s(int64=6) %!d(string=hai) anos
..
patches 23aee3eac4 configs/qemu_sh4eb-r2d: restore the old sh-sci driver behaviour %!s(int64=7) %!d(string=hai) anos
linux.config 03fb00f217 qemu: update defconfigs to Linux 4.16.7 %!s(int64=7) %!d(string=hai) anos
readme.txt 626c9705d2 board/qemu: ensure root is available before mounting it %!s(int64=6) %!d(string=hai) anos

readme.txt

Run the emulation with:

qemu-system-sh4eb -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