[edk2-devel] [[PATCH v2] 7/7] EmbeddedPkg: Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Add support for reading data that is less than DWEMMC_BLOCK_SIZE, otherwise it would read bigger data than requested and cause errors Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 16

[edk2-devel] [[PATCH v2] 3/7] EmbeddedPkg: Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" On CMD8, for SD, the controller should not expect data as this is a SEND_IF_COND command to verify SD operating condition, and does not have data Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c

[edk2-devel] [[PATCH v2] 0/7] Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" This fixes a few issues with DwEmmc driver: - - Change SendCommand polling mode and check for DTO when read/write - Add CMD6 for SD support - Clear CTYPE on initialization - Add CMD8 support for SD - Add ACMD51 for SD - Call send command when receive response is

[edk2-devel] [[PATCH v2] 2/7] EmbeddedPkg: Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Clear CTYPE on initialization. This is important if previous bootloader changes the CTYPE can cause the controller to not initialize correctly if CTYPE is not reset to 0 Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel ---

[edk2-devel] [[PATCH v2] 4/7] EmbeddedPkg: Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Add ACMD51 support for SD, this is needed to do SEND_SCR command correctly Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 4 1 file changed, 4 insertions(+) diff --git

[edk2-devel] [[PATCH v2] 6/7] EmbeddedPkg: Fix DwEmmc driver bugs

2019-05-02 Thread Loh, Tien Hock
From: "Tien Hock, Loh" Do not send CRC response check if the MMC command does not support CRC response Signed-off-by: "Tien Hock, Loh" Cc: Leif Lindholm Cc: Ard Biesheuvel --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[edk2-devel] [edk2-platforms: PATCH 0/4] Armada 7k8k network improvements

2019-05-02 Thread Marcin Wojtas
Hi, This small patchset extends PP2 NIC driver with the basic AdapterInformationProtocol support and adds 88E1112 PHY support. Also a minor fix is included on top. The patches are available in the github:

[edk2-devel] [edk2-platforms: PATCH 4/4] Marvell/Drivers: MvPhyDxe: Reset PHY only once

2019-05-02 Thread Marcin Wojtas
At the end of PHY low level configuration a soft reset was performed twice. It is not necessary, so remove redundant reset call. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c | 2 -- 1 file changed, 2

[edk2-devel] [edk2-platforms: PATCH 2/4] Marvell/Drivers: MvPhyDxe: Improve 88E1510 initialization

2019-05-02 Thread Marcin Wojtas
This patch adds only a non-functional change, extracting common startup autonegotiation configuration into a separate routine. It will be re-used in 88E1112 PHY support addition in a following patch. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas ---

[edk2-devel] [edk2-platforms: PATCH 3/4] Marvell/Drivers: MvPhyDxe: Introduce 88E1112 initialization

2019-05-02 Thread Marcin Wojtas
This patch adds 88E1112 PHY support and updates PortingGuide accordingly. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.h | 17 ++- Silicon/Marvell/Drivers/Net/MvPhyDxe/MvPhyDxe.c | 31

Re: [edk2-devel] [edk2-platforms] [RFC] Migrate devel-MinPlatform branch to master branch

2019-05-02 Thread Kubacki, Michael A
Hi Leif, > -Original Message- > From: Leif Lindholm [mailto:leif.lindh...@linaro.org] > Sent: Thursday, May 2, 2019 8:04 AM > To: devel@edk2.groups.io; Kubacki, Michael A > > Cc: Gao, Liming ; Andrew Fish ; > Laszlo Ersek ; Kinney, Michael D > ; Ard Biesheuvel > Subject: Re:

Re: [edk2-devel] TianoCore Community Design Meeting Minutes

2019-05-02 Thread Sean via Groups.Io
Laszlo, Except for a very few platforms that are in the current edk2 repo today, everyone building products has to deal with this "split repo" reality.  It gets even harder when you account for different business units, different silicon partners, IBVs, ODMs, open source, closed source, secret

Re: [edk2-devel] [PATCH edk2-platforms] Silicon/Marvell/EepromCmd: drop StdLib.dec reference

2019-05-02 Thread Leif Lindholm
On Thu, May 02, 2019 at 01:00:13PM +0200, Ard Biesheuvel wrote: > StdLib.dec has been move to a separate repository (edk2-libc), so > any package that requires it needs to be built with an additional > repo reference added to PACKAGES_PATH. > > EepromCmd has such a reference, but since it doesn't

Re: [edk2-devel] [PATCH edk2-platforms v2 0/2] enable Secure96 mezzanine on ACPI systems

2019-05-02 Thread Leif Lindholm
On Thu, May 02, 2019 at 11:58:52AM +0200, Ard Biesheuvel wrote: > This series plumbs in the support for describing 96boards mezzanines > via ACPI, and uses it to add a description of the Secure96. Note that > the TPM is still missing at the moment, but the I2C crypto accelerators > and the GPIO

Re: [edk2-devel] [edk2-platforms] [RFC] Migrate devel-MinPlatform branch to master branch

