public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Marvin Häuser" <Marvin.Haeuser@outlook.com>
To: Jd Lyons <lyons_dj@yahoo.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "afish@apple.com" <afish@apple.com>
Subject: Re: GOP Console Driver
Date: Sun, 19 Aug 2018 11:46:41 +0000	[thread overview]
Message-ID: <VI1PR0801MB1790C77183F92B30983FDF0080330@VI1PR0801MB1790.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <F7FDA9EA-A36A-4EF9-9C6A-F8FFF46C2365@yahoo.com>

boot.efi requires a GOP instance to be present on gST->ConOutHandle, which Mac EFI installs via ConSplitter.
I know that Windows UEFI boot is not officially supported for such old models, however I'm not aware of the technical reasons - I think Windows should support UGA.
Shell is also trial&error with old Macs, I think I heard a modded EDK Shell once worked. As for finding out boot.efi's issues, I would just shim the most crucial Boot Services (especially HandleProtocol()) and protocol inputs and outputs.

Regards,
Marvin

> -----Original Message-----
> From: edk2-devel <edk2-devel-bounces@lists.01.org> On Behalf Of Jd Lyons
> Sent: Sunday, August 19, 2018 5:35 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] GOP Console Driver
> 
> 
> 
> > Begin forwarded message:
> >
> > From: Jd Lyons <lyons_dj@yahoo.com>
> > Subject: GOP Console Driver
> > Date: August 18, 2018 at 11:31:50 PM EDT
> > To: edk2-devel@lists.01.org
> >
> > I’ve been trying to hack together GOP support for Apples EFI 1.1 on my
> Mac Pro3,1. Apple uses a somewhat mix of EFI 1.x and UEFi2.x.
> >
> > I’m able to get the GOP rom for my graphics card to load and link to the
> device, Apple’s firmware takes care of that much, and I have some custom
> code for rEFInd boot loader that makes the graphics card work in graphics
> mode. However I can’t get back to a shell nor can I boot Windows or the Mac
> OS in this mode.
> >
> > I think the trouble with booting the macOS is Apple’s boot.efi can’t get the
> console, Apple has a UGA Console driver but no GOP Console driver in my
> firmware. I tried extracting the Graphics Console Driver from OVMF and it
> does load, but doesn’t link to any devices, even when I try to connect it with
> my device handle, I.E.
> >
> > connect DA 129
> >
> > Returns success, but invoking drivers shows the Graphics Console Driver is
> still not linked to any devices.
> >
> > Can anyone point me in the right direction on how to get a proper GOP
> Console Driver?
> >
> > Thanks,
> > JD
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel

  parent reply	other threads:[~2018-08-19 11:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1549124C-9EA3-4770-AFB7-9F75F36D764B@yahoo.com>
2018-08-19  3:34 ` GOP Console Driver Jd Lyons
2018-08-19  9:38   ` Andrew Fish
2018-08-19 11:46   ` Marvin Häuser [this message]
2018-08-19 17:05     ` Jd Lyons
2018-08-19 17:22       ` Jd Lyons

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-list 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=VI1PR0801MB1790C77183F92B30983FDF0080330@VI1PR0801MB1790.eurprd08.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox