aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2016-03-19 18:27:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-03-20 15:28:55 +0100
commit3f6933921137577144276c571b213037fd21e9c8 (patch)
tree31f5956dffcb0e56b97622eac528618536d3c4ec /board
parent7ea0f64dc33a31d7a8a70594babd822db8e04188 (diff)
downloadbuildroot-3f6933921137577144276c571b213037fd21e9c8.tar.gz
buildroot-3f6933921137577144276c571b213037fd21e9c8.tar.bz2
qemu-m68k: add new board
Ethernet is not working, but at least you get a shell and can test applications for m68k. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/m68k-q800/linux-4.5.config26
-rw-r--r--board/qemu/m68k-q800/readme.txt8
2 files changed, 34 insertions, 0 deletions
diff --git a/board/qemu/m68k-q800/linux-4.5.config b/board/qemu/m68k-q800/linux-4.5.config
new file mode 100644
index 0000000000..44eb70e2d7
--- /dev/null
+++ b/board/qemu/m68k-q800/linux-4.5.config
@@ -0,0 +1,26 @@
+CONFIG_M68K=y
+CONFIG_M68040=y
+CONFIG_M68KFPU_EMU=y
+CONFIG_MAC=y
+CONFIG_MACINTOSH_DRIVERS=y
+CONFIG_ADB=y
+CONFIG_ADB_MACII=y
+CONFIG_TTY=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_NETDEVICES=y
+CONFIG_MACSONIC=y
+CONFIG_SCSI=y
+CONFIG_SCSI_DMA=y
+CONFIG_SCSI_LOWLEVEL=y
+CONFIG_SCSI_MAC_ESP=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_SERIAL_PMACZILOG=y
+CONFIG_SERIAL_PMACZILOG_TTYS=y
+CONFIG_SERIAL_PMACZILOG_CONSOLE=y
+CONFIG_EXT4_FS=y
+CONFIG_TMPFS=y
diff --git a/board/qemu/m68k-q800/readme.txt b/board/qemu/m68k-q800/readme.txt
new file mode 100644
index 0000000000..78267a318f
--- /dev/null
+++ b/board/qemu/m68k-q800/readme.txt
@@ -0,0 +1,8 @@
+Run the emulation with:
+
+ qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/sda console=ttyS0"
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.4.0 from https://github.com/vivier/qemu-m68k
+You need following branch: q800-v2.4.0