Re: [edk2] Uefi runtime property in device tree

2018-12-27 Thread Pankaj Bansal
Hello Ard, Thanks for replying > -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Wednesday, December 26, 2018 7:16 PM > To: Pankaj Bansal > Cc: Varun Sethi ; Udit Kumar ; linux- > efi ; edk2-devel@lists.01.org > Subject: Re:

[edk2] Uefi runtime property in device tree

2018-12-26 Thread Pankaj Bansal
r thoughts on this. If this doesn't seem the right way, I am happy to hear your suggestions. Thanks & Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

[edk2] Uefi runtime property in device tree

2018-12-26 Thread Pankaj Bansal
r thoughts on this. If this doesn't seem the right way, I am happy to hear your suggestions. Thanks & Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] PACKAGES_PATH in !include path in Dsc files

2018-10-16 Thread Pankaj Bansal
> -Original Message- > From: Gao, Liming [mailto:liming@intel.com] > Sent: Tuesday, October 16, 2018 10:58 AM > To: Pankaj Bansal ; Ard Biesheuvel > > Cc: Zhu, Yonghong ; Leif Lindholm > ; Kinney, Michael D ; > edk2-devel@lists.01.org; Udit Kumar ; Varu

Re: [edk2] PACKAGES_PATH in !include path in Dsc files

2018-10-15 Thread Pankaj Bansal
> -Original Message- > From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Tuesday, October 16, 2018 8:41 AM > To: Pankaj Bansal > Cc: Gao, Liming ; Zhu, Yonghong > ; Leif Lindholm ; Michael > D Kinney ; edk2-devel@lists.01.org; Udit Kumar > ; Va

Re: [edk2] PACKAGES_PATH in !include path in Dsc files

2018-10-15 Thread Pankaj Bansal
)/edk2-platforms Regards, Pankaj Bansal From: Gao, Liming [mailto:liming@intel.com] Sent: Tuesday, October 16, 2018 7:06 AM To: Pankaj Bansal ; Zhu, Yonghong Cc: edk2-devel@lists.01.org; Udit Kumar ; Varun Sethi Subject: RE: PACKAGES_PATH in !include path in Dsc files What's your usage

[edk2] PACKAGES_PATH in !include path in Dsc files

2018-10-13 Thread Pankaj Bansal
D "ARCH=AARCH64" -D "ECP_SOURCE=/home/nxa34148/Desktop/uefi/EdkCompatibilityPkg" -D "TARGET=RELEASE" [/home/nxa34148/Desktop/uefi] - Failed - I am not able to understand the cause of this error. Can you please help? Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [RFC] Add Platform Include path in modules

2018-03-09 Thread Pankaj Bansal
Hi All, Will It violate the UEFI Platform Initialization Distribution Packaging Specification if we want to use Computed Includes ? https://gcc.gnu.org/onlinedocs/gcc-3.0.2/cpp_2.html#SEC10 Thanks & Regards, Pankaj Bansal > -Original Message- > From: Gao, Liming [mai

Re: [edk2] [RFC] Add Platform Include path in modules

