All of lore.kernel.org
 help / color / mirror / Atom feed
From: BALATON Zoltan <balaton@eik.bme.hu>
To: Programmingkid <programmingkidx@gmail.com>
Cc: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>,
	The OpenBIOS Mailinglist <openbios@openbios.org>,
	"qemu-ppc@nongnu.org list:PowerPC" <qemu-ppc@nongnu.org>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>,
	Andreas Tobler <andreast@fgznet.ch>
Subject: Re: [Qemu-devel] [OpenBIOS]  CUDA has problems with Mac OS 10.4
Date: Thu, 12 Nov 2015 00:14:57 +0100 (CET)	[thread overview]
Message-ID: <alpine.BSF.2.20.1511120002500.98572@zero.eik.bme.hu> (raw)
In-Reply-To: <08BF37A4-20D2-4A34-BC26-17B199A160E7@gmail.com>

On Wed, 11 Nov 2015, Programmingkid wrote:
> On Nov 11, 2015, at 4:32 PM, Andreas Tobler wrote:
>>> It looks like you are saying you wish to keep the CUDA device. Mac OS 9 is most
>>> likely hard coded to expect via-pmu instead of via-cuda on the mac99 target.
>>> Moving on to via-pmu might make QEMU more compatible with Mac OS 9.
>>> I will still try your patches. Do you have a repo that I could just clone? It is a
>>> lot less error prone than patches.
>>
>> I'd like to keep the CUDA too, FreeBSD PowerPC (32-bit) relies on it. Unfortunately it still doesn't work ... but hope is still here ;)
>
> On a new world Mac? I'm thinking a mistake has been made. Maybe you mean 
> via-pmu? According to FreeBSD's website all Macintoshes with a built-in 
> USB port are supported. This would only mean new world Macs and they 
> only have a via-pmu - no cuda device.

I think you are right that mac99 should have via-pmu instead of cuda but 
it is not as simple as renaming it in the device tree because it is a 
different chip which we have no emulation for so first an emulation should 
be written. It is probably similar enough to cuda so using cuda instead 
works as long as the OS in only using the main functions. It is also hard 
to find a documentation on how via-pmu should behave. I've only found 
this:

http://mcosre.sourceforge.net/docs/apple_io.html

which is not very clear or detailed. The only hint from it was that pmu99 
uses gpio which I've seen OS-es try to access but I don't know anything on 
that or what should be emulated for it.

>> Mark, is your complete qemu patch available somewhere? Then I could test 32-bit PowerPC on FreeBSD which still hangs on adb... up to now.
>
> I'm thinking removing ADB support would fix this problem. Most real new world Macs have no ADB support.

This may be a good idea to match the hardware we are trying to emulate 
better but some OSes may depend on ADB for now. I've noticed Finnix had no 
keyboard in debug mode without ADB (which may be a bug in Finnix, I could 
not verify if it works on real hardware or has the same problem there).

Regards,
BALATON Zoltan

  reply	other threads:[~2015-11-11 23:22 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <B6657202-5F4B-468E-9BC6-2312CAF60495@gmail.com>
     [not found] ` <5640A782.6080002@ilande.co.uk>
     [not found]   ` <898E5F5D-EC63-4FC2-A1CC-5F5AEE1D5708@gmail.com>
     [not found]     ` <564249E4.8000604@ilande.co.uk>
2015-11-11 15:15       ` [Qemu-devel] CUDA has problems with Mac OS 10.4 Programmingkid
2015-11-11 17:54         ` Mark Cave-Ayland
2015-11-11 18:55           ` Programmingkid
2015-11-11 21:32             ` [Qemu-devel] [OpenBIOS] " Andreas Tobler
2015-11-11 22:03               ` Programmingkid
2015-11-11 23:14                 ` BALATON Zoltan [this message]
2015-11-12 16:25                   ` Programmingkid
2015-11-12 18:45                     ` BALATON Zoltan
2015-11-20  3:33                       ` Segher Boessenkool
2015-11-20 13:39                         ` [Qemu-devel] [Qemu-ppc] " BALATON Zoltan
2015-11-20 15:46                           ` Programmingkid
2015-11-20 17:06                             ` [Qemu-devel] [OpenBIOS] [Qemu-ppc] " Alfonso Gamboa
2015-11-20 22:40                               ` BALATON Zoltan
2015-11-21 12:34                                 ` Mark Cave-Ayland
2015-11-21 12:32                               ` Mark Cave-Ayland
2015-11-21 18:55                                 ` Programmingkid
2015-11-21 22:59                                 ` Programmingkid
2015-11-22 11:58                                   ` Mark Cave-Ayland
2015-11-22 17:39                                     ` Programmingkid
2015-11-23 21:00                                       ` Mark Cave-Ayland
2015-11-24  3:28                                         ` Programmingkid
2015-11-24  8:01                                           ` Mark Cave-Ayland
2015-11-24  8:38                                             ` Alfonso Gamboa
2015-11-24  5:16                                         ` Programmingkid
2015-11-24  5:23                                           ` Alfonso Gamboa
2015-11-24  8:06                                             ` Mark Cave-Ayland
2015-11-24  9:01                                               ` Alfonso Gamboa
2015-11-25 19:47                                                 ` Mark Cave-Ayland
2015-11-24 17:20                                               ` Alfonso Gamboa
2015-11-11 23:05               ` [Qemu-devel] [OpenBIOS] " Mark Cave-Ayland
2015-11-11 23:21                 ` Programmingkid
2015-11-12  0:42                 ` Programmingkid
2015-11-13 11:26                   ` Mark Cave-Ayland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.BSF.2.20.1511120002500.98572@zero.eik.bme.hu \
    --to=balaton@eik.bme.hu \
    --cc=andreast@fgznet.ch \
    --cc=mark.cave-ayland@ilande.co.uk \
    --cc=openbios@openbios.org \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.