From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvGQQ-000737-UJ for qemu-devel@nongnu.org; Sun, 21 Aug 2011 18:23:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvGQP-0004wW-4N for qemu-devel@nongnu.org; Sun, 21 Aug 2011 18:23:26 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:58339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvGQP-0004wQ-0a for qemu-devel@nongnu.org; Sun, 21 Aug 2011 18:23:25 -0400 Received: by gwb19 with SMTP id 19so3178340gwb.4 for ; Sun, 21 Aug 2011 15:23:24 -0700 (PDT) Message-ID: <4E518558.9050809@landley.net> Date: Sun, 21 Aug 2011 17:23:20 -0500 From: Rob Landley MIME-Version: 1.0 References: <1313614076-28878-1-git-send-email-blanham@gmail.com> <4E501F51.5080506@landley.net> <4E504681.6090608@landley.net> <1313921065.2220.11.camel@Quad> In-Reply-To: <1313921065.2220.11.camel@Quad> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier Cc: Bryce Lanham , qemu-devel@nongnu.org On 08/21/2011 05:04 AM, Laurent Vivier wrote: > Le samedi 20 août 2011 à 18:42 -0500, Rob Landley a écrit : >> On 08/20/2011 06:17 PM, Natalia Portillo wrote: >>>> or ancient macintosh support >>> >>> Most of the hardware (but a few required ones like SWIM) is already >>> in QEMU, you need to glue everything, make Toolbox be VERY happy >>> about its environment, make Mac OS boot so it can second-boot Linux >>> (the direct-booter is so buggy it may introduce phantom bugs on the >>> emulation) and implement the MMU. >> >> I haven't got a copy of ancient MacOS. >> >> Why is the direct booter buggy? I'm happy to track down and isolate >> phantom bugs, either in the kernel or in qemu. (One nice thing about >> emulators is you can get deterministic regression tests reasonably >> easily. :) >> >> How do I _use_ the direct booter, anyway? I built mac_defconfig in 3.0 >> but it only gave me a vmlinux, which faulted on the instruction at >> address 0. I tried m68k-objdump -O binary vmlinux vmlinux.bin but that >> wouldnt' bot at all (qemu -kernel refused to load it). > > For the moment, q800 is not working. I noticed. :) > Master branch is for m68k-linux-user target. > > I'm working on m68k-softmmu on the macrom-branch by porting the > basiliskII stuff. That doesn't emulate real hardware according to the introduction of http://basilisk.cebix.net/TECH so what is there to port? (Closer CPU emulation for the MMU stuff?) > but a ROM will not be required to boot it as the bootloader has the role > to collect information from the ROM to pass it the kernel. > Qemu will be able to do it and boot directly the kernel (with option > --kernel). We can cut&paste parts from the EMILE bootloader. If the platform wasn't mummified I'd suggest a device tree conversion... :) > A real machine emulation will require a ROM. But for this part we can > have a look to executore (https://github.com/ctm/executor). I just want to run Linux on the thing, via -kernel and -append. Rob