2019-05-02 Thread Leif Lindholm
Hi Michael, On Thu, Apr 18, 2019 at 09:11:38PM +, Kubacki, Michael A wrote: > Hello, > > This RFC proposes moving the content on the devel-MinPlatform branch > in the edk2-platforms repository to the master branch in the > edk2-platforms repository. > > The devel-MinPlatform branch has been

[edk2-devel] [PATCH] Marvell/Applications: FirmwareUpdate: Enable burning image on SD/MMC

2019-05-02 Thread Marcin Wojtas
From: Tomasz Michalec Extend fupdate shell application to be able to flash firmware on SD/MMC. Device on which firmware will be updated is selected via third argument of command. The SPI is still used as default. Command uses BlockIo protocol to communicate with SD/MMC. It is possible to list

Re: [edk2-devel] [edk2-platforms: PATCH v3 0/4] Armada7k8k FVB improvements

2019-05-02 Thread Marcin Wojtas
Hi Ard, czw., 2 maj 2019 o 13:07 Ard Biesheuvel napisał(a): > > On Mon, 29 Apr 2019 at 15:54, Marcin Wojtas wrote: > > > > Hi Leif, Ard, > > > > czw., 25 kwi 2019 o 14:35 Marcin Wojtas napisał(a): > > > > > > Hi Leif, > > > > > > czw., 25 kwi 2019 o 14:01 Leif Lindholm > > > napisał(a): > >

Re: [edk2-devel] [edk2-platforms: PATCH v3 0/4] Armada7k8k FVB improvements

2019-05-02 Thread Ard Biesheuvel
On Mon, 29 Apr 2019 at 15:54, Marcin Wojtas wrote: > > Hi Leif, Ard, > > czw., 25 kwi 2019 o 14:35 Marcin Wojtas napisał(a): > > > > Hi Leif, > > > > czw., 25 kwi 2019 o 14:01 Leif Lindholm > > napisał(a): > > > > > > Hi Marcin, > > > > > > Just to be awkward - edk2-platforms (and

[edk2-devel] [PATCH edk2-platforms] Silicon/Marvell/EepromCmd: drop StdLib.dec reference

2019-05-02 Thread Ard Biesheuvel
StdLib.dec has been move to a separate repository (edk2-libc), so any package that requires it needs to be built with an additional repo reference added to PACKAGES_PATH. EepromCmd has such a reference, but since it doesn't appear to actually require it, let's just drop it. Contributed-under:

Re: [edk2-devel] [PATCH edk2-platforms] Silicon/AMD/Styx: remove the non-capsule based flasher tool

2019-05-02 Thread Ard Biesheuvel
On Wed, 24 Apr 2019 at 15:44, Leif Lindholm wrote: > > On Wed, Apr 24, 2019 at 03:29:52PM +0200, Ard Biesheuvel wrote: > > We have had capsule support enabled on this platform for a while now, so > > let's drop the hacked up flasher tool that we no longer have a need for. > > > >

Re: [edk2-devel] reg : UEFI Secure Boot is stuck with Black Screen

2019-05-02 Thread pavankumar_a
On Fri, Apr 26, 2019 at 02:26 PM, Laszlo Ersek wrote: > > CPUs without nested > paging (EPT) Thanks Laszlo for you detailed explanation, will try and let you know. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39910):

Re: [edk2-devel] [Question] How to get debug or release information in codes.

2019-05-02 Thread Laszlo Ersek
On 05/02/19 04:55, krishnaLee wrote: > Hi, > > > I want to add some memory leak test in only in a module's debug mode, > if "build -p xxx.dsc -m xxx.inf -b DEBUG", the memoryleak test will work, > if "build -p xxx.dsc -m xxx.inf -b RELEASE", no memoryleak test. > > > /* the added codes for

[edk2-devel] [Question] How to get debug or release information in codes.

2019-05-02 Thread krishnaLee
Hi, I want to add some memory leak test in only in a module's debug mode, if "build -p xxx.dsc -m xxx.inf -b DEBUG", the memoryleak test will work, if "build -p xxx.dsc -m xxx.inf -b RELEASE", no memoryleak test. /* the added codes for test only in debug mode. */ #ifdef _DEBUG #define

Re: [edk2-devel] [PATCH v1 1/1] ArmPkg: Dispatch deferred images after EndOfDxe

2019-05-02 Thread Ard Biesheuvel
On Wed, 1 May 2019 at 16:02, Sami Mujawar wrote: > > Third party driver images loaded from Option ROM get queued > for execution after EndOfDxe. These queued images need to be > dispatched from the PlatformBootManagerLib. > > Since the queued images were not dispatched, the PCI Option > ROM

Re: [edk2-devel] [PATCH v1 1/1] MdePkg: Add ACPI 6.3 header file

2019-05-02 Thread Ard Biesheuvel
On Thu, 2 May 2019 at 10:09, Krzysztof Koch wrote: > > The patch includes the following ACPI 6.3 updates: > 1. Reserve CRAT and CDIT table names in ACPI 6.3 header. > - ACPI 6.3 January 2019, Table 5-30 > - Mantis ID 1883 (https://mantis.uefi.org/mantis/view.php?id=1883) > 2. Add new