Re: [edk2-devel] libspdm Breaking Builds

2024-05-29 Thread Pete Batard via groups.io
dk2 --recursive Best regards, Mike -Original Message- From: Kinney, Michael D Sent: Wednesday, May 29, 2024 11:33 AM To: Pete Batard ; devel@edk2.groups.io; Yao, Jiewen ; mikub...@linux.microsoft.com Cc: Kinney, Michael D Subject: RE: [edk2-devel] libspdm Breaking Builds Hi Pete, There is

Re: [edk2-devel] libspdm Breaking Builds

2024-05-29 Thread Pete Batard via groups.io
Hello all, On 2024.05.24 03:13, Yao, Jiewen via groups.io wrote: Please let us know if the preference for libspdm submodule. (Below options) 1) Keep current libspdm official 3.3.0 release, and update to next release at the beginning of July. 2) Update libspdm immediately with the new cmocka

Re: [edk2-devel] [PATCH 1/1] MdePkg/BaseLib: Fix undefined symbol when compiling with Visual Studio

2024-05-08 Thread Pete Batard via groups.io
question, see inline: On 2024.05.08 10:08, Ard Biesheuvel wrote: On Wed, 8 May 2024 at 11:07, Ard Biesheuvel wrote: On Wed, 8 May 2024 at 10:52, Pete Batard wrote: Commit 80bbea192aa44ab664ba8be29ac06c83f246e99c introduced a regression resulting in 'error A2023: undefined symbol

[edk2-devel] [PATCH 1/1] MdePkg/BaseLib: Fix undefined symbol when compiling with Visual Studio

2024-05-08 Thread Pete Batard via groups.io
Commit 80bbea192aa44ab664ba8be29ac06c83f246e99c introduced a regression resulting in 'error A2023: undefined symbol: InternalAssertJumpBuffer' when compling MdePkg for AARCH64 with Visual Studio. Fix this by adding the relevant EXTERN reference. Signed-off-by: Pete Batard Cc: Leif Lindholm Cc

[edk2-devel] [PATCH 0/1] MdePkg/BaseLib: Fix undefined symbol when compiling with Visual Studio

2024-05-08 Thread Pete Batard via groups.io
much like to push for a VS2019/AARCH64 CI pipeline to be added to the edk2 patch validation process. Thanks, /Pete Pete Batard (1): MdePkg/BaseLib: Fix undefined symbol when compiling with Visual Studio MdePkg/Library/BaseLib/AArch64/SetJumpLongJump.asm | 1 + 1 file changed, 1 insertion

[edk2-devel] [edk2-non-osi][PATCH 1/1] Platform/RaspberryPi: Update TF-A to v2.9 to fix rainbow screen on reboot

2023-05-25 Thread Pete Batard via groups.io
We also use this opportunity to update the TF-A binaries for RPi4. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi3/TrustedFirmware/Readme.md | 8 Platform/RaspberryPi/RPi3/TrustedFirmware/bl1.bin | Bin 18853 -> 18853 bytes Platform/RaspberryPi/RPi3/TrustedFirmware/fip.

[edk2-devel] [edk2-non-osi][PATCH 1/1] Platform/RaspberryPi: Update TF-A to v2.6 to enable the PCI SMCCC interface

2022-01-10 Thread Pete Batard
available from: https://developer.arm.com/documentation/den0115/latest Tested for regression on Pi 3 Model B and Pi 4 Model B. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi3/TrustedFirmware/Readme.md | 6 +++--- Platform/RaspberryPi/RPi3/TrustedFirmware/bl1.bin | Bin 18853 -> 18

Re: [edk2-devel] [PATCH] Maintainers.txt: Replace Pete with Jeremy as RPi reviewer

2021-12-17 Thread Pete Batard
Thanks Jeremy! On 2021.12.17 17:52, Jeremy Linton wrote: First a huge thank you to Pete Batard for all the hard work landing the RPi code here, and keeping everyone in line. But, he has lots of commitments, and its time to give him a breather. As such, I will take over as a platform reviewer

[edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi/RPi4: Add _DSM ACPI method for 32-bit MMIO xHCI access

2021-09-01 Thread Pete Batard
files, as we were able to validate using the latest Windows 11 Build 22000 Insider image. Signed-off-by: Pete Batard Tested-by: Pete Batard --- Platform/RaspberryPi/AcpiTables/Xhci.asl | 21 1 file changed, 21 insertions(+) diff --git a/Platform/RaspberryPi/AcpiTables/Xhci.asl

Re: [edk2-devel] [edk2-platforms PATCH v5 1/2] Platform/RaspberryPi: Enable Boot Discovery Policy.

2021-08-03 Thread Pete Batard
ents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. Reviewed-by: Pete Batard Tested-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#78592): https://edk2.groups.io

Re: [edk2-devel] [PATCH 1/1] EmbeddedPkg/VirtualRealTimeClockLib : Fix SetTime issues

2021-07-23 Thread Pete Batard
rst EfiSetVariable() call to make two calls consistent. By the way, this patch also fix a minor issue with a debug message. Cc: Samer El-Haj-Mahmoud Cc: Sami Mujawar Cc: Jeremy Linton Cc: Ard Biesheuvel Cc: Pete Batard Cc: Leif Lindholm Signed-off-by: Sunny Wang --- .../VirtualRealTimeClock

Re: [edk2-devel] [PATCH v4] BaseTools GenFw: Add support for RISCV GOT/PLT relocations

2021-07-12 Thread Pete Batard
cations64 ( case R_RISCV_SET16: case R_RISCV_SET32: case R_RISCV_PCREL_HI20: +case R_RISCV_GOT_HI20: case R_RISCV_PCREL_LO12_I: break; Tested-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Link

Re: [edk2-devel] [PATCH] BaseTools GenFw: Add support for R_RISCV_PCREL_LO12_S relocation

2021-07-12 Thread Pete Batard
-off-by: Sunil V L Cc: Liming Gao Cc: Bob Feng Cc: Yuwei Chen Cc: Pete Batard Cc: Abner Chang Cc: Daniel Schaefer --- BaseTools/Source/C/GenFw/Elf64Convert.c | 55 + 1 file changed, 55 insertions(+) diff --git a/BaseTools/Source/C/GenFw/Elf64Convert.c b/BaseTools

Re: [edk2-devel] [RESEND PATCH v2] BaseTools: Add support for RISCV GOT/PLT relocations

2021-06-17 Thread Pete Batard
I agree that this is unlikely to be a consequence of the current patch. I logged new BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3459 Regards, /Pete On 2021.06.17 05:44, Sunil V L wrote: Hi Pete, Thank you very much!. On Wed, Jun 16, 2021 at 01:35:27PM +0100, Pete Batard wrote

Re: [edk2-devel] [RESEND PATCH v2] BaseTools: Add support for RISCV GOT/PLT relocations

2021-06-16 Thread Pete Batard
Sunil, Daniel, thanks for the patch. I confirm that this addresses the 0x13 and 0x14 relocation issues that I was seeing. However, this patch appears to introduces new R_RISCV_PCREL_LO12_S relocation errors that I was not seeing previously, so I still can't manage to get a successful

[edk2-devel] [edk2-non-osi][PATCH 1/1] Platform/RaspberryPi: Update TF-A to v2.5

2021-06-15 Thread Pete Batard
to update these binaries for each TF-A release. Tested for regression on Pi 3 Model B and Pi 4 Model B. Signed-off-by: Pete Batard --- Platform/RaspberryPi/RPi3/TrustedFirmware/Readme.md | 10 +- Platform/RaspberryPi/RPi3/TrustedFirmware/bl1.bin | Bin 18837 -> 18853 bytes Platf

Re: [edk2-devel] [PATCH v4 3/3] Platform/RaspberryPi: Enable Bluetooth and UART in Windows OS

2021-06-12 Thread Pete Batard
(PL011 UART). Cc: Samer El-Haj-Mahmoud Cc: Sami Mujawar Cc: Jeremy Linton Cc: Pete Batard Cc: Ard Biesheuvel Cc: Mario Bălănică Signed-off-by: Sunny Wang --- Platform/RaspberryPi/AcpiTables/Uart.asl | 16 -- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 22

Re: [edk2-devel] [PATCH v4 2/3] Silicon/Broadcom/Bcm283x: Clean up GpioPinSet function

2021-06-12 Thread Pete Batard
On 2021.06.07 08:53, Sunny Wang wrote: Make the changes below for making it clearer. - Rename GpioPinSet() to GpioPinConfigure() - Rename parameter Val to Config and change its type to BOOLEAN Cc: Samer El-Haj-Mahmoud Cc: Sami Mujawar Cc: Jeremy Linton Cc: Pete Batard Cc: Ard

Re: [edk2-devel] [PATCH v4 1/3] Platform/RaspberryPi: Dynamically build UARTs info in ACPI

2021-06-12 Thread Pete Batard
: Jeremy Linton Cc: Pete Batard Cc: Ard Biesheuvel Cc: Mario Bălănică Signed-off-by: Sunny Wang --- .../RaspberryPi/AcpiTables/AcpiTables.inf | 8 +- .../RaspberryPi/AcpiTables/Dbg2MiniUart.aslc | 81 + .../AcpiTables/{Dbg2.aslc => Dbg2Pl011.aslc} | 30 +--- .../Raspberr

Re: [edk2-devel] [edk2-platforms PATCH v2] Platform/RaspberryPi: Enable default Secure Boot variables initialization

2021-06-02 Thread Pete Batard
f !endif INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf Reviewed-by: Pete Batard Tested-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Re

Re: [edk2-devel] [PATCH v2 6/6] SecurityPkg: Add option to reset secure boot keys.

2021-06-02 Thread Pete Batard
lized from defaults.\n Are you sure?" + #string STR_SECURE_BOOT_ENROLL_SIGNATURE #language en-US "Enroll Signature" #string STR_SECURE_BOOT_DELETE_SIGNATURE #language en-US "Delete Signature" #string STR_SECURE_BOOT_DELETE_LIST_FORM #language en-US "Delete Si

Re: [edk2-devel] [PATCH v2 5/6] SecurityPkg: Add new modules to Security package.

2021-06-02 Thread Pete Batard
, Components.AARCH64] # Reviewed-by: Pete Batard Tested-by: Pete Batard on Raspberry Pi 4 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75991): https://edk2.groups.io/g/devel/message/75991 Mute This Topic: https://groups.io/mt

Re: [edk2-devel] [PATCH v2 4/6] SecurityPkg: Add EnrollFromDefaultKeys application.

2021-06-02 Thread Pete Batard
+ DeleteDb (); + +error: + Status = SetSecureBootMode (STANDARD_SECURE_BOOT_MODE); + if (EFI_ERROR (Status)) { +FAIL ("Cannot set CustomMode to STANDARD_SECURE_BOOT_MODE\n" + "Please do it manually, otherwise system can be easily compromised\n"); + } + + return 1; +}

Re: [edk2-devel] [PATCH v2 3/6] SecurityPkg: Add SecureBootDefaultKeysDxe driver

2021-06-02 Thread Pete Batard
default variables" + +#string STR_MODULE_DESCRIPTION #language en-US "This module reads embedded keys and initializes Secure Boot default variables." + This adds an extra trailing blank line. Reviewed-by: Pete Batard Tested-by: Pete Batard on Raspberry Pi 4 -=-=-=

Re: [edk2-devel] [PATCH v2 2/6] SecurityPkg: Create include file for default key content.

2021-06-02 Thread Pete Batard
ION RAW = $(DBX_DEFAULT_FILE1) + !endif + !ifdef $(DBX_DEFAULT_FILE2) +SECTION RAW = $(DBX_DEFAULT_FILE2) + !endif + !ifdef $(DBX_DEFAULT_FILE3) +SECTION RAW = $(DBX_DEFAULT_FILE3) + !endif +SECTION UI = "DBX Default" + } + +!endif Reviewed-by: Pete

Re: [edk2-devel] [PATCH v2 1/6] SecurityPkg: Create library for setting Secure Boot variables.

2021-06-02 Thread Pete Batard
0000..2c51e4db53 --- /dev/null +++ b/SecurityPkg/Library/SecureBootVariableLib/SecureBootVariableLib.uni @@ -0,0 +1,16 @@ +// /** @file +// +// Provides initialization of Secure Boot keys and databases. +// +// Copyright (c) 2021, ARM Ltd. All rights reserved. +// Copyright (c) 2021, Semihalf All r

Re: [edk2-devel] [PATCH 1/2] Platform/Raspberrypi: Update DMA constants based on SOC revision

2021-05-12 Thread Pete Batard
e THERM_SENSOR 0xfd5d2200 +#define ID_CHIPREV 0xfc404000 + #endif /* BCM2711_H__ */ With the comment changes, if agreed, applicable during integration: Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Repl

Re: [edk2-devel] [PATCH 2/2] Platform/RaspberryPi: Invert emmc PIO/DMA selection

2021-05-12 Thread Pete Batard
ti|L"MmcDisableMulti"|gConfigDxeFormSetGuid|0x0|0 - gRaspberryPiTokenSpaceGuid.PcdMmcEnableDma|L"MmcEnableDma"|gConfigDxeFormSetGuid|0x0|0 + gRaspberryPiTokenSpaceGuid.PcdMmcEnableDma|L"MmcEnableDma"|gConfigDxeFormSetGuid|0x0|1 # # Debug-related. Reviewed-by: Pete Bata

Re: [edk2-devel] [PATCH 1/1] Platform/RaspberryPi: Update ACPI table revision

2021-05-10 Thread Pete Batard
: Jeremy Linton Cc: Sami Mujawar Cc: Pete Batard Cc: Ard Biesheuvel Signed-off-by: Sunny Wang --- Platform/RaspberryPi/AcpiTables/Dsdt.asl| 3 ++- Platform/RaspberryPi/AcpiTables/Emmc.asl| 4 ++-- Platform/RaspberryPi/AcpiTables/SsdtThermal.asl | 4 ++-- 3 files changed, 6

Re: [edk2-devel] [PATCH v2 1/1] Platform/RaspberryPi: Setup option for disabling Fast Boot

2021-04-13 Thread Pete Batard
On 2021.04.13 16:22, Ard Biesheuvel wrote: On Tue, 13 Apr 2021 at 14:13, Pete Batard wrote: Thanks for the v2. Everything looks good now. On 2021.04.13 08:14, Sunny Wang wrote: This is a fix for https://github.com/pftf/RPi4/issues/114. Changes: 1. Add a setup option called Boot Policy

Re: [edk2-devel] [PATCH v2 1/1] Platform/RaspberryPi: Setup option for disabling Fast Boot

2021-04-13 Thread Pete Batard
specific type devices so that we can still have the shortest boot time for all use cases. Cc: Samer El-Haj-Mahmoud Cc: Jeremy Linton Cc: Sami Mujawar Cc: Pete Batard Cc: Ard Biesheuvel Signed-off-by: Sunny Wang --- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c| 11

Re: [edk2-devel] [PATCH 1/1] Platform/RaspberryPi: Setup option for disabling Fast Boot

2021-04-12 Thread Pete Batard
that we can still have the shortest boot time for all use cases. Cc: Samer El-Haj-Mahmoud Cc: Jeremy Linton Cc: Pete Batard Cc: Ard Biesheuvel Signed-off-by: Sunny Wang --- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c| 11 ++- .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 3

Re: [edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RaspberryPi: Fix mini UART clock divisor calculation

2021-04-08 Thread Pete Batard
On 2021.04.08 13:26, Ard Biesheuvel wrote: On Thu, 8 Apr 2021 at 13:43, Pete Batard wrote: On 2021.04.08 12:06, Ard Biesheuvel wrote: On Thu, 8 Apr 2021 at 11:47, Pete Batard wrote: On 2021.04.06 15:04, Mario Bălănică wrote: The VPU clock divisor has changed in this commit: https

Re: [edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RaspberryPi: Fix mini UART clock divisor calculation

2021-04-08 Thread Pete Batard
On 2021.04.08 12:06, Ard Biesheuvel wrote: On Thu, 8 Apr 2021 at 11:47, Pete Batard wrote: On 2021.04.06 15:04, Mario Bălănică wrote: The VPU clock divisor has changed in this commit: https://github.com/raspberrypi/firmware/commit/1e5456a, thus breaking the mini UART clock divisor

[edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RaspberryPi: Fix mini UART clock divisor calculation

2021-04-08 Thread Pete Batard
From: Mario Bălănică The VPU clock divisor has changed in this commit: https://github.com/raspberrypi/firmware/commit/1e5456a, thus breaking the mini UART clock divisor calculation on the Pi 4. Fix this by reading the core clock from the mailbox instead. Signed-off-by: Mario Bălănică

Re: [edk2-devel] [PATCH 3/3] Platform/RaspberryPi/AcpiTables: Correct _DMA consumer

2021-04-08 Thread Pete Batard
QWordMemory (ResourceConsumer, +QWordMemory (ResourceProducer, , MinFixed, MaxFixed, Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73836): https://edk2.groups.io/g/devel

Re: [edk2-devel] [PATCH 2/3] Platform/RaspberryPi/AcpiTables: Add further named components

2021-04-08 Thread Pete Batard
// MemoryAccessFlags + 30, // AddressSizeLimit +}, { + "\\_SB_.GDV1.SDC3"// ObjectName +} } }; Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Onl

Re: [edk2-devel] [PATCH 1/3] Platform/RaspberryPi/Acpitables: Enable Arasan hispeed mode

2021-04-08 Thread Pete Batard
() { "sdhci-caps", 0x0120fa81 }, } }) Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73834): https://edk2.groups.io/g/devel/message/73834 Mute This Topic: https://groups.io/mt/81935643/21656 Group Owner: devel

Re: [edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RaspberryPi: Fix mini UART clock divisor calculation

2021-04-08 Thread Pete Batard
Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.inf EmbeddedPkg/Drivers/ConsolePrefDxe/ConsolePrefDxe.inf Reviewed-by: Pete Batard Tested-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#73833): https://edk2.group

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

2021-04-06 Thread Pete Batard
Hi Mario, Please re-send a v2 with a commit message that explains the issue that is being fixed. Thanks. For the record, I ran some tests that show that the divisor was changed from 1 to 2 with the latest Pi Foundation firmware (which is confirmed by the fact that if you switch your

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

2021-04-03 Thread Pete Batard
On 2021.04.03 17:55, Mario Bălănică wrote: Can you tell me which commit in the firmware repo breaks the mini UART divisor calculation, so that I can test the final changes against it too? That would be one of the start4.elf/fixup4.dat combination around the time when the commit that added the

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

2021-04-03 Thread Pete Batard
On 2021.04.03 17:15, Mario Bălănică wrote: > -#if (RPI_MODEL == 4) > -  Divisor = MmioRead32(BCM2836_CM_BASE + BCM2836_CM_VPU_CLOCK_DIVISOR) & 0xFF; > -  if (Divisor != 0) > -    BaseClockRate = (BaseClockRate << 12) / Divisor; > -#endif Keeping this doesn't

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

2021-04-03 Thread Pete Batard
On 2021.04.03 16:17, Mario Bălănică wrote: I've submitted this patch because the mini UART serial console produces garbage since UEFI v1.25 (due to the wrong baud rate). OK. When you fix something like this, please mention that there was a regression that requires fixing, in the commit

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi: Fix mini UART baud divisor calculation

2021-04-03 Thread Pete Batard
Hi Mario, On 2021.04.03 13:47, Mario Bălănică wrote: It works with the old firmware as well. Are you sure of this? You may have to go quite far back to find start4.elf versions where this might not work... The whole reason behind reading the base clock and divisor from MMIO, rather than

Re: [edk2-devel] [PATCH v2 1/2] Platform/RaspberryPi: Dynamically build UARTs info in ACPI

2021-03-24 Thread Pete Batard
or PL011) and SPCR, DBG2 tables and device BTH0 are dynamically changed as expected. Cc: Samer El-Haj-Mahmoud Cc: Sami Mujawar Cc: Jeremy Linton Cc: Pete Batard Cc: Ard Biesheuvel Signed-off-by: Sunny Wang --- .../RaspberryPi/AcpiTables/AcpiTables.inf | 9

Re: [edk2-devel] [edk2-platforms] [patch V2 19/35] Platform/RaspberryPi: Consume MdeLibs.dsc.inc for RegisterFilterLib

2021-03-22 Thread Pete Batard
platform dsc to consume MdeLibs.dsc.inc for RegisterFilterLibNull which will be consumed by IoLib and BaseLib. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Pete Batard Signed-off-by: Dandan Bi --- Platform/RaspberryPi/RPi3/RPi3.dsc | 4 +++- Platform/RaspberryPi/RPi4/RPi4.dsc | 4 +++- 2 files

Re: [edk2-devel] [PATCH] Platform/RaspberryPi: Dynamically build UARTs info in ACPI

2021-03-08 Thread Pete Batard
/RPi-Windows-Drivers/releases and checked that both Bluetooth and serial port (Mini UART) can work fine. Cc: Samer El-Haj-Mahmoud Cc: Pete Batard Cc: Ard Biesheuvel Cc: Leif Lindholm Signed-off-by: Sunny Hsuan-Wen Wang --- .../RaspberryPi/AcpiTables/AcpiTables.inf | 7

Re: [edk2-devel] [edk2][PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Signal ReadyToBoot on platform recovery

2021-02-25 Thread Pete Batard
atforms that need to load a boot image discovered by using short-form File Path Media Device Path. Regards, Sunny Wang -Original Message- From: Laszlo Ersek Sent: Wednesday, February 17, 2021 10:26 PM To: Pete Batard ; Leif Lindholm ; devel@edk2.groups.io Cc: Samer El-Haj-Mahmoud ;

Re: [EXTERNAL] Re: [edk2-devel] [edk2][PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Signal ReadyToBoot on platform recovery

2021-02-17 Thread Pete Batard
should give specification-compliant behaviour. / Leif On Tue, Jun 30, 2020 at 18:17:10 +0100, Pete Batard wrote: Please note that I have created a bug report (https://bugzilla.tianocore.org/show_bug.cgi?id=2831) to address the non-compliance issue was raised during the course

Re: [edk2-devel] [PATCH v2 4/4] Platform/RaspberryPi: Invert default Arasan, Emmc2 routing

2021-02-08 Thread Pete Batard
1Bit` | 4-bit Mode = `0x` (default) 1-bit Mode = `0x0001` uSD Force Default Speed | `MmcForceDefaultSpeed` | Allow High Speed = `0x0000` (default) Force Default Speed = `0x0001` Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all

Re: [edk2-devel] [PATCH v2 3/4] Platform/RaspberryPi: User control of eMMC2 DMA

2021-02-08 Thread Pete Batard
,4 @@ gRaspberryPiTokenSpaceGuid.PcdFanOnGpio|0|UINT32|0x001C gRaspberryPiTokenSpaceGuid.PcdFanTemp|0|UINT32|0x001D gRaspberryPiTokenSpaceGuid.PcdPlatformResetDelay|0|UINT32|0x001E + gRaspberryPiTokenSpaceGuid.PcdMmcEnableDma|0|UINT32|0x001F Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Gro

Re: [edk2-devel] [PATCH] Platform/RaspberryPi/Acpitables: Add eMMC2 device and tweak Arasan

2021-02-08 Thread Pete Batard
CE_TABLES SdtTables[] = { SsdtNameOpReplace }, { +SIGNATURE_64 ('R', 'P', 'I', '4', 'E', 'M', 'M', 'C'), +0, +PcdToken(PcdSdIsArasan), +NULL + }, + { SIGNATURE_64 ('R', 'P', 'I', 0, 0, 0, 0, 0), 0, 0, With all of the above being formattin

Re: [edk2-devel] [PATCH v2 1/4] Platform/RaspberryPi: Add Negative table check

2021-02-08 Thread Pete Batard
_64 ('R', 'P', 'I', 'T', 'H', 'F', 'A', 'N'), PcdToken(PcdFanOnGpio), +0, SsdtNameOpReplace }, { SIGNATURE_64 ('R', 'P', 'I', 0, 0, 0, 0, 0), 0, +0, NULL }, { } Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You rec

Re: [edk2-devel] [PATCH v1 1/1] Platform/RaspberryPi/ConfigDxe: Fix JTAG Pinout for Pi3/4

2020-10-05 Thread Pete Batard
, September 21, 2020 4:01 PM *To:* Pete Batard ; Jeff Booher-Kaeding ; devel@edk2.groups.io *Cc:* Ard Biesheuvel ; Leif Lindholm *Subject:* Re: [edk2-devel] [PATCH v1 1/1] Platform/RaspberryPi/ConfigDxe: Fix JTAG Pinout for Pi3/4 Hi folks, No objection at all. IIRC the original pin selection

Re: [edk2-devel] [PATCH v1 1/1] Platform/RaspberryPi/ConfigDxe: Fix JTAG Pinout for Pi3/4

2020-09-15 Thread Pete Batard
to this change. Regards, /Pete On 2020.09.14 22:32, Jeff Booher-Kaeding wrote: Updated the pinout to match the Pi4 datasheet, tested with the RPi4, Pi3 Datasheet has same pinout. Signed-off-by: Jeff Booher-Kaeding Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Pete Batard --- Platform

Re: [edk2-devel] [PATCH] Platform/RaspberryPi4: Correct thermal offset

2020-09-11 Thread Pete Batard
+ 2732); } Method (_SCP, 3) { } // receive cooling policy from OS Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#65195): https://edk2.groups.io/g/devel/message/65195 Mute

Re: [edk2-devel] [PATCH v4 6/6] Platform/RaspberryPi: Trivial whitespace cleanup

2020-09-01 Thread Pete Batard
Hi Ard, On 2020.09.01 12:39, Ard Biesheuvel wrote: On 8/31/20 7:25 PM, Jeremy Linton wrote: Pete's review pointed out some whitespace issues in the context of a previous patch. Since there are a number of similar errors in the file lets fix them separately. Cc: Leif Lindholm Cc: Pete Batard

Re: [edk2-devel] [PATCH v4 5/6] Platform/RaspberryPi4: Allow the user to set Temp

2020-08-31 Thread Pete Batard
to select the temperature at which the fan cycles on. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/AcpiTables/SsdtThermal.asl | 9 + Platform/RaspberryPi/Drivers/ConfigDxe

Re: [edk2-devel] [PATCH v3 4/5] Platform/RaspberryPi4: Create ACPI fan object

2020-08-31 Thread Pete Batard
cooling by specifying active cooling points (_ACx) which can be tied to fan objects that turn fans on/off using GPIO pins. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton Reviewed-by: Pete Batard <@pbat

Re: [edk2-devel] [PATCH v3 5/5] Platform/RaspberryPi: Trivial whitespace cleanup

2020-08-31 Thread Pete Batard
Thanks for this. On 2020.08.28 23:02, Jeremy Linton wrote: Pete's review pointed out some whitespace issues in the context of a previous patch. Since there are a number of similar errors in the file lets fix them separately. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard

Re: [edk2-devel] [PATCH v3 2/5] Platform/RaspberryPi: Monitor ACPI Table installs

2020-08-31 Thread Pete Batard
ASL above. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 153 - 1 file changed, 152 insertions(+), 1 deletion(-) diff --git

Re: [edk2-devel] [PATCH v3 3/5] Platform/RaspberryPi: Add entry for user fan control

2020-08-31 Thread Pete Batard
ch operate via simple GPIO control. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton Reviewed-by: Pete Batard <@pbatard> --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 26 ++

Re: [edk2-devel] [PATCH v3 1/5] Platform/RaspberryPi4: Add a basic thermal zone

2020-08-31 Thread Pete Batard
PPC should be able to monitor the thermal throttling. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton Reviewed-by: Pete Batard <@pbatard> --- Platform/RaspberryPi/AcpiTables/Dsdt.as

Re: [edk2-devel] [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix build error in DisplayDxe

2020-08-26 Thread Pete Batard
: Leif Lindholm Cc: Ard Biesheuvel Cc: Pete Batard Cc: Andrei Warkentin Signed-off-by: Samer El-Haj-Mahmoud --- Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.c b/Platform

Re: [edk2-devel] [edk2-platform][PATCH v1 2/3] Platforms/RaspberryPi: Fix DwUsbHostDxe ComponentName2 error checking

2020-08-17 Thread Pete Batard
Same typo as previous patch: On 2020.08.15 21:26, Samer El-Haj-Mahmoud wrote: Fix input param error checking for the DwUsbHostDxe ComponentName2 protocol. This fixes https://github.com/pftf/RPi4/issues/86 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off

Re: [edk2-devel] [edk2-platform][PATCH v1 3/3] Platforms/RaspberryPi: Fix BcmGenetDxe ComponentName2 error checking

2020-08-17 Thread Pete Batard
Same typo as previous patch: On 2020.08.15 21:26, Samer El-Haj-Mahmoud wrote: Fix input param error checking for the BcmGenetDxe ComponentName2 protocol. This fixes https://github.com/pftf/RPi4/issues/85 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off

Re: [edk2-devel] [edk2-platform][PATCH v1 1/3] Platforms/RaspberryPi: Fix DisplayDxe ComponentName2 error checking

2020-08-17 Thread Pete Batard
One typo: On 2020.08.15 21:26, Samer El-Haj-Mahmoud wrote: Fix input param error checking for the DisplayDxe ComponentName2 protocol. This fixes https://github.com/pftf/RPi4/issues/84 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj

Re: [edk2-devel] [PATCH 3/3] Platform/RaspberryPi: Add entry for user fan control

2020-08-17 Thread Pete Batard
his simply. It appears there are a couple boards (fan SHIM) which operate this way, and probably should have custom menu items/SSDT edits as people acquire the boards and test them. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-

Re: [edk2-devel] [PATCH 1/3] Platform/RaspberryPi4: Add a basic thermal zone

2020-08-17 Thread Pete Batard
+5 and +10 of that. In the future CPPC should be able to monitor the thermal throttling. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Cc: Samer El-Haj-Mahmoud Signed-off-by: Jeremy Linton --- Platform/RaspberryPi/AcpiTables/Dsdt.asl | 31 +

Re: [edk2-devel] [PATCH 2/3] Platform/RaspberryPi4: Create ACPI fan object

2020-08-17 Thread Pete Batard
Whitespace/style and typos: On 2020.08.14 00:00, Jeremy Linton wrote: Now that we have a thermal zone we can add active cooling by specifying active cooling points (_ACx) which can be tied to fan objects that turn fans on/off using GPIO pins. Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei

Re: [edk2-devel] [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix DBG2 UART namespace reference

2020-08-13 Thread Pete Batard
On 2020.08.13 15:27, Samer El-Haj-Mahmoud wrote: The UART namespace reference in DBG2 is incorrect. Fix to point to the correct name. This fixes the certification failure reported by FWTS tests at: https://github.com/pftf/RPi4/issues/69 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin

Re: [edk2-devel] [edk2-platform][PATCH v1 7/7] Platforms/RaspberryPi: SMBIOS minor cleanup

2020-08-12 Thread Pete Batard
template for consistency. This is already done in LogSmbiosData(). Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud --- Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 43 1 file

Re: [edk2-devel] [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix RPi4 GICC PMU PPI

2020-08-03 Thread Pete Batard
Adding a tested-by, since these are values that could potentially trip the custom handling that Windows seems to have of MADT, and I hadn't tested that yet. Testing shows that Windows is happy with these new values, so with this: On 2020.07.31 08:55, Pete Batard via groups.io wrote

Re: [edk2-devel] [PATCH 1/1] EmbeddedPkg/TimeBaseLib: Add macros to get build year/month/day

2020-08-03 Thread Pete Batard
as bbb8a8185838. Thanks! /Pete Regards, Leif On Fri, Jul 24, 2020 at 17:37:42 +0100, Pete Batard wrote: These can be used, for instance, to automate the population of an SMBIOS Type 0 BIOS Release Date when building a UEFI firmware (which is how we plan to use these macros for the Raspberry

[edk2-devel] [edk2-platforms][PATCH v2 1/1] Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer

2020-08-03 Thread Pete Batard
the date otherwise. Also, the system manufacturer should not be set to the same value as the board manufacturer for the Type 1 strings, as, on the Raspberry Pi, this is not representative of the actual manufacturer of the system, which is the Raspberry Pi Foundation always. Signed-off-by: Pete Batard

[edk2-devel] [edk2-platforms][PATCH v2 0/1] Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer

2020-08-03 Thread Pete Batard
Changes from v1: * Use the newly introduced EmbeddedPkg/Include/Library/TimeBaseLib.h macros. Pete Batard (1): Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 12 ++-- 1 file changed, 10

Re: [edk2-devel] [PATCH] MdePkg: Remove code wrapped by DISABLE_NEW_DEPRECATED_INTERFACES

2020-08-03 Thread Pete Batard
/message/63577 Best regards, Marcin From: Pete Batard Sent: Friday, July 31, 2020 09:53 To: devel@edk2.groups.io ; liming@intel.com ; m...@semihalf.com ; Leif Lindholm Cc: Zhang, Shenglei ; Ard Biesheuvel ; Kinney, Michael D ; Ming Huang Subject: Re: [edk2

[edk2-devel] [edk2-platforms][PATCH v2 1/1] Platforms/RaspberryPi: Switch to PcdSet##S

2020-08-03 Thread Pete Batard
-by: Pete Batard --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 51 +--- Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.c | 8 +-- 2 files changed, 39 insertions(+), 20 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/RaspberryPi

Re: [edk2-devel] [edk2-platform][PATCH v1 1/1] Platforms/RaspberryPi: Fix RPi4 GICC PMU PPI

2020-07-31 Thread Pete Batard
029/latest This partially fixes SBSA test #11 ("Incorrect PPI value") reported in https://github.com/pftf/RPi4/issues/74 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud --- Platform/RaspberryPi/RPi4/RPi4.dsc | 8 1 file c

Re: [edk2-devel] [PATCH] MdePkg: Remove code wrapped by DISABLE_NEW_DEPRECATED_INTERFACES

2020-07-31 Thread Pete Batard
. Thanks Liming -Original Message- From: devel@edk2.groups.io On Behalf Of Marcin Wojtas Sent: 2020年7月31日 0:09 To: Leif Lindholm Cc: Gao, Liming ; devel@edk2.groups.io; Zhang, Shenglei ; Ard Biesheuvel ; Kinney, Michael D ; Ming Huang ; Pete Batard Subject: Re: [edk2-devel] [PATCH] MdePkg

[edk2-devel] [edk2-platforms][PATCH 1/1] Platforms/RaspberryPi: Switch to PcdSet##S

2020-07-31 Thread Pete Batard
-by: Pete Batard --- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 34 ++-- Platform/RaspberryPi/Drivers/DisplayDxe/DisplayDxe.c | 4 +-- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c b/Platform/RaspberryPi

[edk2-devel] [PATCH 1/1] EmbeddedPkg/TimeBaseLib: Add macros to get build year/month/day

2020-07-24 Thread Pete Batard
those to send a patch that adds their compiler to the list, once they have tested the macros there. Signed-off-by: Pete Batard --- EmbeddedPkg/Include/Library/TimeBaseLib.h | 32 1 file changed, 32 insertions(+) diff --git a/EmbeddedPkg/Include/Library/TimeBaseLib.h b

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer

2020-07-23 Thread Pete Batard
Hi Andrew, On 2020.07.23 18:15, Andrew Fish wrote: On Jul 23, 2020, at 8:47 AM, Leif Lindholm <mailto:l...@nuviainc.com>> wrote: Hi Pete, On Thu, Jul 23, 2020 at 15:38:55 +0100, Pete Batard wrote: @@ -626,6 +627,28 @@ BIOSInfoUpdateSmbiosType0 (    INTN   i;    INTN   State = 0

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer

2020-07-23 Thread Pete Batard
Hi Leif, On 2020.07.23 12:08, Leif Lindholm wrote: On Mon, Jul 20, 2020 at 17:15:07 +0100, Pete Batard wrote: Per SMBIOS specs, The Type 0 BIOS Release Date is not a free form field but must be specified in a US middle-endian format (mm/dd/), so make sure we populate it accordingly

[edk2-devel] [edk2-platforms][PATCH 1/1] Platforms/RaspberryPi: Fix BIOS Release Date and System Manufacturer

2020-07-20 Thread Pete Batard
other compilers than ones using a __DATE__ format similar to gcc's to be used for the foreseeable future. Signed-off-by: Pete Batard --- Platform/RaspberryPi/Drivers/PlatformSmbiosDxe/PlatformSmbiosDxe.c | 31 ++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git

Re: [edk2-devel] [edk2-platform][PATCH v1 2/2] Platforms/RaspberryPi: Set RPi3 Language supported to English

2020-07-20 Thread Pete Batard
On 2020.07.19 00:04, Samer El-Haj-Mahmoud wrote: Set the supported RPi3 platform language to English (US), and remove French. This fixes https://github.com/pftf/RPi4/issues/35 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud

Re: [edk2-devel] [edk2-platform][PATCH v1 1/2] Platforms/RaspberryPi: Set RPi4 Language supported to English

2020-07-20 Thread Pete Batard
On 2020.07.19 00:04, Samer El-Haj-Mahmoud wrote: Set the supported RPi4 platform language to English (US), and remove French. This fixes https://github.com/pftf/RPi4/issues/35 Cc: Leif Lindholm Cc: Pete Batard Cc: Andrei Warkentin Cc: Ard Biesheuvel Signed-off-by: Samer El-Haj-Mahmoud

Re: [edk2-devel] [edk2][PATCH 1/1] BcmGenetDxe: don't consume RX buffer until it's actually copied

2020-07-14 Thread Pete Batard
On 2020.07.14 14:36, Leif Lindholm wrote: On Mon, Jul 13, 2020 at 12:25:18 +0100, Pete Batard wrote: One very minor formatting issue inline (that can be sorted during integration): I would also like to prepend "Silicon/" to the subject line. Please do. It should have been there in

Re: [edk2-devel] [edk2-platforms][PATCH v3 1/1] Platform/RaspberryPi/Drivers: Add SD/(e)MMC card detection

2020-07-14 Thread Pete Batard
On 2020.07.14 14:25, Leif Lindholm wrote: On Mon, Jul 13, 2020 at 12:16:20 +0100, Pete Batard wrote: The Raspberry Pi 3 and Pi 4 platforms (with latest EEPROM) can boot straight from USB, without the need for an SD card being present. However, the IsCardPresent () calls from the ArasanMmcHost

Re: [edk2-devel] [PATCH edk2-platforms 1/1] Platform/RaspberryPi: remove unused variable GpuIndex from PlatformLib

2020-07-14 Thread Pete Batard
e, and its initialization. Cc: Andrei Warkentin Cc: Pete Batard Signed-off-by: Leif Lindholm --- Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/Platform/RaspberryPi/Library/PlatformLib/RaspberryPiMem.c b/Platform/Raspberry

Re: [edk2-devel] [edk2][PATCH 1/1] BcmGenetDxe: don't consume RX buffer until it's actually copied

2020-07-13 Thread Pete Batard
DmaMapRxDescriptor (Genet, DescIndex); if (EFI_ERROR (Status)) { DEBUG ((DEBUG_ERROR, "%a: Failed to remap RX descriptor!\n", __FUNCTION__)); } + GenetRxComplete (Genet); + EfiReleaseLock (>Lock); return Status; } Reviewed-by: Pete Batard -=-=-=-=-=-=-=-=-=-=-=-

[edk2-devel] [edk2-platforms][PATCH v3 1/1] Platform/RaspberryPi/Drivers: Add SD/(e)MMC card detection

2020-07-13 Thread Pete Batard
pftf/RPi3#13, pftf/RPi3#14, pftf/RPi4#37. Co-authored-by: Andrei Warkentin Signed-off-by: Pete Batard --- Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.c | 86 ++-- Platform/RaspberryPi/Drivers/SdHostDxe/SdHostDxe.c | 75 +++-- Platform

[edk2-devel] [edk2-platforms][PATCH v3 0/1] Platform/RaspberryPi/Drivers: Add SD/(e)MMC card detection

2020-07-13 Thread Pete Batard
This supersedes https://edk2.groups.io/g/devel/message/62339 - 62340 Changes from v2: - Fix regression for CM3 module due to MMC/eMMC not accepting CMD8 Pete Batard (1): Platform/RaspberryPi/Drivers: Add SD/(e)MMC card detection Platform/RaspberryPi/Drivers/ArasanMmcHostDxe

[edk2-devel] [edk2-platforms][PATCH v2 0/1] Platform/RaspberryPi/Drivers: Add SD card detection

2020-07-10 Thread Pete Batard
v2 to correct a couple "STATIC" -> "static" that were applied by an overzealous text editor. No other changes from v1. Pete Batard (1): Platform/RaspberryPi/Drivers: Add SD card detection Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.c | 66 +++

[edk2-devel] [edk2-platforms][PATCH v2 1/1] Platform/RaspberryPi/Drivers: Add SD card detection

2020-07-10 Thread Pete Batard
good enough for the intended purpose, which is to allow straight to USB boot. Tested on Raspberry Pi 3 and 4, and for both SD controllers. Addresses pftf/RPi3#13, pftf/RPi3#14, pftf/RPi4#37. Signed-off-by: Pete Batard Reviewed-by: Andrei Warkentin Tested-by: Andrei Warkentin --- Platform

Re: [edk2-devel] [edk2-platforms][PATCH 1/1] Silicon/Broadcom/Bcm283x: GpioLib enhancements

2020-07-02 Thread Pete Batard
On 2020.07.02 13:03, Ard Biesheuvel wrote: On 6/29/20 8:39 PM, Pete Batard wrote: * Add GpioPinSet () function to set a GPIO pin value * Add GpioPinGet () function to read a GPIO pin value * Add GpioSetPull () function to set pullup/down state of a GPIO pin GpioSetPull () supports both

Re: [edk2-devel] [edk2][PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Signal ReadyToBoot on platform recovery

2020-06-30 Thread Pete Batard
veterans can chime in, is whether we are doing the right thing, or if we should be overriding the boot mode? I.e. is it normal that we boot up in recovery until options are saved? A From: mailto:devel@edk2.groups.io <mailto:devel@edk2.groups.io>

[edk2-devel] [edk2-platforms][PATCH 1/1] Silicon/Broadcom/Bcm283x: GpioLib enhancements

2020-06-29 Thread Pete Batard
of these calls was tested on Raspberry Pi 3 B+ as well as on a Raspberry Pi 4 B. Signed-off-by: Pete Batard --- Silicon/Broadcom/Bcm283x/Include/IndustryStandard/Bcm2836Gpio.h | 44 - Silicon/Broadcom/Bcm283x/Include/Library/GpioLib.h | 17 Silicon/Broadcom/Bcm283x/Library

[edk2-devel] [edk2-platforms][PATCH 1/1] Platform/RaspberryPi/Drivers: Add SD card detection

2020-06-29 Thread Pete Batard
good enough for the intended purpose, which is to allow straight to USB boot. Tested on Raspberry Pi 3 and 4, and for both SD controllers. Addresses pftf/RPi3#13, pftf/RPi3#14, pftf/RPi4#37. Signed-off-by: Pete Batard --- Platform/RaspberryPi/Drivers/ArasanMmcHostDxe/ArasanMmcHostDxe.c | 66

Re: [edk2-devel] [edk2][PATCH 1/1] MdeModulePkg/UefiBootManagerLib: Signal ReadyToBoot on platform recovery

2020-06-17 Thread Pete Batard
A *From:* devel@edk2.groups.io on behalf of Pete Batard via groups.io *Sent:* Wednesday, June 17, 2020 11:34 AM *To:* Wang, Sunny (HPS SW) ; devel@edk2.groups.io *Cc:* zhichao@intel.com ; ray...@intel.com ; ard.biesheu

  1   2   3   4   5   >