2018-02-26 Thread Pankaj Bansal
lude files, and it also avoids code replication. Anyway, this is just my suggestion to have such mechanism in edk2 build process. I am more than happy to stick to platform libraries. Thanks & Regards, Pankaj Bansal > -Original Message- > From: Kinney, Michael D [mailto:michae

[edk2] [RFC v2] Add Platform Include path in modules

2018-02-26 Thread Pankaj Bansal
r: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- Notes: V2: -check if .dec file exist before appending include paths to include path list BaseTools/Source/Python/AutoGen/AutoGen.py | 14 ++ 1 file changed, 14 inserti

Re: [edk2] [RFC] Add Platform Include path in modules

2018-02-26 Thread Pankaj Bansal
in driver.inf file. Thanks & Regards, Pankaj Bansal > -Original Message- > From: Kinney, Michael D [mailto:michael.d.kin...@intel.com] > Sent: Monday, February 26, 2018 1:13 PM > To: Pankaj Bansal <pankaj.ban...@nxp.com>; edk2-devel@lists.01.org; > Kinney,

Re: [edk2] [RFC] MdePkg/BaseLib: Change BitField functions.

2018-02-25 Thread Pankaj Bansal
Hello Laszlo, Thanks for your explanation. Now I understand the usage of bit field functions. Regards, Pankaj Bansal > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Friday, February 23, 2018 5:43 PM > To: Pankaj Bansal <pankaj.ban...@nxp.co

[edk2] [RFC] Add Platform Include path in modules

2018-02-25 Thread Pankaj Bansal
r: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- BaseTools/Source/Python/AutoGen/AutoGen.py | 12 1 file changed, 12 insertions(+) diff --git a/BaseTools/Source/Python/AutoGen/AutoGen.py b/BaseTools/Source/Python/AutoGen/AutoGe

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

2018-02-23 Thread Pankaj Bansal
> -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Friday, February 23, 2018 4:52 PM > To: Pankaj Bansal <pankaj.ban...@nxp.com>; Udit Kumar > <udit.ku...@nxp.com>; Leif Lindholm <leif.lindh...@linaro.org> > Cc: michael.d.kin..

Re: [edk2] [RFC] MdePkg/BaseLib: Change BitField functions.

2018-02-23 Thread Pankaj Bansal
nded to be used ? Thanks & Regards, Pankaj Bansal > -Original Message- > From: Gao, Liming [mailto:liming@intel.com] > Sent: Friday, February 23, 2018 4:33 PM > To: Pankaj Bansal <pankaj.ban...@nxp.com>; edk2-devel@lists.01.org > Cc: Kinney, Michael D <michael.d

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

2018-02-23 Thread Pankaj Bansal
Hi All > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Friday, February 23, 2018 4:29 PM > To: Udit Kumar <udit.ku...@nxp.com>; Pankaj Bansal > <pankaj.ban...@nxp.com>; Leif Lindholm <leif.lindh...@linaro.org> > Cc: michael.

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

2018-02-23 Thread Pankaj Bansal
Hi All > -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; >

Re: [edk2] [PATCH 1/2] Silicon/NXP: Add Modified SPI protocol stack

2018-02-19 Thread Pankaj Bansal
Hi everybody, Any review comments on this patch set ? > -Original Message- > From: Pankaj Bansal > Sent: Friday, February 09, 2018 5:24 PM > To: edk2-devel@lists.01.org > Cc: Pankaj Bansal <pankaj.ban...@nxp.com>; Ard Biesheuvel > <ard.biesheu...@linaro.org&

Re: [edk2] [RFC] MdePkg/BaseLib: Change BitField functions.

2018-02-19 Thread Pankaj Bansal
Hi everybody, Any comments on this change ? > -Original Message- > From: Pankaj Bansal > Sent: Friday, February 09, 2018 4:30 PM > To: edk2-devel@lists.01.org > Cc: Pankaj Bansal <pankaj.ban...@nxp.com>; Michael D Kinney > <michael.d.kin...@intel.com>; Li

[edk2] [PATCH 1/2] Silicon/NXP: Add Modified SPI protocol stack

2018-02-09 Thread Pankaj Bansal
are calling it revised PI 1.6 spec. Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.

[edk2] [PATCH 2/2] NXP/SpiBusDxe: Add SPI Bus driver.

2018-02-09 Thread Pankaj Bansal
call to Start. Cc: Ard Biesheuvel <ard.biesheu...@linaro.org> Cc: Leif Lindholm <leif.lindh...@linaro.org> Cc: Michael D Kinney <michael.d.kin...@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com>

[edk2] [RFC] MdePkg/BaseLib: Change BitField functions.

2018-02-09 Thread Pankaj Bansal
single bit change. This is an attempt to correct these limitations. Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- Notes:

Re: [edk2] [PATCH 2/2] ArmPkg/ArmArchTimerLib: Implement GetElapsedTime function of TimerLib

2018-01-10 Thread Pankaj Bansal
Hi Laszlo, > -Original Message- > From: Laszlo Ersek [mailto:ler...@redhat.com] > Sent: Wednesday, January 10, 2018 10:34 PM > To: Pankaj Bansal <pankaj.ban...@nxp.com>; edk2-devel@lists.01.org > Cc: Leif Lindholm <leif.lindh...@linaro.org>; Ard Biesheuvel &

Re: [edk2] [PATCH 2/2] ArmPkg/ArmArchTimerLib: Implement GetElapsedTime function of TimerLib

2018-01-10 Thread Pankaj Bansal
plement > GetElapsedTime function of TimerLib > > Hello Pankaj, > > On 01/10/18 10:31, Pankaj Bansal wrote: > > This function calculates the time elaped in Naoseconds between call to > > this function and BaseTime, which is passed as argument. > > > > Th

[edk2] [PATCH 2/2] ArmPkg/ArmArchTimerLib: Implement GetElapsedTime function of TimerLib

2018-01-10 Thread Pankaj Bansal
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> diff --git a/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c b/ArmPkg/Library/ArmArchTimerLib/ArmArchTimerLib.c index b81293c..0898339 100644 --- a/ArmPkg/Library/ArmArchTimerLib/ArmAr

[edk2] [PATCH 1/2] MdePkg/TimerLib: Add a function to calculate elapsed time

2018-01-10 Thread Pankaj Bansal
ibuted-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> diff --git a/MdePkg/Include/Library/TimerLib.h b/MdePkg/Include/Library/TimerLib.h index ecc3ad3..82a5c5c 100644 --- a/MdePkg/Include/Library/TimerLib.h +++ b/MdePkg/Include/Library/Ti

[edk2] [PATCH] EmbeddedPkg/FdtLib: Update FdtLib to v1.4.5

2018-01-05 Thread Pankaj Bansal
inaro.org> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- Notes: The source code has been copied under BSD license terms. One file fdt_overlay.c which is part of libfdt has no license header specified at the top of f

[edk2] [RFC] MdePkg/Spi : Modify SPI Protocol strctures to make it more generic

2017-12-07 Thread Pankaj Bansal
controllers need this info to communicate with SPI peripheral. others can ignore this info. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- MdePkg/Include/Protocol/SpiHc.h | 15 +- MdePkg/Include/Protocol/SpiIo.h

Re: [edk2] [PATCH 1/1] EmbeddedPkg: Implement NorFlashLib

2017-10-31 Thread Pankaj Bansal
not be stored in tabular form rather calculated based on JEDEDC data read. Thanks & Regards, Pankaj Bansal -Original Message- From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Marcin Wojtas Sent: Tuesday, October 31, 2017 1:46 PM To: Leif Lindholm <leif.lindh...@linaro.

Re: [edk2] Boot delay due to network devices

2017-10-06 Thread Pankaj Bansal
ing for booting (or for any network activity for that matter) In other words for only those devices, for which we will be calling Snp->Transmit and Snp->Receive functions? Thanks & Regards, Pankaj Bansal -Original Message- From: Laszlo Ersek [mailto:ler...@redhat.com] Sent: Frida

[edk2] Boot delay due to network devices

2017-10-06 Thread Pankaj Bansal
phy auto negotiation during boot ? If I move phy auto negotiation to Snp->Transmit and Snp->Receive, will this violate the SNP protocol guidelines ? Thanks & Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://l

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

2017-09-20 Thread Pankaj Bansal
This use case also arises for single-board systems like raspberry-pi, which do not have an onboard flash. The boot firmware/bootloader as well as operating system are loaded from SD card. https://www.raspberrypi.org/documentation/configuration/config-txt/ Thanks & Regards, Pankaj Ba

Re: [edk2] [PATCH v2] MdeModulePkg/SerialDxe: Fix not able to change serial attributes

2017-09-18 Thread Pankaj Bansal
Hi Zeng, Thanks for suggestion. I agree, that this looks nicer and gives more details. Please push the patch with comment updates and signatures as you have mentioned. Thanks & Regards, Pankaj Bansal -Original Message- From: Zeng, Star [mailto:star.z...@intel.com] Sent: Tue

Re: [edk2] [PATCH] Fix not able to change serial attributes

2017-09-18 Thread Pankaj Bansal
drivers' bindings to stop and then start. This in turn calls SerialReset, which undoes changes of SerialSetAttributes. Thanks & Regards, Pankaj Bansal -Original Message- From: Zeng, Star [mailto:star.z...@intel.com] Sent: Monday, September 18, 2017 3:52 PM To: Laszlo Ersek

[edk2] [PATCH v2] MdeModulePkg/SerialDxe: Fix not able to change serial attributes

2017-09-18 Thread Pankaj Bansal
. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pankaj Bansal <pankaj.ban...@nxp.com> --- Changes in v2: - Modified Patch description MdeModulePkg/Universal/SerialDxe/SerialIo.c | 66 - 1 file changed, 18 insertions(+), 48 deletions(-) diff

[edk2] (no subject)

2017-09-18 Thread Pankaj Bansal
Hi Laszlo, Zeng Thanks for patch review. @Zeng: The sermode command calls SerialSetAttributes, which sets H/W attributes of Serial device. After that the SerialIo protocol is reinstalled, which causes MdeModulePkg/Universal/Console/TerminalDxe and MdeModulePkg/Universal/Console/ConPlatformDxe

[edk2] UART Baud rate change code flow

2017-08-29 Thread Pankaj Bansal
;- I am not able to understand why SerialSetAttributes and SerialReset are being called, while the first call to SerialSetAttributes has not yet completed. Is this code flow right ? am I missing something ? Thanks & Regards, Pankaj Bansal ___ edk2-deve

[edk2] AARCH64 : C Model Small Alignment requirements

2017-05-26 Thread Pankaj Bansal
age Size 0x20) Thanks & Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

[edk2] ArmPkg/PlatformBootManagerLib : Multiple UEFI Shell Boot entries

2016-11-21 Thread Pankaj Bansal
or doing so? Thanks & Regards, Pankaj Bansal ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel