From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=98.137.65.147; helo=sonic309-21.consmr.mail.gq1.yahoo.com; envelope-from=lyons_dj@yahoo.com; receiver=edk2-devel@lists.01.org Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 21DFC210F4BD0 for ; Sun, 19 Aug 2018 10:05:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1534698320; bh=Qizh4UwtMazBnpthHeHnbnJl66idD4QIcxTYVha5pA0=; h=From:Subject:Date:References:To:In-Reply-To:From:Subject; b=lUA9Ms9Wzk6yXgAIoa7to2bJtwep/hoZoP7YAo7ECP2Ayfgh7f4M4ufmExRKdfLZWBdC4X/RyM5Y4qVZ3XYIf+0mIlfbMUkhHAWq603KTEmkH1M9EYePrsX0WvemMwQM87V1AbTJqGhNpMQh2wCIPBLegeUIcjVCD3knF3EtWSgm4XnA9eH1bVVm3eSqGPAn5ojdPpdM0eba9cNd0R8thz3dAWoUk9SBR6OlQWqmaT7IttAiNqIlI1DT4bn+74S2VtxzO0F4wuKn7iVoMdK0s7Y5+1uPFlbQH2AZKIm0roPXsYr8jwIGisK2DjOTa5plbchjRaLwOSH85hq3WQgm9Q== X-YMail-OSG: bTg6QIAVM1kketcunofDFjqjemDLn0mxLCWQB0ZaoSVtEanXG3U0S5UTUsWVTfs _2eCBA8IbmZD3qMmkmTk6heCR4KHwo8g8MRwgoeVg8L6zQKp81MlQRBuYQthsm_tafKMLgmd1nXD .e4N7nGt3x3az1cYt7pRqaZnvUfeJz4kVgUecXZ05pH3drHJub8ykhm8T1XFDbI7vem.NKf.MQld fAP_QYWhfmA1QudmFgFOkLhyzdw6iAtpXMHR2bn8bZhbvIeFgqgj93QCCeKgxvuZ8GOK.tD9aP1l 0pHaF8HU6l0MBflUauvlHAMHmBYJzuHfLzZ51j367E_NLufFAGjTQ20Nl5E5GZTzPHQFwK3AY3bQ BfJj3oSMf4NlK1.Uv4SyXoFQXTt8RaF2YJogEV2.T.i3ioOdc3We_0PAX2U6K_u4lxds32cTgn6P 2YFo_mzBlQtjt8hQm4qjMm_G5ZqaSh97HKluOXKoc1zO1hYORaXn1cGbWSyXYkhydcdatmoAq5nR JNyOFWJqhAqibBYaQupeb9FDRrow.Zrw65pJSh0WVBqVmk0i63RMO3twb1ggFfsEJYwOdvHjZ4yS eNihJmqi7f9BIZrIaT2YdlLq9iTmefBZVFzv8mSs0mQgvy96IbEMdrmem2Vk6XxQi1Utl_u5H_7u 8GdwIFWSEtdBGAtFNw40SA5hxAKuRGZPkeWZbHhgiKs4Y8arCcd4xln_uPBhZDte7nfmGF4xhFi7 _as4qDSUYJpZi4zetYJ_6CrNEm2w8uHwt6Jw4ZV2fOtA1EzzMqWv2VpSrQF86r.ll1.hBu0bjOq8 dqc8CqhcUY_Dlt4yS15I7iHuq8xvhxMos53csmiUqSyF6ty.Ija.512hOP1Dy0wNDta4S02blK9i tDvy7S2tXgcW5jDNs85Y0Ib0SJdgjtw_F..I.wvJhGZAUjz6qhfpywsP8l1ZUybrJ2Iu_lt7CYcb ZUwEqD7Sc5YJRj.lGNsDXeFh2W3MmhjfK2.CKcTzFThXN1Fqez3plclCyxDyvoaYqamcRvHkWqNn zoFA5o1EbOTw6Uxe2sA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 19 Aug 2018 17:05:20 +0000 Received: from h10.40.21.98.dynamic.ip.windstream.net (EHLO [192.168.254.68]) ([98.21.40.10]) by smtp408.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID dbdb25b7621e0a4a75deda252482e67b; Sun, 19 Aug 2018 17:05:16 +0000 (UTC) From: Jd Lyons Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Date: Sun, 19 Aug 2018 13:05:14 -0400 References: <1549124C-9EA3-4770-AFB7-9F75F36D764B@yahoo.com> To: =?utf-8?Q?Marvin_H=C3=A4user?= , edk2-devel@lists.01.org In-Reply-To: Message-Id: <32FA125E-B0DE-4C34-B3FE-16A70B0158CB@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:05:21 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > 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 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. 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. Any ideas? JD >> -----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