From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) by mx.groups.io with SMTP id smtpd.web11.2075.1662485229629178676 for ; Tue, 06 Sep 2022 10:27:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=D8WhyqY5; spf=pass (domain: gmail.com, ip: 209.85.160.172, mailfrom: benjamin.doron00@gmail.com) Received: by mail-qt1-f172.google.com with SMTP id y18so8582170qtv.5 for ; Tue, 06 Sep 2022 10:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=bb3+Wl1mtGwcYVr/ui8P5XKwXfpmaorIFgYu3YLKXis=; b=D8WhyqY54m4W543eNeahVn6NLmsWXa8YQ7T9i197l0/usGG1QBOOrxkgdkaOs46a9r tgS4WXBbgz786jPy1f4gfLMtT/6ltKioGR102ITsCSY579Oai2YuSiWGyIVbearrAM18 Q2ufu5qFvtxoxTSzM+rRqrvZJJ3bj6l6KI4IK/sYUj0iXX7tLMssX0wQf3UyuGrLnO8E phMkEMqTVzIE9o6NXHIEQuV0gbpSRGHJsgOHoDJkOPYUyDA9u+ylXAkEliCj2sbpdWa7 95sKeBpwIDKdmHSceZGCD/kMF+VOWljsaO5cwTFCAetgv145OgAgNbuciRnC73QmYj+K VZlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=bb3+Wl1mtGwcYVr/ui8P5XKwXfpmaorIFgYu3YLKXis=; b=7+sd0gVyEFWQ1LzvX0wT0AqBu1R4MKNI+Abk+nB4BYTbmXYLXgI4KnNaHPRu1cFr8b UoDlnR/89Rg9kE2XE0ihF1SBRsZEjAfQBDu85zaN/RCM8uY7K3g/H8Cgn84H2BvSKKTQ BT0EHWMgEG7xnZIikmTSsQvxQee+WAes5mg7y+XmiuHO7zprAL7kT1HUj+dVNiVS2PsN tHUnsksoJWZ8q7vMem6VL5bmvCvH5g+ww8GhB5V2Viu0sGRbdsDb8lBpT2gbQYSBLhs0 KX/Z6pquGBr4jm1PzW7evZBv+faVlNoD9zwVGl3pDTQ/X1cumzfC4+NMfuSChFr0m923 iKig== X-Gm-Message-State: ACgBeo2Sdu19jnj8A6PP+io/QIdPyH7s/krpOC0dR4NLKFiYkKGFfxge Sg42LV/p1a7lIWJ6A1y6POA1luZ8y9Gcuw== X-Google-Smtp-Source: AA6agR4LqzUU9d+ZEg6DBhJsDGb9htrD63zl9dxpq2JK0bWiGOakNRqhAD8QWqi9m8kXSfpFYJ557w== X-Received: by 2002:ac8:5c8d:0:b0:344:568c:efc4 with SMTP id r13-20020ac85c8d000000b00344568cefc4mr45761153qta.557.1662485228462; Tue, 06 Sep 2022 10:27:08 -0700 (PDT) Return-Path: Received: from aturtleortwo-benjamindomain.. ([2607:f2c0:e98c:e:46bc:db07:bbf3:df6d]) by smtp.gmail.com with ESMTPSA id j2-20020a05620a410200b006b9ab3364ffsm12169038qko.11.2022.09.06.10.27.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:27:07 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Cc: Chasel Chiu , Sai Chaganty , Isaac Oram , Nate DeSimone , Ankit Sinha Subject: [edk2-devel][edk2-platforms][PATCH v1 3/3] KabylakeOpenBoardPkg/AspireVn7Dash572G: Hook-up HDMI debug port to build Date: Tue, 6 Sep 2022 13:26:54 -0400 Message-Id: <3760ced8e358f92136308754ab57938f1dd3f9e7.1662484082.git.benjamin.doron00@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable HDMI port can be used with I2cHdmiDebugSerialPortLib, for debugging in all phases. Cc: Chasel Chiu Cc: Sai Chaganty Cc: Isaac Oram Cc: Nate DeSimone Cc: Ankit Sinha Signed-off-by: Benjamin Doron --- .../AspireVn7Dash572G/OpenBoardPkg.dsc | 85 +++++++++++++++---- .../AspireVn7Dash572G/OpenBoardPkg.fdf | 11 ++- .../AspireVn7Dash572G/OpenBoardPkgPcd.dsc | 54 ++++++++++-- 3 files changed, 121 insertions(+), 29 deletions(-) diff --git a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoar= dPkg.dsc b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardP= kg.dsc index 261f141056f5..c71b7169a38a 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.dsc @@ -25,9 +25,10 @@ #=0D # Debug logging=0D #=0D + DEFINE USE_HDMI_DEBUG_PORT =3D FALSE=0D DEFINE USE_PEI_SPI_LOGGING =3D FALSE=0D DEFINE USE_MEMORY_LOGGING =3D FALSE=0D - DEFINE RELEASE_LOGGING =3D ($(USE_PEI_SPI_LOGGING) || $(USE_MEMORY_= LOGGING))=0D + DEFINE RELEASE_LOGGING =3D ($(USE_HDMI_DEBUG_PORT) || $(USE_PEI_SPI= _LOGGING) || $(USE_MEMORY_LOGGING))=0D DEFINE TESTING =3D TRUE=0D =0D PLATFORM_NAME =3D $(PLATFORM_PACKAGE)=0D @@ -205,6 +206,15 @@ #######################################=0D DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf=0D =0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.in= f=0D +=0D + #######################################=0D + # Board-specific/Silicon Package=0D + #######################################=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPortLi= b/SecI2cHdmiDebugSerialPortLib.inf=0D +!endif=0D +=0D #######################################=0D # Platform Package=0D #######################################=0D @@ -277,7 +287,7 @@ # Edk2 Packages=0D #######################################=0D # In-memory logging may require too many services for early core debug out= put=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D !endif=0D =0D @@ -285,7 +295,7 @@ #######################################=0D # Edk2 Packages=0D #######################################=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D !endif=0D =0D @@ -322,7 +332,7 @@ #######################################=0D # Edk2 Packages=0D #######################################=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D !endif=0D =0D @@ -336,7 +346,7 @@ # Edk2 Packages=0D #######################################=0D # In-memory logging may require too many services for early core debug out= put=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D !endif=0D =0D @@ -344,7 +354,7 @@ #######################################=0D # Edk2 Packages=0D #######################################=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D !endif=0D =0D @@ -363,7 +373,21 @@ TestPointCheckLib|$(PLATFORM_PACKAGE)/Test/Library/TestPointCheckLib/Smm= TestPointCheckLib.inf=0D !endif=0D =0D -# TODO: DebugLib override for UEFI_DRIVER and UEFI_APPLICATION?=0D +[LibraryClasses.common.UEFI_DRIVER]=0D + #######################################=0D + # Edk2 Packages=0D + #######################################=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D + DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D +!endif=0D +=0D +[LibraryClasses.common.UEFI_APPLICATION]=0D + #######################################=0D + # Edk2 Packages=0D + #######################################=0D +!if ($(USE_MEMORY_LOGGING) =3D=3D TRUE || $(USE_HDMI_DEBUG_PORT) =3D=3D TR= UE)=0D + DebugLib|MdeModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebug= LibReportStatusCode.inf=0D +!endif=0D =0D # TODO: Add and improve feature support=0D #######################################=0D @@ -389,6 +413,9 @@ !if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D SerialPortLib|MdeModulePkg/Library/PeiDxeSerialPortLibMem/PeiSerialP= ortLibMem.inf=0D !endif=0D +!endif=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/PeiI2cHdmiDebugSerialPortLib.inf=0D !endif=0D =0D gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|$(RELEASE_LOGG= ING)=0D @@ -517,14 +544,24 @@ #######################################=0D # Edk2 Packages=0D #######################################=0D + MdeModulePkg/Core/Dxe/DxeMain.inf {=0D + =0D + # Can debug CpuExceptionHandlerLib=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/DxeI2cHdmiDebugSerialPortLib.inf=0D +!endif=0D + }=0D MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRun= timeDxe.inf {=0D =0D DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf=0D !if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D SerialPortLib|MdeModulePkg/Library/PeiDxeSerialPortLibMem/DxeSerialP= ortLibMem.inf=0D +!endif=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/RuntimeDxeI2cHdmiDebugSerialPortLib.inf=0D !endif=0D =0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|$(USE_MEMORY_L= OGGING)=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|($(USE_MEMORY_= LOGGING) || $(USE_HDMI_DEBUG_PORT))=0D gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|512=0D }=0D # TODO: Still requires a little more thought=0D @@ -533,9 +570,12 @@ DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf=0D !if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D SerialPortLib|MdeModulePkg/Library/PeiDxeSerialPortLibMem/SmmSerialP= ortLibMem.inf=0D +!endif=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/SmmI2cHdmiDebugSerialPortLib.inf=0D !endif=0D =0D - gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|$(USE_MEMORY_L= OGGING)=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|($(USE_MEMORY_= LOGGING) || $(USE_HDMI_DEBUG_PORT))=0D gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|512=0D }=0D MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf=0D @@ -548,12 +588,24 @@ MdeModulePkg/Universal/BdsDxe/BdsDxe.inf {=0D =0D NULL|BoardModulePkg/Library/BdsPs2KbcLib/BdsPs2KbcLib.inf=0D +!if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortSerialTerminalE= nable =3D=3D TRUE=0D + NULL|BoardModulePkg/Library/BdsSerialPortTerminalLib/BdsSerialPortTe= rminalLib.inf=0D +!endif=0D }=0D +!if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortSerialTerminalE= nable =3D=3D TRUE=0D + MdeModulePkg/Universal/SerialDxe/SerialDxe.inf {=0D + =0D + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/DxeI2cHdmiDebugSerialPortLib.inf=0D + }=0D + MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D +!endif=0D +=0D UefiCpuPkg/CpuDxe/CpuDxe.inf {=0D =0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D -# TODO/TEST=0D -# SerialPortLib|MdeModulePkg/Library/PeiDxeSerialPortLibMem/DxeSerial= PortLibMem.inf=0D + # Can debug CpuExceptionHandlerLib=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerialPo= rtLib/DxeI2cHdmiDebugSerialPortLib.inf=0D !endif=0D }=0D =0D @@ -589,12 +641,9 @@ =0D gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80080046=0D =0D - !if $(TARGET) =3D=3D DEBUG=0D - DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialP= ort.inf=0D - !endif=0D -!if $(USE_MEMORY_LOGGING) =3D=3D TRUE=0D -# TODO/TEST=0D -# SerialPortLib|MdeModulePkg/Library/PeiDxeSerialPortLibMem/SmmSerial= PortLibMem.inf=0D + # Can debug CpuExceptionHandlerLib=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + SerialPortLib|$(PLATFORM_BOARD_PACKAGE)/Library/I2cHdmiDebugSerial= PortLib/SmmI2cHdmiDebugSerialPortLib.inf=0D !endif=0D }=0D !endif=0D diff --git a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoar= dPkg.fdf b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardP= kg.fdf index 9eb37e7d230e..864d5561d7d8 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.fdf +++ b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkg.fdf @@ -353,6 +353,10 @@ INF MdeModulePkg/Universal/Console/GraphicsOutputDxe/= GraphicsOutputDxe.inf INF BoardModulePkg/LegacySioDxe/LegacySioDxe.inf=0D INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf=0D INF MdeModulePkg/Bus/Isa/Ps2MouseDxe/Ps2MouseDxe.inf=0D +!if gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortSerialTerminalE= nable =3D=3D TRUE=0D + INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf=0D + INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf=0D +!endif=0D INF BoardModulePkg/BoardBdsHookDxe/BoardBdsHookDxe.inf=0D =0D INF ShellPkg/Application/Shell/Shell.inf=0D @@ -584,12 +588,7 @@ INF IntelSiliconPkg/Feature/VTd/IntelVTdDxe/IntelVTdD= xe.inf =0D !if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly =3D=3D FALSE=0D =0D -INF $(PLATFORM_SI_PACKAGE)/Hsti/Dxe/HstiSiliconDxe.inf=0D -=0D -!endif=0D -=0D -!if gMinPlatformPkgTokenSpaceGuid.PcdBootToShellOnly =3D=3D FALSE=0D -=0D +INF $(PLATFORM_SI_PACKAGE)/Hsti/Dxe/HstiSiliconDxe.inf=0D INF $(PLATFORM_PACKAGE)/Hsti/HstiIbvPlatformDxe/HstiIbvPlatformDxe.inf=0D =0D !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable =3D=3D TRUE=0D diff --git a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoar= dPkgPcd.dsc b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoa= rdPkgPcd.dsc index a9d531a269a5..a4ea524e26bc 100644 --- a/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkgPcd= .dsc +++ b/Platform/Intel/KabylakeOpenBoardPkg/AspireVn7Dash572G/OpenBoardPkgPcd= .dsc @@ -228,7 +228,7 @@ gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07=0D !else=0D gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0=0D - gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x3=0D + gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x03=0D !endif # $(RELEASE_LOGGING)=0D !else=0D # FIXME: More than just compiler optimisation is hooked to DEBUG builds.= =0D @@ -264,6 +264,8 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE=0D !if $(TARGET) =3D=3D RELEASE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|FALSE=0D + # Determine RTS/CTS requirement=0D + gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE=0D !else=0D gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE=0D gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE=0D @@ -407,7 +409,37 @@ # 3: DDC channel C=0D # 4: DDC channel D=0D # @Prompt DDC I2C channel to claim as the HDMI debug port=0D - gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortDdcI2cChannel|0x0= 0 #@todo - Set to correct value for VN7-572G=0D + gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortDdcI2cChannel|0x0= 2=0D +=0D + ## Enable usage the HDMI DDC channel as a debug port - Causes the BIOS d= ebug log=0D + # to be written to the HDMI DDC channel.=0D + # The value is defined as below.=0D + # FALSE: Do NOT use the HDMI DDC channel as a debug port=0D + # TRUE: Use the HDMI DDC channel as a debug port=0D + # @Prompt Enable usage the HDMI DDC channel as a debug port=0D + gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortEnable|$(USE_HDMI= _DEBUG_PORT)=0D +=0D + ## Enable usage the HDMI DDC channel as a serial terminal - Enables usag= e of the=0D + # HDMI DDC channel to display BIOS Setup, UEFI Shell, etc. using a term= inal=0D + # emulator. Useful for cases where video is not operating correctly.=0D + #=0D + # The value is defined as below.=0D + # FALSE: Do NOT use the HDMI DDC channel as a debug port=0D + # TRUE: Use the HDMI DDC channel as a debug port=0D + # @Prompt Enable usage the HDMI DDC channel as a debug port=0D + gKabylakeOpenBoardPkgTokenSpaceGuid.PcdI2cHdmiDebugPortSerialTerminalEna= ble|FALSE=0D +=0D + ## Indicates the type of terminal to use.=0D + # If PcdI2cHdmiDebugPortSerialTerminalEnable is TRUE, this PCD will be = used=0D + # to determine which terminal protocol to use.=0D + # 0 - PCANSI=0D + # 1 - VT100=0D + # 2 - VT100+=0D + # 3 - UTF8=0D + # 4 - TTYTERM=0D + # @Prompt Default Terminal Type.=0D + # @ValidRange 0x80000001 | 0 - 4=0D + gEfiMdePkgTokenSpaceGuid.PcdDefaultTerminalType|3=0D =0D [PcdsFixedAtBuild.IA32]=0D ######################################=0D @@ -433,7 +465,16 @@ ######################################=0D # Edk2 Configuration=0D ######################################=0D - gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046 # 0x804800C= 7/0x806A15CF give useful information, but is very noisy=0D + # TODO: Dynamic in HII=0D + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046=0D +!if FALSE=0D + # Filtered DEBUG_POOL, DEBUG_PAGE, DEBUG_GCD and DEBUG_CACHE=0D + # - Unused: DEBUG_VARIABLE, DEBUG_BM and DEBUG_LOADFILE=0D + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x804950CF=0D +!endif=0D +!if ($(TESTING) =3D=3D TRUE && $(USE_HDMI_DEBUG_PORT) =3D=3D FALSE)=0D + gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80400046=0D +!endif=0D =0D ######################################=0D # Silicon Configuration=0D @@ -446,9 +487,9 @@ # Platform Configuration=0D ######################################=0D !if $(TARGET) =3D=3D DEBUG=0D - gMinPlatformPkgTokenSpaceGuid.PcdSecSerialPortDebugEnable|1=0D + gMinPlatformPkgTokenSpaceGuid.PcdSecSerialPortDebugEnable|TRUE=0D !else=0D - gMinPlatformPkgTokenSpaceGuid.PcdSecSerialPortDebugEnable|0=0D + gMinPlatformPkgTokenSpaceGuid.PcdSecSerialPortDebugEnable|FALSE=0D !endif=0D =0D [PcdsDynamicDefault]=0D @@ -528,6 +569,9 @@ !else=0D gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|5 # Variable: L"Timeout"=0D !endif=0D +!if $(USE_HDMI_DEBUG_PORT) =3D=3D TRUE=0D + gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut|L"Timeout"|gEfiGlobalVar= iableGuid|0x0|15 # Variable: L"Timeout"=0D +!endif=0D !if gMinPlatformPkgTokenSpaceGuid.PcdTpm2Enable =3D=3D TRUE=0D gEfiSecurityPkgTokenSpaceGuid.PcdTcgPhysicalPresenceInterfaceVer|L"TCG2_= VERSION"|gTcg2ConfigFormSetGuid|0x0|"1.3"|NV,BS=0D gEfiSecurityPkgTokenSpaceGuid.PcdTpm2AcpiTableRev|L"TCG2_VERSION"|gTcg2C= onfigFormSetGuid|0x8|3|NV,BS=0D --=20 2.37.2