qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions


From: Rob Landley
Subject: Re: [Qemu-devel] [RFC][PATCH 000/111] QEMU m68k core additions
Date: Sun, 21 Aug 2011 17:23:20 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]