Re: [edk2] Build SCT with edk2

2019-03-27 Thread Udit Kumar
> It seems building SCT is supported with edk2 UDK2017 and not something SCT build fails on UDK2017 as well Below is patch suggested by Supreet with UDK2017 tmp/sct_workspace/edk2$ git diff diff --git a/BaseTools/Source/C/Makefiles/app.makefile b/BaseTools/Source/C/Makefiles/app.makefile in

Re: [edk2] [PATCH 4/4] ArmPkg/GenericWatchdogDxe: implement RegisterHandler() method

2018-12-18 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, December 18, 2018 6:40 PM > To: edk2-devel@lists.01.org > Cc: Ard Biesheuvel ; Leif Lindholm > ; Sami Mujawar ; Thomas > Panakamattam Abraham ; Meenakshi Aggarwal > ; Udit Kumar ; Matteo >

Re: [edk2] [PATCH 2/4] ArmPlatformPkg/SP805WatchdogDxe: switch to interrupt mode

2018-12-18 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel > Sent: Tuesday, December 18, 2018 6:40 PM > To: edk2-devel@lists.01.org > Cc: Ard Biesheuvel ; Leif Lindholm > ; Sami Mujawar ; Thomas > Panakamattam Abraham ; Meenakshi Aggarwal > ; Udit Kumar ; Matteo >

Re: [edk2] SP805 driver

2018-12-18 Thread Udit Kumar
> > > > Coming back to hardware, which does not have mask around wdt, how > > > > to implement this feature. > > > > > > Simple - you can't. > > > > > > You can absolutely implement exactly the functionality you have > > > today, with minimal changes to the protocol - it just should not be > > > re

Re: [edk2] SP805 driver

2018-12-18 Thread Udit Kumar
> -Original Message- > From: Leif Lindholm > Sent: Tuesday, December 18, 2018 2:56 PM > > On Tue, Dec 18, 2018 at 05:20:59AM +0000, Udit Kumar wrote: > > Thanks for note Leif, > > > > I am trying to understand this behavior of specification.

Re: [edk2] SP805 driver

2018-12-17 Thread Udit Kumar
tam Abraham Cc: Meenakshi Aggarwal ; Udit Kumar ; Ard Biesheuvel ; edk2-devel (edk2-devel@lists.01.org) ; Ming Huang ; Heyi Guo ; Matteo Carlini ; Nariman Poushin Subject: SP805 driver Hi Sami, Thomas, (and others on cc) NXP are upstreaming a set containing an implementation of EFI_WATCHDOG_TIM

Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-12-03 Thread Udit Kumar
Hi Ard > -Original Message- > From: Ard Biesheuvel > Sent: Monday, December 3, 2018 7:35 PM > To: Laszlo Ersek > Cc: Udit Kumar ; Andrew Fish ; Leif > Lindholm ; Ruiyu Ni ; edk2- > de...@lists.01.org; Zeng, Star > Subject: Re: [edk2] Help on boot manager '

Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-12-03 Thread Udit Kumar
> Sent: Monday, December 3, 2018 3:27 PM > To: Udit Kumar ; af...@apple.com > Cc: Ni, Ruiyu ; edk2-devel@lists.01.org; Zeng, Star > > Subject: Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot > > On 11/30/18 10:13, Udit Kumar wrote: > > Th

Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-11-30 Thread Udit Kumar
boot-loader to enable this bit. Regards Udit > -Original Message- > From: Laszlo Ersek > Sent: Thursday, November 29, 2018 11:31 PM > To: Udit Kumar ; af...@apple.com > Cc: Ni, Ruiyu ; edk2-devel@lists.01.org; Zeng, Star > > Subject: Re: [edk2] Help on boot manag

Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-11-29 Thread Udit Kumar
Thanks Laszlo, > I can only think of some terminal control sequences that are *not* printed to > the terminal when you don't enter UiApp manually. I don't understand how that > could cause the exact symptom you describe, but I have no better explanation. > > Can you try other serial communicati

Re: [edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-11-28 Thread Udit Kumar
. FYI, Both user space and kernel space are on same kermit session Regards Udit > -Original Message- > From: af...@apple.com > Sent: Thursday, November 29, 2018 7:22 AM > To: Udit Kumar > Cc: edk2-devel@lists.01.org; Ni, Ruiyu ; Zeng, Star > > Subject: Re: [edk2]

[edk2] Help on boot manager 'Boot Manager Menu' and direct boot

2018-11-28 Thread Udit Kumar
Hi , I am looking for information/Help. If UEFI passed different information to OS, in below boot path 1. Enter into Setup menu (By pressing Esc key), On display of UiApp.efi on console, select device to boot OS 2. Let the boot OS without user intervention from same device as of 1 I could

Re: [edk2] [PATCH] NetworkPkg/IScsiDxe: add debug logs for failed SetVariable attempts

2018-11-20 Thread Udit Kumar
> -Original Message- > From: edk2-devel On Behalf Of > Vijayenthiran Subramaniam > Sent: Tuesday, November 20, 2018 4:10 PM > To: edk2-devel@lists.01.org; siyuan...@intel.com; jiaxin...@intel.com > Cc: Vijayenthiran Subramaniam > Subject: [edk2] [PATCH] NetworkPkg/IScsiDxe: add debug l

Re: [edk2] [PATCH v1 edk-platforms 1/2] Platform/HiKey960: add PL011UartClockLib

2018-09-01 Thread Udit Kumar
> -Original Message- > From: edk2-devel On Behalf Of Haojian > Zhuang > Sent: Thursday, August 9, 2018 8:16 AM > To: edk2-devel@lists.01.org > Subject: [edk2] [PATCH v1 edk-platforms 1/2] Platform/HiKey960: add > PL011UartClockLib > > Since PL011UartClockLib is required by PL011 Serial

Re: [edk2] [PATCH 1/1] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE

2018-08-28 Thread Udit Kumar
amp;sdata=CdVkFdX0dYkb%2F > 8LzQXtJ > > > WjlKjIsBoG1QHjxVvTIlV8k%3D&reserved=0 > > > > > > > Thanks > > > > Matteo > > > > > > > > [1]: > > > > > https://emea01.safelinks.protection.outlook.com/?url=https%3

Re: [edk2] [PATCH 1/1] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE

2018-08-24 Thread Udit Kumar
Hi Ard > If MM mode is fundamentally incompatible with OP-TEE, then you cannot > run both at the same time, Both cannot coexist unless you have v8.4 CPU Regards Udit > > > >> -Original Message- > >> From: edk2-devel On Behalf Of Sumit > >> Garg > >> Sent: Friday, August 24, 2018 2

Re: [edk2] [PATCH 1/1] ArmPkg/OpteeLib: Add APIs to communicate with OP-TEE

2018-08-24 Thread Udit Kumar
Hi Sumit What use case you have in mind, to interface op-tee with UEFI. What ARM proposed (Matteo in cc), to run MM mode in Secure side of machine with SPM. Moreover SPD (OP-TEE) and SPM(MM mode) cannot co-exists on current arm devices. Then how do you see MM mode working. Regards Udit > -

Re: [edk2] Tool to check memory leaks

2018-08-02 Thread Udit Kumar
Thanks Jiewen > -Original Message- > From: Yao, Jiewen [mailto:jiewen@intel.com] > Sent: Thursday, August 2, 2018 6:24 PM > To: Udit Kumar ; edk2-devel@lists.01.org > Cc: Sumit Batra > Subject: RE: Tool to check memory leaks > > Please r

[edk2] Tool to check memory leaks

2018-08-02 Thread Udit Kumar
Hi All Is there some tool/debug option in edk2 to detect memory leak. Thanks Udit ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] Help on AutoGen Files

2018-07-19 Thread Udit Kumar
t probably you > need to execute FpgaInterfaceInit() earlier in platform code or fork > SerialPortLib > for now. > > > > Regards, > > Marvin > > > >> -Original Message- > >> From: edk2-devel On Behalf Of Udit > >> Kumar > >> Sent: Thursd

[edk2] Help on AutoGen Files

