From nobody Fri May 3 13:03:02 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Authentication-Results: mx.zoho.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1488890416877158.33303908875394; Tue, 7 Mar 2017 04:40:16 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 27DEB8034F; Tue, 7 Mar 2017 04:40:15 -0800 (PST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 575688034E for ; Tue, 7 Mar 2017 04:40:13 -0800 (PST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP; 07 Mar 2017 04:40:12 -0800 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 07 Mar 2017 04:40:12 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 04:40:12 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 04:40:12 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Tue, 7 Mar 2017 20:40:08 +0800 X-Original-To: edk2-devel@lists.01.org X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,258,1484035200"; d="dat'59?scan'59,208,59";a="73726616" From: "Guo, Mang" To: "edk2-devel@lists.01.org" Thread-Topic: [Patch][edk2-platforms/devel-MinnowBoard3] Fix Graphic issue Thread-Index: AdKXP/PeUbRHChqWThqna3iYpCMFJw== Date: Tue, 7 Mar 2017 12:40:08 +0000 Message-ID: <22D2C85ED001C54AA20BFE3B0E4751D1524DD9DE@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: <22D2C85ED001C54AA20BFE3B0E4751D1524DD9DE@SHSMSX103.ccr.corp.intel.com> x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: [edk2] [Patch][edk2-platforms/devel-MinnowBoard3] Fix Graphic issue X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "Lu, ShifeiX A" , "Wei, David" Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Fix Graphic driver not connect issue when boot to OS if fastboot enable. Set network default disable. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Guo Mang --- .../Common/Library/PlatformBdsLib/BdsPlatform.c | 11 ++++++-= ---- .../Common/Library/PlatformBdsLib/BdsPlatform.h | 2 +- .../Common/PlatformSettings/PlatformSetupDxe/Boot.vfi | 4 ++-- .../BroxtonPlatformPkg/PlatformDsc/PcdsDynamicHii.Default.dsc | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsP= latform.c b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPl= atform.c index af887e4..bde5b11 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPlatform= .c +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPlatform= .c @@ -2186,11 +2186,6 @@ PlatformBdsConnectSimpleConsole ( =20 if ((PlatformConsole[Index].ConnectType & CONSOLE_OUT) =3D=3D CONSOL= E_OUT) { BdsLibUpdateConsoleVariable (L"ConOut", PlatformConsole[Index].Dev= icePath, NULL); - // - // Make sure we have at least one active VGA, and have the right - // active VGA in console variable - // - Status =3D PlatformBdsForceActiveVga (); } =20 if ((PlatformConsole[Index].ConnectType & STD_ERROR) =3D=3D STD_ERRO= R) { @@ -2202,6 +2197,12 @@ PlatformBdsConnectSimpleConsole ( } =20 // + // Make sure we have at least one active VGA, and have the right + // active VGA in console variable + // + Status =3D PlatformBdsForceActiveVga (); + + // // Connect ConIn first to give keyboard time to parse hot key event. // Status =3D BdsLibConnectConsoleVariable (L"ConIn"); diff --git a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsP= latform.h b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPl= atform.h index 18c5f88..2d649eb 100644 --- a/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPlatform= .h +++ b/Platform/BroxtonPlatformPkg/Common/Library/PlatformBdsLib/BdsPlatform= .h @@ -405,7 +405,7 @@ BdsStartBootMaint ( VOID ); =20 -#define ONE_SECOND 10000000 +#define ONE_SECOND 1000000 #define FRONT_PAGE_KEY_CONTINUE 0x1000 #define FRONT_PAGE_KEY_LANGUAGE 0x1234 #define FRONT_PAGE_KEY_BOOT_MANAGER 0x1064 diff --git a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSe= tupDxe/Boot.vfi b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/Platf= ormSetupDxe/Boot.vfi index ad57c25..9d84269 100644 --- a/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/= Boot.vfi +++ b/Platform/BroxtonPlatformPkg/Common/PlatformSettings/PlatformSetupDxe/= Boot.vfi @@ -77,8 +77,8 @@ form formid =3D BOOT_CONFIGURATION_FORM_ID, oneof varid =3D Setup.EfiNetworkSupport, prompt =3D STRING_TOKEN(STR_EFI_NETWORK_CONTROL), help =3D STRING_TOKEN(STR_EFI_NETWORK_CONTROL_HELP), - option text =3D STRING_TOKEN(STR_DISABLED), value =3D 0, flags =3D RES= ET_REQUIRED; - option text =3D STRING_TOKEN(STR_ENABLED), value =3D 1, flags =3D DEFA= ULT | MANUFACTURING | RESET_REQUIRED; + option text =3D STRING_TOKEN(STR_DISABLED), value =3D 0, flags =3D DEF= AULT | MANUFACTURING | RESET_REQUIRED; + option text =3D STRING_TOKEN(STR_ENABLED), value =3D 1, flags =3D 0 | = RESET_REQUIRED; endoneof; =20 oneof varid =3D Setup.RTEn, diff --git a/Platform/BroxtonPlatformPkg/PlatformDsc/PcdsDynamicHii.Default= .dsc b/Platform/BroxtonPlatformPkg/PlatformDsc/PcdsDynamicHii.Default.dsc index 3242aa3..96e27ee 100644 --- a/Platform/BroxtonPlatformPkg/PlatformDsc/PcdsDynamicHii.Default.dsc +++ b/Platform/BroxtonPlatformPkg/PlatformDsc/PcdsDynamicHii.Default.dsc @@ -13,7 +13,7 @@ # ## =20 - gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|5 # Variable: L"Timeout" + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|1 # Variable: L"Timeout" gClientCommonModuleTokenSpaceGuid.PcdPlatformMemoryCheck|L"MemoryCheck"|= gClientCommonModuleTokenSpaceGuid|0x0|0 gEfiMdePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|L"HwErrRecSupport"|= gEfiGlobalVariableGuid|0x0|1 # Variable: L"HwErrRecSupport" gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|L"BootState"|gEfi= BootStateGuid|0x0|TRUE --=20 2.10.1.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel