From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by mx.groups.io with SMTP id smtpd.web10.2135.1662485224602155600 for ; Tue, 06 Sep 2022 10:27:04 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Cuo5GWON; spf=pass (domain: gmail.com, ip: 209.85.222.181, mailfrom: benjamin.doron00@gmail.com) Received: by mail-qk1-f181.google.com with SMTP id f4so8691549qkl.7 for ; Tue, 06 Sep 2022 10:27:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:kabylakeopenboardpkg:mime-version :message-id:date:subject:to:from:from:to:cc:subject:date; bh=PUnz/hajlbvcgnzXAN/OLQnQl/BjQxWKDMskFfeYIu0=; b=Cuo5GWON/Z+O95G+mHgrLNtDsxdx1Y04WJpbtaFr0AJhD9cSPT8/ujT0Q/c9Plf3we WnVcGFHQ3DYuteh2PPEdMULvvoe3rQqNmFrsomHYVKxwxiJnUZH6B7+eTWiN9sZiUGVq +iGWxp7FbCtVPUDd3LszM8h35vgNZTAF/Sht+yCNK2A79A6ClUOP0bzK2Jv9jwKkkeZb X4NXfBwy/LOfOdUqFRzb7bypUASuBcP/XrfodK5YwSIJ8UaPzfetRCcwSXXloAS8YimS D1QKj4kmMaZo3CzR231sZPFhYqfTWAdRpJoycogV495+Kz2+SandE5Z69uhQKBclPkH5 YgWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:kabylakeopenboardpkg:mime-version :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date; bh=PUnz/hajlbvcgnzXAN/OLQnQl/BjQxWKDMskFfeYIu0=; b=5K8ciPfezIOYcsM0g2DtVpuzrqWQAX2iBXFt5chl0ffElcHIKFkijFyDYNZlBeoEez dxmlWOTAuiY4cqO4y/XoxKdVOuamk9Thsvq4jnXGZ7+5VWu2YOcfWELia+0C8N9M49zS 7J0hSoCHrqYbiqxA2ENITZ5lb654kfyJloDGWdlIezDhawF8RqGWtsT0WOUrlbeHtPhw cgaDprr44g3D2YKaeGAuayGPIYBZ53O1WUwJ8mrcLguAELxvfrebjf5Qao+Um6k5AFhw lBjrIbl2znD1475vXBMxzWzejnjHrDbqVKgD2YKvGXZ4iX6fTxEvOEvdM9OWvPDbwTKZ 6VOQ== X-Gm-Message-State: ACgBeo3bMC2noDkd23Yqw6v8aID9Hf3gOwp2QHwyZ/QcpU8Y+VqzyPm8 LzOEjgQJI4ETv6IZ2pr/Pu+AZOwdq2jpPA== X-Google-Smtp-Source: AA6agR6W0YMH8ftzXf+inIZBzKaIGKXDfW1hahxUhtqJ8azc/91TRgkuLUNRs7lKKF0hzwMS+HkiCw== X-Received: by 2002:a05:620a:298a:b0:6bb:d0c1:b107 with SMTP id r10-20020a05620a298a00b006bbd0c1b107mr36430910qkp.477.1662485223458; Tue, 06 Sep 2022 10:27:03 -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.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 10:27:02 -0700 (PDT) From: "Benjamin Doron" To: devel@edk2.groups.io Subject: [edk2-devel][edk2-platforms][PATCH v1 0/3] Date: Tue, 6 Sep 2022 13:26:51 -0400 Message-Id: X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 KabylakeOpenBoardPkg: HDMI debug port improvements Content-Transfer-Encoding: 8bit Enable the HDMI debug port to be used for SEC phase debug. Commit my build configuration, which successfully ouputs debug messages in all phases and boot-flows: SEC, PEI, DXE and SMM, with handling for the special case that is BootScriptExecutorDxe. This patch series comprises the work product for my second planned GSoC 2022 project. These are enhancements to Nate's series here: https://edk2.groups.io/g/devel/message/90591. Benjamin Doron (3): MinPlatformPkg,WhiskeylakeOpenBoardPkg/SecFspWrapperPlatformSecLib: First BoardInitLib [WIP] KabylakeOpenBoardPkg/I2cHdmiDebugSerialPortLib: Commit local KabylakeOpenBoardPkg/AspireVn7Dash572G: Hook-up HDMI debug port to build .../AspireVn7Dash572G/OpenBoardPkg.dsc | 85 +++++++++++++---- .../AspireVn7Dash572G/OpenBoardPkg.fdf | 11 +-- .../AspireVn7Dash572G/OpenBoardPkgPcd.dsc | 54 ++++++++++- ...ptExecutorDxeI2cHdmiDebugSerialPortLib.inf | 48 ++++++++++ .../DxeI2cHdmiDebugSerialPortLib.inf | 8 +- .../DxeSmmI2cHdmiDebugSerialPortLib.c | 2 - .../Library/I2cHdmiDebugSerialPortLib/Gmbus.c | 39 ++++---- .../I2cDebugPortProtocol.c | 2 - .../I2cDebugPortTplDxe.c | 9 ++ .../I2cDebugPortTplRuntimeDxe.c | 93 +++++++++++++++++++ .../I2cHdmiDebugSerialPortLib.c | 3 - .../I2cHdmiDebugSerialPortLib/IgfxI2c.c | 9 +- .../PeiI2cHdmiDebugSerialPortLib.c | 1 - .../PeiI2cHdmiDebugSerialPortLib.inf | 5 +- .../RuntimeDxeI2cHdmiDebugSerialPortLib.inf | 51 ++++++++++ .../SecI2cHdmiDebugSerialPortLib.c | 1 - .../SecI2cHdmiDebugSerialPortLib.inf | 7 +- .../SmmI2cHdmiDebugSerialPortLib.inf | 6 +- .../PlatformInit.c | 8 +- .../PlatformInit.c | 8 +- 20 files changed, 364 insertions(+), 86 deletions(-) create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/Library/I2cHdmiDebugSerialPortLib/BootScriptExecutorDxeI2cHdmiDebugSerialPortLib.inf create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/Library/I2cHdmiDebugSerialPortLib/I2cDebugPortTplRuntimeDxe.c create mode 100644 Platform/Intel/KabylakeOpenBoardPkg/Library/I2cHdmiDebugSerialPortLib/RuntimeDxeI2cHdmiDebugSerialPortLib.inf -- 2.37.2