On 08/20/2011 04:16 PM, Laurent Vivier wrote: > Le samedi 20 août 2011 à 15:57 -0500, Rob Landley a écrit : >> On 08/18/2011 06:12 AM, François Revol wrote: >>> Le -10/01/-28163 20:59, Laurent Vivier a écrit : >>>> Le mercredi 17 août 2011 à 17:35 -0500, Anthony Liguori a écrit : >>>>> On 08/17/2011 03:46 PM, Bryce Lanham wrote: >>>>>> These patches greatly expand Motorola 68k emulation within qemu, and >>>>>> are what I used as a basis for my >>>>>> Google Summer of Code project to add NeXT hardware support to QEMU. >>>>> >>>>> Please don't crap flood the list with a series of 100 patches. >>>>> >>>>> Split things into logical chunks such that a series can be reasonably >>>>> reviewed and applied. >>>> >>>> And I'm not sure this series of patches is ready for inclusion in qemu >>>> mainline as it should break existing m68k emulation... >>>> >>>> Bryce, you should only post your patches, refering to the repository on >>>> which they apply, i.e. git://gitorious.org/qemu-m68k/qemu-m68k.git , >>>> master branch. >>>> >>> >>> Btw, are you planning on merging it back someday? >>> >>> François. >> >> I note that I pulled that this morning, did "./configure >> --disable-werror --target-list=m68k-softmmu", and then ran make, which >> generated 4 header files and considered itself done. >> >> I.E. m68k system emulation doesn't seem to be building in that tree. > > first off all, this branch is only able to build m68k-linux-user qemu/, > then try: > > cd qemu > mkdir build-test > cd build-test > ../configure --disable-werror --target-list=m68k-softmmu > make > > and let me know what happens...
Hmmm, there is a q800 target I hadn't noticed. I built the mac_defconfig target and did -kernel vmlinux on that with -nographic and -append "console=/dev/ttyS0", and it went: (qemu) QEMU 0.15.50 monitor - type 'help' for more information (qemu) qemu: fatal: Illegal instruction: 7f45 @ 00000000 D0 = fffffffb A0 = 0021b24c F0 = ffff c000000000000000 D1 = 00000000 A1 = 002c16fe F1 = ffff c000000000000000 D2 = 002c002c A2 = 00001000 F2 = ffff c000000000000000 D3 = 17b82700 A3 = 002d8eb0 F3 = ffff c000000000000000 D4 = 00000000 A4 = 00000000 F4 = ffff c000000000000000 D5 = 00000000 A5 = 00000000 F5 = ffff c000000000000000 D6 = 00000000 A6 = 00000000 F6 = ffff c000000000000000 D7 = 00000000 A7 = 0000103c F7 = ffff c000000000000000 PC = 00000000 SR = 2700 ----- Aborted This sound at all familiar? (Is there a different kernel file I should be using? There's no arch/m68k/boot or arch/m68k/mac/boot I could find. Or is q800 not entirely there?) Thanks, Rob