From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 324C18032F for ; Tue, 7 Mar 2017 19:26:36 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Mar 2017 19:26:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,261,1486454400"; d="scan'208";a="1106026419" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 07 Mar 2017 19:26:35 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 19:26:35 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 7 Mar 2017 19:26:34 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by shsmsx102.ccr.corp.intel.com ([169.254.2.88]) with mapi id 14.03.0248.002; Wed, 8 Mar 2017 11:26:31 +0800 From: "Wei, David" To: "Guo, Mang" , "edk2-devel@lists.01.org" CC: "Lu, ShifeiX A" , "Wei, David" Thread-Topic: [Patch][edk2-platforms/devel-MinnowBoard3] Fix Graphic issue Thread-Index: AdKXP/PeUbRHChqWThqna3iYpCMFJwAe1/IA Date: Wed, 8 Mar 2017 03:26:30 +0000 Message-ID: <89954A0B46707A448411A627AD4EEE3468F0256C@SHSMSX101.ccr.corp.intel.com> References: <22D2C85ED001C54AA20BFE3B0E4751D1524DD9DE@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <22D2C85ED001C54AA20BFE3B0E4751D1524DD9DE@SHSMSX103.ccr.corp.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [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: , X-List-Received-Date: Wed, 08 Mar 2017 03:26:36 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Mang,=20 Could you double check below definition change?=20 -#define ONE_SECOND 10000000 +#define ONE_SECOND 1000000=20 Thanks, David Wei =20 -----Original Message----- From: Guo, Mang=20 Sent: Tuesday, March 07, 2017 8:40 PM To: edk2-devel@lists.01.org Cc: Wei, David ; Lu, ShifeiX A Subject: [Patch][edk2-platforms/devel-MinnowBoard3] Fix Graphic issue 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