122d613b57
Specify that the drive image file format is raw to avoid warnings and restrictions. Also switch to -drive syntax for all configs. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 lines
380 B
Plaintext
9 lines
380 B
Plaintext
Run the emulation with:
|
|
|
|
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "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.3.0
|