From: Jd Lyons <lyons_dj@yahoo.com>
To: "Marvin Häuser" <Marvin.Haeuser@outlook.com>, edk2-devel@lists.01.org
Subject: Re: GOP Console Driver
Date: Sun, 19 Aug 2018 13:05:14 -0400 [thread overview]
Message-ID: <32FA125E-B0DE-4C34-B3FE-16A70B0158CB@yahoo.com> (raw)
In-Reply-To: <VI1PR0801MB1790C77183F92B30983FDF0080330@VI1PR0801MB1790.eurprd08.prod.outlook.com>
> On Aug 19, 2018, at 7:46 AM, Marvin Häuser <Marvin.Haeuser@outlook.com> wrote:
>
> 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
>
Thanks Marvin, I suppose my Mac Pro doesn’t do gST>ConOutHandle for my GOP video card, I could try and replace the console splitter DXE in my firmware, but I’d like to try and test it first.
I extracted the ConsoleSplitter from OVMF and tried to load it via a shell on the Mac Pro, however the system just freezes when I issue the load command for this driver. Not completely unexpected as there is already a loaded console splitter. I’m not sure if there would be a way to test this, other than just replacing Apple’s console Splitter with the one from OVMF, I may brick the firmware if it’s incompatible.
Any ideas?
JD
>> -----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
next prev parent reply other threads:[~2018-08-19 17:05 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
2018-08-19 17:05 ` Jd Lyons [this message]
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=32FA125E-B0DE-4C34-B3FE-16A70B0158CB@yahoo.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