Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-02 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 12:53 +0200, Gerd Hoffmann wrote: > > I did notice that having Makefiles in the roms directory make > > git submodule barf ... I had to remove them for it to be able > > to clone the submodules. > > I mean roms/Makefile, not roms/$submodule/Makefile I see, ok well, we'll

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-02 Thread Gerd Hoffmann
On Di, 2016-08-02 at 19:17 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 10:55 +0200, Gerd Hoffmann wrote: > > > CodeWarrior for MacOS X does come with command line versions of the > > > tools, I plan to look into doing a Makefile once I've sorted out the > > > various arguments for

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-02 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 10:55 +0200, Gerd Hoffmann wrote: > > CodeWarrior for MacOS X does come with command line versions of the > > tools, I plan to look into doing a Makefile once I've sorted out the > > various arguments for these things at least. > > Yes, you do that once, put it into

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-02 Thread Gerd Hoffmann
On Di, 2016-08-02 at 15:35 +1000, Benjamin Herrenschmidt wrote: > On Tue, 2016-08-02 at 07:25 +0200, Gerd Hoffmann wrote: > > > That's the part we cannot provide unfortunately. There is sadly no > > > toolchain that can produce a MacOS PEF binary other than hosted in > > > MacOS itself. In fact I

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-01 Thread Benjamin Herrenschmidt
On Tue, 2016-08-02 at 07:25 +0200, Gerd Hoffmann wrote: > > That's the part we cannot provide unfortunately. There is sadly no > > toolchain that can produce a MacOS PEF binary other than hosted in > > MacOS itself. In fact I don't think Apple XCode can either, which > > leaves us with CodeWarrior

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-01 Thread Gerd Hoffmann
On Di, 2016-08-02 at 07:24 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2016-08-01 at 21:38 +0200, Gerd Hoffmann wrote: > > Hi, > > > > > So, I believe qemu convention is to include the ROM source via a > > > submodule - even though it won't typically be built from there and > > the > > >

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-01 Thread Benjamin Herrenschmidt
On Mon, 2016-08-01 at 21:38 +0200, Gerd Hoffmann wrote: >   Hi, > > > So, I believe qemu convention is to include the ROM source via a > > submodule - even though it won't typically be built from there and > the > > prebuilt blob will be used instead. > > Correct.  Also rules in roms/Makefile to

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-01 Thread Gerd Hoffmann
Hi, > So, I believe qemu convention is to include the ROM source via a > submodule - even though it won't typically be built from there and the > prebuilt blob will be used instead. Correct. Also rules in roms/Makefile to build the thing, to document the build process and to simplify the

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-08-01 Thread Benjamin Herrenschmidt
On Mon, 2016-08-01 at 00:49 -0400, Jeff Cody wrote: > For whenever you are ready: > > The mirror is in place at git://git.qemu- > project.org/QemuMacDrivers.git, and > it should be updating nightly/daily. Thanks Jeff ! Cheers, Ben.

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-31 Thread Jeff Cody
On Thu, Jul 28, 2016 at 10:44:31PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2016-07-28 at 09:28 +0100, Stefan Hajnoczi wrote: > > > > Jeff, please create a mirror git repo for > > https://github.com/ozbenh/QemuMacDrivers at > > git://git.qemu-project.org/QemuMacDrivers.git with nightly

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-28 Thread Benjamin Herrenschmidt
On Thu, 2016-07-28 at 09:28 +0100, Stefan Hajnoczi wrote: > > Jeff, please create a mirror git repo for > https://github.com/ozbenh/QemuMacDrivers at > git://git.qemu-project.org/QemuMacDrivers.git with nightly mirroring. > > Once Jeff has set up the mirror repo, please send a new revision of >

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-28 Thread Benjamin Herrenschmidt
On Thu, 2016-07-28 at 15:51 +1000, David Gibson wrote: > So, I believe qemu convention is to include the ROM source via a > submodule - even though it won't typically be built from there and the > prebuilt blob will be used instead. > > Not sure who the right person to talk to about that would

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-28 Thread Stefan Hajnoczi
On Thu, Jul 28, 2016 at 09:04:25AM +0200, Alexander Graf wrote: > On 07/28/2016 07:51 AM, David Gibson wrote: > > On Wed, Jul 27, 2016 at 06:27:33PM +1000, Benjamin Herrenschmidt wrote: > > > The project is at https://github.com/ozbenh/QemuMacDrivers > > > > > > This adds a native MacOS driver in

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-28 Thread Alexander Graf
On 07/28/2016 07:51 AM, David Gibson wrote: On Wed, Jul 27, 2016 at 06:27:33PM +1000, Benjamin Herrenschmidt wrote: The project is at https://github.com/ozbenh/QemuMacDrivers This adds a native MacOS driver in ROM (which can be picked up by MacOS once OpenBIOS has been updated if Mark accepts

Re: [Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-28 Thread David Gibson
On Wed, Jul 27, 2016 at 06:27:33PM +1000, Benjamin Herrenschmidt wrote: > The project is at https://github.com/ozbenh/QemuMacDrivers > > This adds a native MacOS driver in ROM (which can be picked up > by MacOS once OpenBIOS has been updated if Mark accepts > the patches I sent him) which allows

[Qemu-devel] [PATCH] ppc: Add MacOS VGA driver ROM

2016-07-27 Thread Benjamin Herrenschmidt
The project is at https://github.com/ozbenh/QemuMacDrivers This adds a native MacOS driver in ROM (which can be picked up by MacOS once OpenBIOS has been updated if Mark accepts the patches I sent him) which allows MacOS classic (tested 9.2.1) and MacOS X (tested 10.1.4 and 10.4) to properly use