changeset 1710:b4c2a3b88ae3 draft

Laurent Vivier's qemu-m68k fork runs m68k now! (Well, the q800 branch of it anyway. Doesn't respond to shutdown and randomly hangs trying to do serious builds, but hey, progress...)
author Rob Landley <rob@landley.net>
date Mon, 24 Nov 2014 14:28:04 -0600
parents 60eeade56d1a
children 60043af4120e
files sources/targets/m68k
diffstat 1 files changed, 16 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/sources/targets/m68k	Mon Nov 24 14:26:54 2014 -0600
+++ b/sources/targets/m68k	Mon Nov 24 14:28:04 2014 -0600
@@ -1,11 +1,15 @@
 DESCRIPTION="
-Motorola 68000.
+Motorola 68040.
+
+Mainline qemu m68k support is actually just coldfire, an mmu-less subset of
+the m68k instruction set.
 
-This builds, but qemu can't run it yet.  (The qemu m68k support is actually
-only coldfire, an mmu-less subset of the m68k instruction set.)
+To run this, you need the "q800" branch of Laurent Vivier's m68k qemu fork,
+which you can clone from git://gitorious.org/qemu-m68k/qemu-m68k
 
-The aranym emulator might be able to run this (with a different kernel
-configuration) but that emulator doesn't support serial consoles.
+Tested in version 2.1.0, it's hardwired to 128 mb memory (despite what -M says,
+even though q800 hardware went to 256 megs) and shutdown doesn't work,
+but other than that...
 "
 
 KARCH=m68k
@@ -15,7 +19,7 @@
 QEMU_TEST= #$KARCH
 
 ROOT=sda
-CONSOLE=ttyAMA0
+CONSOLE=ttyS0
 
 UCLIBC_CONFIG="
 TARGET_m68k=y
@@ -25,22 +29,20 @@
 
 LINUX_CONFIG="
 CONFIG_MMU=y
+CONFIG_M68040=y
+CONFIG_M68KFPU_EMU=y
 CONFIG_MAC=y
-CONFIG_M68020=y
-#CONFIG_M68030=y
-#CONFIG_M68040=y
-CONFIG_PROC_HARDWARE=y
-CONFIG_BLK_DEV_MAC_IDE=y
-CONFIG_BLK_DEV_SR_VENDOR=y
-CONFIG_MAC_SCSI=y
 CONFIG_SCSI_MAC_ESP=y
 CONFIG_MACINTOSH_DRIVERS=y
 CONFIG_ADB=y
 CONFIG_ADB_MACII=y
-CONFIG_MAC8390=y
+CONFIG_NET_CORE=y
+CONFIG_MACSONIC=y
 CONFIG_SERIAL_PMACZILOG=y
 CONFIG_SERIAL_PMACZILOG_TTYS=y
 CONFIG_SERIAL_PMACZILOG_CONSOLE=y
+
+#CONFIG_SQUASHFS_FILE_DIRECT=y
 "
 
 emulator_command()