comparison sources/targets/m68k @ 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 12e1cb05ea8c
children b89324905ca2
comparison
equal deleted inserted replaced
1709:60eeade56d1a 1710:b4c2a3b88ae3
1 DESCRIPTION=" 1 DESCRIPTION="
2 Motorola 68000. 2 Motorola 68040.
3 3
4 This builds, but qemu can't run it yet. (The qemu m68k support is actually 4 Mainline qemu m68k support is actually just coldfire, an mmu-less subset of
5 only coldfire, an mmu-less subset of the m68k instruction set.) 5 the m68k instruction set.
6 6
7 The aranym emulator might be able to run this (with a different kernel 7 To run this, you need the "q800" branch of Laurent Vivier's m68k qemu fork,
8 configuration) but that emulator doesn't support serial consoles. 8 which you can clone from git://gitorious.org/qemu-m68k/qemu-m68k
9
10 Tested in version 2.1.0, it's hardwired to 128 mb memory (despite what -M says,
11 even though q800 hardware went to 256 megs) and shutdown doesn't work,
12 but other than that...
9 " 13 "
10 14
11 KARCH=m68k 15 KARCH=m68k
12 KERNEL_PATH=vmlinux 16 KERNEL_PATH=vmlinux
13 GCC_FLAGS= # "--with-float=soft" 17 GCC_FLAGS= # "--with-float=soft"
14 BINUTILS_FLAGS= 18 BINUTILS_FLAGS=
15 QEMU_TEST= #$KARCH 19 QEMU_TEST= #$KARCH
16 20
17 ROOT=sda 21 ROOT=sda
18 CONSOLE=ttyAMA0 22 CONSOLE=ttyS0
19 23
20 UCLIBC_CONFIG=" 24 UCLIBC_CONFIG="
21 TARGET_m68k=y 25 TARGET_m68k=y
22 UCLIBC_HAS_FPU=y 26 UCLIBC_HAS_FPU=y
23 LINUXTHREADS_OLD=y 27 LINUXTHREADS_OLD=y
24 " 28 "
25 29
26 LINUX_CONFIG=" 30 LINUX_CONFIG="
27 CONFIG_MMU=y 31 CONFIG_MMU=y
32 CONFIG_M68040=y
33 CONFIG_M68KFPU_EMU=y
28 CONFIG_MAC=y 34 CONFIG_MAC=y
29 CONFIG_M68020=y
30 #CONFIG_M68030=y
31 #CONFIG_M68040=y
32 CONFIG_PROC_HARDWARE=y
33 CONFIG_BLK_DEV_MAC_IDE=y
34 CONFIG_BLK_DEV_SR_VENDOR=y
35 CONFIG_MAC_SCSI=y
36 CONFIG_SCSI_MAC_ESP=y 35 CONFIG_SCSI_MAC_ESP=y
37 CONFIG_MACINTOSH_DRIVERS=y 36 CONFIG_MACINTOSH_DRIVERS=y
38 CONFIG_ADB=y 37 CONFIG_ADB=y
39 CONFIG_ADB_MACII=y 38 CONFIG_ADB_MACII=y
40 CONFIG_MAC8390=y 39 CONFIG_NET_CORE=y
40 CONFIG_MACSONIC=y
41 CONFIG_SERIAL_PMACZILOG=y 41 CONFIG_SERIAL_PMACZILOG=y
42 CONFIG_SERIAL_PMACZILOG_TTYS=y 42 CONFIG_SERIAL_PMACZILOG_TTYS=y
43 CONFIG_SERIAL_PMACZILOG_CONSOLE=y 43 CONFIG_SERIAL_PMACZILOG_CONSOLE=y
44
45 #CONFIG_SQUASHFS_FILE_DIRECT=y
44 " 46 "
45 47
46 emulator_command() 48 emulator_command()
47 { 49 {
48 echo qemu-system-m68k -M q800 $(qemu_defaults "$@") 50 echo qemu-system-m68k -M q800 $(qemu_defaults "$@")