2018-07-19 Thread Udit Kumar
Hi Experts, How I can change the order of initialization in Constructor list of autogen file. In my build system, if I look at MdeModulePkg/Universal/PCD/Pei/Pcd/DEBUG/AutoGen.c Below is function of Library Constructor List VOID EFIAPI ProcessLibraryConstructorList ( IN EFI_PEI_FILE_HANDL

Re: [edk2] [PATCH v2 2/5] MdeModulePkg/DxeCapsuleLibFmp: permit ProcessCapsules () to be called once

2018-06-18 Thread Udit Kumar
Hi Jiewen, I don't know x86 in details , so ignore stupid question, Also thanks to bear with unrelated question. > In our X86 system design, we lock flash part *before* EndOfDxe in any boot > mode. > Even in CapsuleUpdate boot mode, we also lock flash part at EndOfDxe, just > in case the capsul

[edk2] [edk2-platforms][PATCH v3] Platform: Add PL011UartClock Lib

2018-06-13 Thread Udit Kumar
This patch include default implementation of PL011 clock lib [v3] Update in HiSilicon common dsc [v2] Updated name of clock lib Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 1 +

[edk2] [PATCH v3 0/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-13 Thread Udit Kumar
[v3] Incorporated review comments of v2 [v2] Incorporated review comments of v1 Udit Kumar (2): ArmPlatformPkg: PL011 Dynamic clock freq Support ArmPlatformPkg: Include PL011UartClock Lib ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/ArmPlatformPkg.dsc

[edk2] [PATCH v3 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-13 Thread Udit Kumar
using Pcd. Platform which needs dynamic clocking needs implement PL011UartClockLib Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/ArmPlatformPkg.dsc | 1

[edk2] [PATCH v3 2/2] ArmPlatformPkg: Include PL011UartClock Lib

2018-06-13 Thread Udit Kumar
This patch gets PL011 baud rate clock from pl011 uart clock lib instead of Pcd. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 5 +++-- ArmPlatformPkg/Library/PL011SerialPortLib

Re: [edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-11 Thread Udit Kumar
Thanks for review Ard. > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Monday, June 11, 2018 3:35 PM > To: Udit Kumar > Cc: Leif Lindholm ; edk2-devel@lists.01.org > Subject: Re: [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic cl

Re: [edk2] [PATCH 2/2] ArmPlatformPkg: Include PL011UartClock Lib

2018-06-11 Thread Udit Kumar
Thanks Ard > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Monday, June 11, 2018 3:37 PM > To: Udit Kumar > Cc: Leif Lindholm ; edk2-devel@lists.01.org > Subject: Re: [PATCH 2/2] ArmPlatformPkg: Include PL011UartClock Lib > &

[edk2] [PATCH] Platform: Add PL011UartClock Lib

2018-06-05 Thread Udit Kumar
[v2] Updated name of clock lib Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 1 + Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 + Platform/Hisilicon/D05/D05.dsc

[edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
using Pcd. Platform which needs dynamic clocking needs implement PL011UartClockLib Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/Include/Library/PL011UartClockLib.h | 32

[edk2] [PATCH v2 0/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
[v2] Incorporated review comments of v1 Udit Kumar (2): ArmPlatformPkg: PL011 Dynamic clock freq Support ArmPlatformPkg: Include PL011UartClock Lib ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/Include/Library/PL011UartClockLib.h | 32

[edk2] [PATCH 2/2] ArmPlatformPkg: Include PL011UartClock Lib

2018-06-05 Thread Udit Kumar
This patch includes, PL011UartClock lib. In case of no implemenation of this Clock Lib, Pcd value will be used for PL011 frequency. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 5

Re: [edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
> -Original Message- > From: Alexei Fedorov [mailto:alexei.fedo...@arm.com] > Sent: Tuesday, June 5, 2018 6:01 PM > To: Udit Kumar ; edk2-devel@lists.01.org; > ard.biesheu...@linaro.org; leif.lindh...@linaro.org > Subject: RE: [edk2] [PATCH 1/2] ArmPlatformPkg: PL011

Re: [edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, June 5, 2018 5:56 PM > To: Udit Kumar > Cc: edk2-devel@lists.01.org; Leif Lindholm > Subject: Re: [edk2][PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq > Support &

Re: [edk2] [PATCH 2/2] ArmPlatformPkg: Include ArmPlatformClock Lib

2018-06-05 Thread Udit Kumar
Thanks Ard, I accept all of your comments, I will take care in v2 Regards Udit > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, June 5, 2018 5:55 PM > To: Udit Kumar > Cc: edk2-devel@lists.01.org; Leif Lindholm >

Re: [edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, June 5, 2018 5:54 PM > To: Udit Kumar > Cc: edk2-devel@lists.01.org; Leif Lindholm > Subject: Re: [edk2][PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq > Support &

[edk2] [edk2-platforms][PATCH] Platform: Add ArmPlatformClockNULL Lib

2018-06-05 Thread Udit Kumar
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Meenakshi Aggarwal --- Platform/AMD/OverdriveBoard/OverdriveBoard.dsc | 1 + Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc | 1 + Platform/Hisilicon/D05/D05.dsc | 2 ++

[edk2] [PATCH 1/2] ArmPlatformPkg: PL011 Dynamic clock freq Support

2018-06-05 Thread Udit Kumar
platform where Pcd clock frequency to PL011 can change Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- .../Include/Library/ArmPlatformClockLib.h | 32 .../ArmPlatformClockLib.inf| 33

[edk2] [PATCH 2/2] ArmPlatformPkg: Include ArmPlatformClock Lib

2018-06-05 Thread Udit Kumar
This patch includes, ArmPlatformClock in PL011 lib. In case of NULL implemenation of Clock Lib, Pcd value will be used for PL011 frequency. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortLib.c | 7

Re: [edk2] [PATCH v2 04/17] ArmPkg/ArmMmuLib: Add MMU Library suitable for use in S-EL0.

2018-05-09 Thread Udit Kumar
Hi Supreeth, One question on this patch We are asking permission on base-address and changing the permission of memory based upon base and size. I haven't looked at other part of code which manage this , But will there be possibility that, base address is given correctly and length may over-l

Re: [edk2] [PATCH v2 03/17] ArmPkg/Include: Add MM interface SVC return codes.

2018-05-09 Thread Udit Kumar
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Supreeth Venkatesh > Sent: Saturday, May 5, 2018 2:11 AM > To: edk2-devel@lists.01.org > Cc: ard.biesheu...@linaro.org; leif.lindh...@linaro.org; jiewen@intel.com; > liming@intel.com; m

Re: [edk2] [PATCH v2 02/17] ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.

2018-05-09 Thread Udit Kumar
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Supreeth Venkatesh > Sent: Saturday, May 5, 2018 2:11 AM > To: edk2-devel@lists.01.org > Cc: ard.biesheu...@linaro.org; leif.lindh...@linaro.org; jiewen@intel.com; > liming@intel.com; m

Re: [edk2] [PATCH] MdePkg: add big-endian MMIO BaseBeIoLib

2018-04-17 Thread Udit Kumar
Hi Laszlo > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Tuesday, April 17, 2018 3:12 PM > To: Udit Kumar ; Leif Lindholm > > Cc: Kinney, Michael D ; edk2-devel@lists.01.org; > Gao, Liming > Subject: Re: [edk2] [PATCH] Mde

Re: [edk2] [PATCH] MdePkg: add big-endian MMIO BaseBeIoLib

2018-04-17 Thread Udit Kumar
Hi Laszlo, Considering all possible option is best to have in code 😊 But IMO, We are running UEFI on LE CPU only, Not sure someone is running on BE. AFAIK even specs says LE. > (c) assuming we introduce a CPU with BE byte order, the same driver > source will work (for both LE and BE devic

Re: [edk2] [PATCH] MdePkg: add big-endian MMIO BaseBeIoLib

2018-04-16 Thread Udit Kumar
Hi Mike, Do we want to support BE CPUs, ? If yes then Last discussion of Lazlo is valid, where driver don't need to take care of CPU endianness. Regards Udit > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Kinney, Michael D > Sent: Monda

Re: [edk2] [PATCH] MdePkg: add big-endian MMIO BaseBeIoLib

2018-04-15 Thread Udit Kumar
Gao > ; Laszlo Ersek ; Udit Kumar > > Subject: [PATCH] MdePkg: add big-endian MMIO BaseBeIoLib > > When performing MMIO to a destination of the opposite endianness to the > executing processor, this library provides automatic byte order reversal on > inputs and output

Re: [edk2] [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big Endian Mmio APIs

2018-02-23 Thread Udit Kumar
, Suggested approach is ok as well to keep CPU endianness in ARM package. but need views from Ard/Leif here. Thanks Udit > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Friday, February 23, 2018 4:17 PM > To: Udit Kumar ; Leif Lindholm > >

Re: [edk2] [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big Endian Mmio APIs

2018-02-23 Thread Udit Kumar
Hi Laszlo > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Friday, February 23, 2018 4:29 PM > To: Udit Kumar ; Pankaj Bansal > ; Leif Lindholm > Cc: michael.d.kin...@intel.com; edk2-devel@lists.01.org; > ard.biesheu...@linaro.or

Re: [edk2] [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big Endian Mmio APIs

2018-02-23 Thread Udit Kumar
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Laszlo Ersek > Sent: Friday, February 23, 2018 2:51 PM > To: Pankaj Bansal ; Leif Lindholm > > Cc: michael.d.kin...@intel.com; edk2-devel@lists.01.org; > ard.biesheu...@linaro.org > Subject: R

Re: [edk2] [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big Endian Mmio APIs

2018-02-23 Thread Udit Kumar
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Laszlo Ersek > Sent: Thursday, February 22, 2018 7:26 PM > To: Leif Lindholm > Cc: michael.d.kin...@intel.com; edk2-devel@lists.01.org; > ard.biesheu...@linaro.org > Subject: Re: [edk2] [PATCH

Re: [edk2] [RFC PATCH] MdePkg: add byte-swapping MMIO BaseIoLibSwap

2018-02-21 Thread Udit Kumar
Hi Ard. > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, February 21, 2018 11:39 PM > To: Leif Lindholm > Cc: edk2-devel@lists.01.org; Michael D Kinney > ; Liming Gao ; > Meenakshi Aggarwal ; Udit Kumar > ; Va

Re: [edk2] [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big Endian Mmio APIs

2018-02-21 Thread Udit Kumar
> -Original Message- > From: Leif Lindholm [mailto:leif.lindh...@linaro.org] > Sent: Wednesday, February 21, 2018 9:16 PM > Subject: Re: [PATCH edk2-platforms 01/39] Silicon/NXP: Add support for Big > Endian Mmio APIs > > Apologies for dropping the ball on this series during my sabbatica

[edk2] [ArmPlatformPkg][Patch] reset x11 before use

2018-01-17 Thread Udit Kumar
Contribution Agreement 1.1 Signed-off-by: Udit Kumar --- ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S | 1 + 1 file changed, 1 insertion(+) diff --git a/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S b/ArmPlatformPkg/PrePi/AArch64/ModuleEntryPoint.S index a81709d..d391fc1 100644 --- a

Re: [edk2] [RFC] SATA : Implemented NXP errata A008402

2018-01-10 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, January 10, 2018 3:23 PM > To: Udit Kumar > Cc: Ni, Ruiyu ; Meenakshi Aggarwal > ; edk2-devel@lists.01.org; Zeng, Star > ; leif.lindh...@linaro.org > Subjec

Re: [edk2] [RFC] SATA : Implemented NXP errata A008402

2018-01-10 Thread Udit Kumar
Hi Ruiyu, > -Original Message- > > > > And this change will not impact any other hardware so no one is basically > impacted by this change. > > Your buggy HW only need the value zero. But the addition of PCD exposes > an interface that can use any size of PRD. > I am not sure the AtaAtap

Re: [edk2] [PATCH] ArmPlatformPkg/MemoryInitPeiLib: mark primary FV region as boot services data

2018-01-02 Thread Udit Kumar
dimir.olovyanni...@broadcom.com; Udit > Kumar ; Meenakshi Aggarwal > ; Ard Biesheuvel > > Subject: [PATCH] ArmPlatformPkg/MemoryInitPeiLib: mark primary FV region > as boot services data > > Commit 8ae5fc182941 ("ArmPlatformPkg/MemoryInitPeiLib: don't reserve > primary FV in

Re: [edk2] [PATCH 5/7] ArmPlatformPkg/MemoryInitPeiLib: don't reserve primary FV in memory

2017-12-26 Thread Udit Kumar
al handling of the primary FV, which needed to > be reserved so that DXE core could call into the PE/COFF and LZMA > libraries in the PrePi module. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Udit Kumar > Signed-off-by: Meenak

Re: [edk2] Documentation on "dh" shell command

2017-12-13 Thread Udit Kumar
age- > From: Carsey, Jaben [mailto:jaben.car...@intel.com] > Sent: Wednesday, December 13, 2017 10:54 PM > To: Udit Kumar ; edk2-devel@lists.01.org > Subject: RE: [edk2] Documentation on "dh" shell command > > Udit, > > There are some examples in the shell

[edk2] Documentation on "dh" shell command

2017-12-13 Thread Udit Kumar
Hi, Could you help me, where I can get documentation on output of dh shell command. UEFI_Shell_Spec_2_2.pdf , table 18 is giving details of sfo option only for each column. Thanks Udit ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.

Re: [edk2] [PATCH edk2-platforms] [PATCH v3 2/9] Platform/NXP : Add support for Watchdog driver

2017-12-07 Thread Udit Kumar
. But actually watchdog is not stopped and OS needs to be loaded within this time or some specific application needs to ping it. Thx Udit > -Original Message- > From: Leif Lindholm [mailto:leif.lindh...@linaro.org] > Sent: Thursday, December 07, 2017 9:04 PM > To: Gao, Liming

Re: [edk2] [PATCH edk2-platforms] [PATCH v3 2/9] Platform/NXP : Add support for Watchdog driver

2017-12-07 Thread Udit Kumar
Original Message- > From: Gao, Liming [mailto:liming@intel.com] > Sent: Thursday, December 07, 2017 12:42 PM > To: Leif Lindholm ; Udit Kumar > > Cc: Kinney, Michael D ; Meenakshi Aggarwal > ; ard.biesheu...@linaro.org; edk2- > de...@lists.01.org; Varun Sethi >

Re: [edk2] [PATCH edk2-platforms] [PATCH v3 2/9] Platform/NXP : Add support for Watchdog driver

2017-12-04 Thread Udit Kumar
Michael D > > Cc: Meenakshi Aggarwal ; > ard.biesheu...@linaro.org; edk2-devel@lists.01.org; Udit Kumar > ; Varun Sethi > Subject: RE: [PATCH edk2-platforms] [PATCH v3 2/9] Platform/NXP : Add support > for Watchdog driver > > Leif: > I suggest return EFI_UNSUPPORTED for t

Re: [edk2] [PATCH 1/1] MdePkg/IoLib: Add support for big-endian MMIO

2017-12-01 Thread Udit Kumar
rces] > > > > > BaseIoLibIntrinsicInternal.h > > > > > IoHighLevel.c > > > > > IoLib.c > > > > > IoLibEbc.c # Asserts on all i/o port accesses > > > > > IoLibMmioBuffer.c > > > > > > > > > > [Packa

Re: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux

2017-11-30 Thread Udit Kumar
vel@lists.01.org; leif.lindh...@linaro.org; > >> ard.biesheu...@linaro.org > >> Subject: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux > >> > >> While creating Hob list, ArmPlatformPkg is hiding UEFI memory. > >> whereas this memory can be used

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-27 Thread Udit Kumar
> >> Hmnnn it sounds like jedec,spi-nor meets this test. > >> > >> There is only one property in the DT bindings that describes the > >> device itself (fast read support) rather than its "bus address" (chip > >> select, frequency). Further, that single property is obsolete, at > >> least for L

Re: [edk2] [PATCH v2 1/9] Platform/NXP: Add support for Big Endian Mmio APIs

2017-11-26 Thread Udit Kumar
Hi Leif, > Hmm, was there a cover letter for this v2? I can only find the one from v1 in > my > inbox? Usually it is helpful to keep the cover letter and add comments on what > has changed since the previous revision. > > Also, can you generate the patches with > --subject-prefix="PATCH edk2-pl

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-26 Thread Udit Kumar
Hi Andrew > Udit, > > I think it is more like you only need ACPI if you don't have a driver. Ok, then ACPI or say firmware needs to export AML methods, which are known to OS. > If it is standard bus with standard drivers the OS code can do power > management > without any help from ACPI.

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-25 Thread Udit Kumar
> -Original Message- > From: Daniel Thompson [mailto:daniel.thomp...@linaro.org] > Sent: Thursday, November 23, 2017 1:42 AM > To: Ard Biesheuvel > Cc: Udit Kumar ; Leif Lindholm > ; edk2-devel@lists.01.org; Varun Sethi > ; Graeme Gregory > Subject: Re:

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-25 Thread Udit Kumar
> -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Thursday, November 23, 2017 1:10 AM > To: Daniel Thompson > Cc: Udit Kumar ; Leif Lindholm > ; edk2-devel@lists.01.org; Varun Sethi > ; Graeme Gregory > Subject: Re:

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-25 Thread Udit Kumar
methods to be implemented. Regards Udit From: af...@apple.com [mailto:af...@apple.com] Sent: Wednesday, November 22, 2017 11:05 PM To: Udit Kumar Cc: Daniel Thompson ; Ard Biesheuvel ; edk2-devel@lists.01.org; Leif Lindholm Subject: Re: [edk2] [RFC] ACPI table HID/CID allocation FYI now that the

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-22 Thread Udit Kumar
be it i2c slave or SPI slave ? > > > > > > Regards > > Udit > > > >> -Original Message----- > >> From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > >> Sent: Tuesday, November 21, 2017 7:34 PM > >> To: Udit Kumar > >

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-21 Thread Udit Kumar
.org] > Sent: Tuesday, November 21, 2017 7:34 PM > To: Udit Kumar > Cc: Leif Lindholm ; edk2-devel@lists.01.org; Varun > Sethi ; Daniel Thompson ; > Graeme Gregory > Subject: Re: [RFC] ACPI table HID/CID allocation > > On 21 November 2017 at 13:24, Udit Kumar wrote: > > T

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-21 Thread Udit Kumar
AML methods (as needed _ON/OFF/RST/STA etc) /_DSD will to be coded in table using either of. Please see more in line Regards Udit > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, November 21, 2017 5:59 PM > To: Udit Kumar > C

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-21 Thread Udit Kumar
> On 21 November 2017 at 09:59, Udit Kumar wrote: > > Thanks Ard. > > Below table was for example. I am not converting whole DT to ACPI > > tables :) My idea is to reduce Linux patches for probing as possible. > > Also keeping firmware and OS separately then Let f

Re: [edk2] [RFC] ACPI table HID/CID allocation

2017-11-21 Thread Udit Kumar
well Regards Udit > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, November 21, 2017 3:08 PM > To: Udit Kumar > Cc: Leif Lindholm ; edk2-devel@lists.01.org; Varun > Sethi ; Daniel Thompson ; > Graeme Gregory > Subje

[edk2] [RFC] ACPI table HID/CID allocation

2017-11-21 Thread Udit Kumar
Hi, I am enabling ACPI on NXP platform , In order to do minimal changes in Linux driver for device-driver binding. I want to use PRP0001 device as CID and HID as actual (NXP allocated HID). So that Linux can bind with PRP0001 and compatible field, where as other OS (Window etc) can rely on HI

[edk2] Why we need CapsuleLib even platform does not support this feature

2017-11-15 Thread Udit Kumar
Hi, I recently noticed in my build as well, we need to include CapsuleLib even platform does not support Capsule update feature. Thanks to help me, why this dependency is added in edk2. Regards Udit > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Be

Re: [edk2] [PATCH] Tftp assert fix for openfile failure case

2017-11-08 Thread Udit Kumar
> -Original Message- > From: Leif Lindholm [mailto:leif.lindh...@linaro.org] > Sent: Wednesday, November 08, 2017 8:52 PM > To: Udit Kumar > Cc: Vabhav Sharma ; edk2-devel@lists.01.org; > ruiyu...@intel.com; jaben.car...@intel.com; ard.biesheu...@linaro.org; > siyu

Re: [edk2] [PATCH] Tftp assert fix for openfile failure case

2017-11-07 Thread Udit Kumar
ting...@intel.com; Udit > Kumar > Subject: Re: [PATCH] Tftp assert fix for openfile failure case > > On Fri, Nov 03, 2017 at 07:56:32PM +0530, Vabhav wrote: > > Issue: > > when file open is failed, assert was seen due to freeing 0 size page > > > > Reaso

Re: [edk2] [RFC PATCH edk2-platforms 1/3] Silicon/NXP: add RTC support library for PCF8563 I2C IP

2017-11-06 Thread Udit Kumar
Thanks Ard, Your another patch set is addressing my concern Regards Udit > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Monday, November 06, 2017 4:41 PM > To: Udit Kumar > Cc: edk2-devel@lists.01.org; leif.lindh...@linaro.org;

Re: [edk2] [RFC PATCH edk2-platforms 1/3] Silicon/NXP: add RTC support library for PCF8563 I2C IP

2017-11-06 Thread Udit Kumar
Thanks Ard. This will allow to use PCF8563 on any platform not limiting to targeted platform. Few comments are inline. Regards Udit > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Ard > Biesheuvel > Sent: Friday, November 03, 2017 3:47 PM

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-10-30 Thread Udit Kumar
Thanks Jeremy > Hi, > > On 10/27/2017 10:09 PM, Udit Kumar wrote: > >> (along those lines) > >> > >> 6 - Build an emulated disk controller as well as NV region in el3 (or > >> el2) and export them to UEFI & the OS as real devices. Then > &

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-10-27 Thread Udit Kumar
call, if they are allowed to access this specific controller or other driver is accessing it. With this performance issue could be ironed out . Regards Udit > -Original Message- > From: Jeremy Linton [mailto:jeremy.lin...@arm.com] > Sent: Friday, October 27, 2017 11:16 PM >

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-10-27 Thread Udit Kumar
ample driver using this scheme, Mainly around OS implementation Regards Udit > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, September 20, 2017 11:09 PM > To: Udit Kumar > Cc: Pankaj Bansal ; Andrew Fish ; > olivier.mar...@

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-10-27 Thread Udit Kumar
FI runtime services using some sort of file system. Thanks Udit > -Original Message- > From: af...@apple.com [mailto:af...@apple.com] > Sent: Wednesday, September 20, 2017 11:16 PM > To: Ard Biesheuvel > Cc: Udit Kumar ; edk2-devel@lists.01.org; > olivier.mar...@arm.com

Re: [edk2] [PATCH v2 2/3] ArmPkg/Drivers: Add EFI_MM_COMMUNICATION_PROTOCOL DXE driver.

2017-10-25 Thread Udit Kumar
Hi > + Status = gBS->AllocatePages (AllocateAddress, > + EfiRuntimeServicesData, > + EFI_SIZE_TO_PAGES > (mNsCommBuffMemRegion.Length), > + &mNsCommBuffMemRegion.PhysicalBase); > + if (EFI_ERROR (Status))

Re: [edk2] [PATCH 1/1] MdePkg/IoLib: Add support for big-endian MMIO

2017-10-23 Thread Udit Kumar
Hi Meenakshi/Liming, My 2 cents, around this. 1) Having a new lib for BE read might not be helpful for us, e.g. a IP which is in BE mode access the UART for print or system registers which are in LE, then with new Lib, we will get all read/write in BE mode 2) Especially for our IPs, which a

Re: [edk2] USB Enumeration

2017-10-05 Thread Udit Kumar
Ticket https://bugzilla.tianocore.org/show_bug.cgi?id=729 is created. Thx Udit > -Original Message- > From: Udit Kumar > Sent: Thursday, October 05, 2017 6:55 PM > To: 'Zeng, Star' > Cc: edk2-devel-01 > Subject: RE: [edk2] USB Enumeration > > Tha

Re: [edk2] USB Enumeration

2017-10-05 Thread Udit Kumar
/Page.c(722) Regards Udit > -Original Message- > From: Zeng, Star [mailto:star.z...@intel.com] > Sent: Thursday, October 05, 2017 6:16 PM > To: Udit Kumar ; edk2-devel-01 de...@lists.01.org> > Cc: Zeng, Star > Subject: RE: [edk2] USB Enumeration > > We (I)

[edk2] USB Enumeration

2017-10-05 Thread Udit Kumar
Dear Edk2 Expert, With edk2 shell, I am doing simple copy with USB, Flow is below Start- USB device is enumerated and given address 1. 1. On Shell , cp a b 2- After a while Host controller reports an error 3- Layer above Host controller, reset the USB port 4- and Slot is enabled again ( this

Re: [edk2] [PATCH] MdeModulePkg/DxeCore: Add comments for the ASSERT to check NULL ptr

2017-09-28 Thread Udit Kumar
> -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Hao > Wu > Sent: Thursday, September 28, 2017 12:31 PM > To: edk2-devel@lists.01.org > Cc: Hao Wu ; Michael D Kinney > ; Jiewen Yao ; Star Zeng > > Subject: [edk2] [PATCH] MdeModulePkg/DxeCore:

Re: [edk2] SNP transmit print

2017-09-22 Thread Udit Kumar
work/SnpDxe/Transmit.c Have print only for EFI_NOT_READY. And in MdeModulePkg/Universal/Network/MnpDxe/MnpIo.c, print error as well for second case. Hope this helps Thanks Udit > -Original Message- > From: Meenakshi Aggarwal > Sent: Friday, September 22, 2017 3:56 PM > To: Udit K

Re: [edk2] SNP transmit print

2017-09-21 Thread Udit Kumar
I think these error prints should be check against Status Regards Udit > -Original Message- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > Meenakshi Aggarwal > Sent: Thursday, September 21, 2017 3:36 PM > To: edk2-devel@lists.01.org > Subject: [edk2] SNP trans

Re: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux

2017-09-20 Thread Udit Kumar
t; whereas this memory can be used by OS. > > > > This patch, allows OS to use UEFI code area. > > > > Contributed-under: TianoCore Contribution Agreement 1.1 > > Signed-off-by: Udit Kumar > > Signed-off-by: Meenakshi Aggarwal > > --- > > A

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-09-20 Thread Udit Kumar
SD is exclusivity used by UEFI or OS. Any corrections ? Thanks Udit > -Original Message- > From: Pankaj Bansal > Sent: Wednesday, September 20, 2017 8:22 PM > To: Andrew Fish ; Udit Kumar ; edk2- > de...@lists.01.org > Cc: Vladimir Olovyannikov ; > olivier.ma

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-09-19 Thread Udit Kumar
> > On Sep 19, 2017, at 9:27 PM, Udit Kumar wrote: > > > > > >> On 18 September 2017 at 22:28, Udit Kumar wrote: > >>> Thanks Vladimir, > >>> With your design, you did delayed write to eMMC due to sharing with > >>> OS. But it wo

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-09-19 Thread Udit Kumar
> On 18 September 2017 at 22:28, Udit Kumar wrote: > > Thanks Vladimir, > > With your design, you did delayed write to eMMC due to sharing with > > OS. But it works for you:) Say if eMMC controllers offers you a > > status bit, if eMMC storage is being used

Re: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux

2017-09-19 Thread Udit Kumar
Thanks for this, If memory is marked as reserved by HobList then gDS->AddMemorySpace will return error 15. No ? Regards Udit > -Original Message- > From: Sakar Arora [mailto:sakar.ar...@arm.com] > Sent: Tuesday, September 19, 2017 4:51 PM > To: Udit Kumar ; Mee

Re: [edk2] [PATCH v2] PeiLib : Inform UEFI memory to Linux

2017-09-19 Thread Udit Kumar
ArmPlatformPkg is hiding UEFI memory. > whereas this memory can be used by OS. > > This patch, allows OS to use UEFI code area. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Udit Kumar > Signed-off-by: Meenakshi Aggarwal > --- > A

Re: [edk2] Storing Non volatile variables on SD/NAND

2017-09-18 Thread Udit Kumar
> -Original Message- > From: Vladimir Olovyannikov [mailto:vladimir.olovyanni...@broadcom.com] > Sent: Monday, September 18, 2017 10:22 PM > To: Ard Biesheuvel ; Udit Kumar > > Cc: grant.lik...@linaro.org; edk2-devel@lists.01.org; olivier.mar...@arm.com > Subject: RE: [edk2]

  1   2   >