1 This little documentation explains how to build a kernel and a rootfs
2 for qemu with sh4 architecture.
4 1) Select qemu sh4 configuration and compile it :
9 2) Run qemu-system-sh4 with the kernel and rootfs previously generated
11 It's recommended to use a git release for qemu (the current stable
12 version has framebuffer display issues). If you want to avoid building
13 all target, you can use this option on qemu configure :
14 --target-list=sh4-softmmu
17 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