# HG changeset patch # User Rob Landley # Date 1416860884 21600 # Node ID b4c2a3b88ae31f11dee9f1665b128fe13ab88887 # Parent 60eeade56d1abe7188dcea5c65fc2928dd72a398 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...) diff -r 60eeade56d1a -r b4c2a3b88ae3 sources/targets/m68k --- 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()