40fcbc359e
sh4-r2d has a serial port, however it's the second SH UART that's emulated by Qemu so we need to adjust the kernel configuration for it to see the relevant UART and adjust the qemu command line for it too. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
8 lines
313 B
Plaintext
8 lines
313 B
Plaintext
Run the emulation with:
|
|
|
|
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio
|
|
|
|
The login prompt will appear in the terminal that started Qemu.
|
|
The graphical window is the framebuffer.
|
|
|