From nobody Mon Nov 25 10:45:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+71052+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+71052+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=9elements.com ARC-Seal: i=1; a=rsa-sha256; t=1612254837; cv=none; d=zohomail.com; s=zohoarc; b=YhPh5B37zPhIZxVba/0v36LRtZjQMwAjrovtHPK0DAB68hPIW5rkUVcwod7MrX8DRiH+Mtf8L6iJcpWjWp39RcBKsNwcPm9+dp+ML/xNvhvG4cd7oYMmhDKv1YrhovpdixGDYZiN1jVAx7x0wP8GwxeVjUPCBUJKvKOgly1YhlE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612254837; h=Content-Transfer-Encoding:Cc:Date:From:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=b3obMRRQlJYdNMfdASVGSXuVt3ajZXO0p2loFGU8aTk=; b=f9zQLloC8z9zb3TQkLeeYdxXndt6e13DPFyBvuvWPV9cWrybvv+nFT0pZ0flrTd+bYtmTbzDA/3kpt11M0ybGVbkYakVH+sB2zPD4gGD8Mz1BhJ1UmWiiBA3NuZWqy3EL4bVEWYOGR4id+xbMAA/GrzwfXmNQKkvPVVpjjTqYS4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+71052+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1612254836965471.31465460888114; Tue, 2 Feb 2021 00:33:56 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id dGnNYY1788612xg4xbw24FeI; Tue, 02 Feb 2021 00:33:56 -0800 X-Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) by mx.groups.io with SMTP id smtpd.web12.49323.1612254835836840648 for ; Tue, 02 Feb 2021 00:33:56 -0800 X-Received: by mail-ej1-f51.google.com with SMTP id bl23so28619462ejb.5 for ; Tue, 02 Feb 2021 00:33:55 -0800 (PST) X-Gm-Message-State: spLgwzIBy72f3BEdFK3fSSQnx1787277AA= X-Google-Smtp-Source: ABdhPJyqLHprqM+SaGMiMPme8WqvZo3EgokSi3MoVOIBr8VvBb7gxprRZtaSop1cXHaycxysmrXZuQ== X-Received: by 2002:a17:906:af58:: with SMTP id ly24mr10446633ejb.208.1612254834334; Tue, 02 Feb 2021 00:33:54 -0800 (PST) X-Received: from rudolphp-notebook.9e.network (ip-178-202-79-247.hsi09.unitymediagroup.de. [178.202.79.247]) by smtp.gmail.com with ESMTPSA id b17sm9633103edv.56.2021.02.02.00.33.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Feb 2021 00:33:53 -0800 (PST) From: "Patrick Rudolph" To: devel@edk2.groups.io Cc: aiden.park@intel.com, benjamin.you@intel.com, philipp.deppenwiese@9elements.com, maurice.ma@intel.com, guo.dong@intel.com Subject: [edk2-devel] [PATCH] UefiPayloadPkg/PlatformBootManager: Connect console after EndOfDxe Date: Tue, 2 Feb 2021 09:33:52 +0100 Message-Id: <20210202083352.581971-1-patrick.rudolph@9elements.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,patrick.rudolph@9elements.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1612254836; bh=hMm2wqi69yIuyJLxajQ+q1xUQ3im1Jrdxv1gjWHB3qg=; h=Cc:Date:From:Reply-To:Subject:To; b=pE998En27pGqnbWMDSNeEl/pgSyCv/1uF/Br+pf5sYTsWJHI4AwEyRbkjVpKvVK/4jG 8EGOT+mLh1+yyH6xktYOlz/yaW0pLd0Fjti2NnEbtPP/7qztWuolPVywIW8aswejdGe92 7kWm69x+FXRglb8Q2iNSjTxKbBDc2BkwVrU= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Currently the console is connected before EndOfDxe causing OptionsROMs to be loaded, but their drivers aren't used and thus no GOP is installed. To make use of 3rdparty OptionROMs connect the console after EndOfDxe. Tested on Intel CFL board using Nvidia Quadro GPU. Signed-off-by: Patrick Rudolph Reviewed-by: Guo Dong Reviewed-by: Sunny Wang < sunnywang@hpe.com> --- UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c | 4 ++= -- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootMana= ger.c b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c index c5c6af0abc..7fa3a048b7 100644 --- a/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c +++ b/UefiPayloadPkg/Library/PlatformBootManagerLib/PlatformBootManager.c @@ -157,8 +157,6 @@ PlatformBootManagerBeforeConsole ( EFI_INPUT_KEY Down; EFI_BOOT_MANAGER_LOAD_OPTION BootOption; =20 - PlatformConsoleInit (); - // // Register ENTER as CONTINUE key // @@ -192,6 +190,8 @@ PlatformBootManagerBeforeConsole ( // Dispatch deferred images after EndOfDxe event and ReadyToLock install= ation. // EfiBootManagerDispatchDeferredImages (); + + PlatformConsoleInit (); } =20 /** --=20 2.26.2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#71052): https://edk2.groups.io/g/devel/message/71052 Mute This Topic: https://groups.io/mt/80310284/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-