summaryrefslogtreecommitdiffstats
path: root/board/qemu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-04-29 19:53:08 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-30 18:50:46 +0200
commit644d020b65842fccda158d415359ef24666d2706 (patch)
tree24e3e81c9a2f3f3ad4ac22632e5eb6a99ee6b46b /board/qemu
parent015322fccb0b785af3f7dd62618aa717f8aca064 (diff)
downloadbuildroot-644d020b65842fccda158d415359ef24666d2706.tar.gz
buildroot-644d020b65842fccda158d415359ef24666d2706.zip
board: add qemu coldfire support
Add kernel config and defconfig for Qemu Coldfire. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/qemu')
-rw-r--r--board/qemu/m68k-mcf5208/linux-4.5.config21
-rw-r--r--board/qemu/m68k-mcf5208/readme.txt7
2 files changed, 28 insertions, 0 deletions
diff --git a/board/qemu/m68k-mcf5208/linux-4.5.config b/board/qemu/m68k-mcf5208/linux-4.5.config
new file mode 100644
index 0000000000..bf30bf425c
--- /dev/null
+++ b/board/qemu/m68k-mcf5208/linux-4.5.config
@@ -0,0 +1,21 @@
+CONFIG_M68K=y
+CONFIG_COLDFIRE=y
+# CONFIG_MMU is not set
+CONFIG_M520x=y
+CONFIG_CLOCK_SET=y
+CONFIG_CLOCK_FREQ=66666666
+CONFIG_CLOCK_DIV=1
+CONFIG_M5208EVB=y
+CONFIG_FREESCALE=y
+CONFIG_RAMBASE=0x40000000
+CONFIG_RAMSIZE=0x0
+CONFIG_VECTORBASE=0x40000000
+CONFIG_KERNELBASE=0x40020000
+CONFIG_4KSTACKS=y
+CONFIG_RAMKERNEL=y
+CONFIG_BINFMT_FLAT=y
+CONFIG_SERIAL_MCF=y
+CONFIG_SERIAL_MCF_BAUDRATE=115200
+CONFIG_SERIAL_MCF_CONSOLE=y
+CONFIG_BOOTPARAM=y
+CONFIG_BOOTPARAM_STRING="console=ttyS0,115200"
diff --git a/board/qemu/m68k-mcf5208/readme.txt b/board/qemu/m68k-mcf5208/readme.txt
new file mode 100644
index 0000000000..cb75f46922
--- /dev/null
+++ b/board/qemu/m68k-mcf5208/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-m68k -M mcf5208evb -cpu m5208 -kernel output/images/vmlinux -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.5.0.
OpenPOWER on IntegriCloud