summaryrefslogtreecommitdiff
path: root/board/qemu/sh4-r2d/readme.txt
diff options
context:
space:
mode:
authorPhilippe Reynes <tremyfr@yahoo.fr>2010-12-05 21:53:22 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-17 16:52:42 +0100
commitf66d4b05e1dc9f835b2ca9fcd012e1a8d2aeed3f (patch)
treea3e2f7bbcbe9397a72192a3f84775bdba7d1db5c /board/qemu/sh4-r2d/readme.txt
parentd6c864dc8ca38ce108dc411fdf0bad5c25b29386 (diff)
board: Add Qemu SH4 r2d configuration
[ Thomas: * renamed sh4_defconfig to qemu_sh4_r2d_defconfig, for consistency with other Qemu platforms supported * renamed board/qemu/sh4 to board/qemu/sh4-r2d * minor fixes in the readme.txt * remove useless statements in the minimal defconfig * switch to a fixed kernel version instead of "same as headers" ] Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'board/qemu/sh4-r2d/readme.txt')
-rw-r--r--board/qemu/sh4-r2d/readme.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/qemu/sh4-r2d/readme.txt b/board/qemu/sh4-r2d/readme.txt
new file mode 100644
index 000000000..b237596ea
--- /dev/null
+++ b/board/qemu/sh4-r2d/readme.txt
@@ -0,0 +1,17 @@
+This little documentation explains how to build a kernel and a rootfs
+for qemu with sh4 architecture.
+
+1) Select qemu sh4 configuration and compile it :
+
+make sh4_defconfig
+make all
+
+2) Run qemu-system-sh4 with the kernel and rootfs previously generated
+
+It's recommended to use a git release for qemu (the current stable
+version has framebuffer display issues). If you want to avoid building
+all target, you can use this option on qemu configure :
+--target-list=sh4-softmmu
+
+The command is :
+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