From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=74.6.134.123; helo=sonic315-13.consmr.mail.bf2.yahoo.com; envelope-from=lyons_dj@yahoo.com; receiver=edk2-devel@lists.01.org Received: from sonic315-13.consmr.mail.bf2.yahoo.com (sonic315-13.consmr.mail.bf2.yahoo.com [74.6.134.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D3541210F3D98 for ; Sun, 19 Aug 2018 10:22:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1534699349; bh=aJ1oQLPdsv+dGpcUszsyJqIzANF7WHpudiK+3ex8yZg=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject; b=gyJtgj1cf0hPDrMus1NOk3F2EdPFoHqs6tDq9ybOBuRhsYmVrlOf9FwGsbO/TZy1EiXJQvh5SJYWHmTYdZwm0WNkrA8y9e2uDy+dLUM4oDEL7sYfAVfaujgRZj0qILT1gdiIvYSvlVe8RnjSEcqzrrZtonVfzeJ2DbkRMxxV32YKi/kCoPg+B8+r086viJsugi8GXoZgLtkpLm2xefrbEcHFJ+knI1E09Ke1gwB50w8rCEIAKLKxv2entP2MNebyobr7f3N/vZXtqZz0f39biYS8jXjDwR24kKzJgeIuTZ4WVh4hNsxn5vYU8a5LXTV/S0bIi8K7mKPPj4HsXVmp8Q== X-YMail-OSG: KbBUn_kVM1mjmiKwHk3owlKKQv0RS5vI9Pl6g7o.7sqv6OedmL9r8GF81dCDCD7 hU12yJ_pJRSfrbnKt3DuFtSeTED7w5SYnYdQuEUi2_CMluyWmXSqix9FmE92NAvBxBtYZ3kBy6yk SX98mdgwy.bA2h0.lu3LX68jAOljuaLnexNs6BiuuiIshd7MI4z6faq1qruS9n1u1xN_c_yd6Clw _9ypHafSy3UuWyaRAE_m33bpx9TuPCMfWIDHztzf1Qa8I4NBL8I2Nkn_jUhAh3j6A727rHPyuV49 kIkt.MUvqE_C9RthHW.DMz8VhsfdriSWu07vfJ9QxePZUZvFf0TmgqAI9ffZYidOY0o4xTmj0xqo rFT13VEvsACJAqIZlLNGHvtfwmv.QSVxxnq0IrByKDQalToREtEJDfdx30pgfXiT2dsIb.jPrpgq CfQOsQpEFc5tj_W0rHIKXkeI3QVB1QY1uvTfEUxRB1JbGCsSeRS.96SyUG8G.44HHcbqIt0gGd94 hgCBRalafbZKC6W4y4oSXwj3oXhVS_uox3g9O.ntUgP8ZJ6F0HeklsO2Jy31ysh4vslJGGx_6nVm ol9gBvLVPkNnUmQU38llTUCMiJHjGncPNhSEkQe6nBzF6lHVjPmBY0fEcwlzTHEIULQoHboUkn59 rYhcmnYSCBPhDOAt5EXKKVnhAnWbJC02BRed1S2ZpSb87oMynqgODcLDvxGMn8CmHporEw_oBLAL V2YBMy_G_DcmWR3gQoyvLrfTQQ1EpsNj675qL4mSnW9QiP1c7RU_rM7s7nG3Qq_0jZpZHJdKtY48 to7Ska3cwcfDDz31j0e4W9_zoXtZ6DQcWUcNaJSQMTwOlGi.FDcw0D3Y30SCEvN3IB7B9EDUo6g5 GtFE5U46ZB5_Er25lmtPCk_M0ruCeVpdAuuNYcXN3Yr.tNS3.Sa.IPZI6cAzC8e7dlpGWkbZQhjp fCoeMcB3R.yisWGiNTYe4pKoEDxio5GRGwaEjgZsnNBCthatim4onbI7.vI9Z.H2d1GdaF0.NCMy Y9bduunN4VngzMOlbTxZS Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.bf2.yahoo.com with HTTP; Sun, 19 Aug 2018 17:22:29 +0000 Received: from h10.40.21.98.dynamic.ip.windstream.net (EHLO [192.168.254.68]) ([98.21.40.10]) by smtp417.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 8bb5bb56799400a69659ed99a136f1bc; Sun, 19 Aug 2018 17:22:28 +0000 (UTC) From: Jd Lyons Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Date: Sun, 19 Aug 2018 13:22:27 -0400 References: <1549124C-9EA3-4770-AFB7-9F75F36D764B@yahoo.com> <32FA125E-B0DE-4C34-B3FE-16A70B0158CB@yahoo.com> To: =?utf-8?Q?Marvin_H=C3=A4user?= , edk2-devel@lists.01.org In-Reply-To: <32FA125E-B0DE-4C34-B3FE-16A70B0158CB@yahoo.com> Message-Id: <7C37BC35-064C-4330-899B-F99AE6197C2D@yahoo.com> X-Mailer: Apple Mail (2.3445.6.18) Subject: Re: GOP Console Driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Aug 2018 17:22:31 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On Aug 19, 2018, at 1:05 PM, Jd Lyons wrote: >=20 >=20 >=20 >> On Aug 19, 2018, at 7:46 AM, Marvin H=C3=A4user = wrote: >>=20 >> 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. >>=20 >> Regards, >> Marvin >>=20 >=20 > Thanks Marvin, I suppose my Mac Pro doesn=E2=80=99t do = gST>ConOutHandle for my GOP video card, I could try and replace the = console splitter DXE in my firmware, but I=E2=80=99d like to try and = test it first. >=20 > 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=E2=80=99m not sure if there would = be a way to test this, other than just replacing Apple=E2=80=99s console = Splitter with the one from OVMF, I may brick the firmware if it=E2=80=99s = incompatible. >=20 > Any ideas? >=20 > JD >=20 >=20 Seems there is a driver for Clover boot loader that fixes this issue for = me, does some stuff with gST>ConOutHandle. = https://github.com/svn2github/cloverefiboot/blob/master/OsxAptioFixDrv/Osx= AptioFix2Drv.c That let me boot OS X via the GOP card in my system, thanks for the help = Marvin. >=20 >>> -----Original Message----- >>> From: edk2-devel On Behalf Of Jd = Lyons >>> Sent: Sunday, August 19, 2018 5:35 AM >>> To: edk2-devel@lists.01.org >>> Subject: [edk2] GOP Console Driver >>>=20 >>>=20 >>>=20 >>>> Begin forwarded message: >>>>=20 >>>> From: Jd Lyons >>>> Subject: GOP Console Driver >>>> Date: August 18, 2018 at 11:31:50 PM EDT >>>> To: edk2-devel@lists.01.org >>>>=20 >>>> I=E2=80=99ve 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. >>>>=20 >>>> I=E2=80=99m able to get the GOP rom for my graphics card to load = and link to the >>> device, Apple=E2=80=99s 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=E2=80=99t get back to a shell nor can I boot = Windows or the Mac >>> OS in this mode. >>>>=20 >>>> I think the trouble with booting the macOS is Apple=E2=80=99s = boot.efi can=E2=80=99t 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=E2=80=99t link to any devices, even when I try = to connect it with >>> my device handle, I.E. >>>>=20 >>>> connect DA 129 >>>>=20 >>>> Returns success, but invoking drivers shows the Graphics Console = Driver is >>> still not linked to any devices. >>>>=20 >>>> Can anyone point me in the right direction on how to get a proper = GOP >>> Console Driver? >>>>=20 >>>> Thanks, >>>> JD >>>=20 >>> _______________________________________________ >>> edk2-devel mailing list >>> edk2-devel@lists.01.org >>> https://lists.01.org/mailman/listinfo/edk2-devel >=20