summaryrefslogtreecommitdiff
path: root/target/m68k/kernel/qemu-m68k
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-07-28 10:14:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-07-28 10:25:06 +0200
commitc43854da4d87c25f54cce20ad188a6877dc15f71 (patch)
tree2fce408ef916b6c205e3f74a5ce2c1b0fc969beb /target/m68k/kernel/qemu-m68k
parent86e450dac4a6d50ebda79f80081525462d1bb68b (diff)
add some basic infrastructure for qemu-system-m68k
Qemu emulates a Coldfire Evaluation board without MMU. As that is the first non-MMU platform in OpenADK I added ADK_TARGET_UCLINUX. Mksh can not be used for non-MMU, because it requires fork() for job control and other things. We use hush here. non-MMU support in uClibc does not have shared library support. Kernel does not start yet. So no runtime testing, but at least coldfire toolchain can be tested with uClibc-ng. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Diffstat (limited to 'target/m68k/kernel/qemu-m68k')
-rw-r--r--target/m68k/kernel/qemu-m68k16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/m68k/kernel/qemu-m68k b/target/m68k/kernel/qemu-m68k
new file mode 100644
index 000000000..f9fbf383e
--- /dev/null
+++ b/target/m68k/kernel/qemu-m68k
@@ -0,0 +1,16 @@
+CONFIG_M68K=y
+CONFIG_COLDFIRE=y
+CONFIG_M520x=y
+# CONFIG_MMU is not set
+CONFIG_CLOCK_SET=y
+CONFIG_CLOCK_FREQ=166666666
+CONFIG_M5208EVB=y
+CONFIG_RAMBASE=0x40000000
+CONFIG_RAMSIZE=0x2000000
+CONFIG_VECTORBASE=0x40000000
+CONFIG_KERNELBASE=0x40020000
+CONFIG_BINFMT_FLAT=y
+CONFIG_SERIAL_MCF=y
+CONFIG_SERIAL_MCF_BAUDRATE=115200
+CONFIG_SERIAL_MCF_CONSOLE=y
+