Re: [edk2] UEFI LinuxLoader app usage

2017-02-09 Thread Jun Nie
2017-02-09 21:44 GMT+08:00 Jun Nie <jun@linaro.org>: > I am new to UEFI and trying to boot Linux with LinuxLoader app. But I > cannot find detail information for below questions. Could anyone point > out where I can find related information or example code? Thanks for > you

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Jun Nie
On 2017年07月28日 21:06, Leif Lindholm wrote: On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: On 2017年07月27日 22:09, Leif Lindholm wrote: On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: Add an android kernel loader that could load kernel from storage device. This patch is from

[edk2] [PATCH v4 1/4] ArmPkg: Move IS_DEVICE_PATH_NODE for sharing

2017-08-01 Thread Jun Nie
Move IS_DEVICE_PATH_NODE into header to share it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- ArmPkg/Include/Library/BdsLib.h | 3 +++ ArmPkg/Library/BdsLib/BdsFilePath.c | 3 --- 2 files changed, 3 insertions(+), 3 del

[edk2] [PATCH v4 4/4] EmbeddedPkg: add Android boot device path and guid

2017-08-01 Thread Jun Nie
The device path specifies where to load android boot image. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/Embed

[edk2] [PATCH v4 2/4] EmbeddedPkg/AndroidFastboot: split android boot header

2017-08-01 Thread Jun Nie
Split android boot header definition to share code among different applications and libraries. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidFastboot/AndroidBootImg.c | 35 +++ .../AndroidFa

[edk2] [PATCH v4 3/4] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-08-01 Thread Jun Nie
. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidBoot/AndroidBootApp.c | 140 +++ .../Application/AndroidBoot/AndroidBootApp.inf | 64 +++ EmbeddedPkg/Include/Library/AndroidBootImgLib.h

[edk2] [PATCH v7] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-08-17 Thread Jun Nie
/ Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidBoot/AndroidBootApp.c | 140 +++ .../Application/AndroidBoot/AndroidBootApp.inf | 64 +++ EmbeddedPkg/EmbeddedPkg.dec

Re: [edk2] [PATCH v2 2/2] EmbeddedPkg: add Android boot device path and guid

2017-07-07 Thread Jun Nie
2017-07-06 21:29 GMT+08:00 Jun Nie <jun@linaro.org>: > The device path specifies where to load android boot image. > > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Jun Nie <jun@linaro.org> > --- > EmbeddedPkg/EmbeddedPkg.d

Re: [edk2] [PATCH v2 2/2] EmbeddedPkg/DwEmmc: Adjust FIFO threshold

2017-07-07 Thread Jun Nie
2017-07-06 23:22 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Wed, Jul 05, 2017 at 04:27:08PM +0800, Jun Nie wrote: >> Adjust FIFO threshold according to FIFO depth. Skip >> the adjustment if we do not have FIFO depth info. >> > > So, this is a big impr

[edk2] [PATCH v3] ArmPlatformPkg: Support different PL011 reg offset

2017-07-07 Thread Jun Nie
ZTE/SanChip version pl011 has different reg offset and bit offset for some registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.in

[edk2] [PATCH v3 2/2] EmbeddedPkg/DwEmmc: Adjust FIFO threshold

2017-07-07 Thread Jun Nie
Adjust FIFO threshold according to FIFO depth. Skip the adjustment if we do not have FIFO depth info. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6 + EmbeddedPkg/Drivers/DwE

Re: [edk2] [PATCH v2 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-18 Thread Jun Nie
2017-07-06 21:29 GMT+08:00 Jun Nie <jun@linaro.org>: > Add an android kernel loader that could load kernel from storage > device. This patch is from Haojian's code. The minor change > is that alternative dtb is searched in second loader binary of > Android bootimage if dtb

[edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-27 Thread Jun Nie
/ This android boot image BDS add addtitional cmdline/dtb/ramfs support besides kernel that is introduced by Android boot header. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- ArmPkg/Include/Library/BdsLib.h

[edk2] [PATCH v3 2/2] EmbeddedPkg: add Android boot device path and guid

2017-07-27 Thread Jun Nie
The device path specifies where to load android boot image. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/Embed

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-28 Thread Jun Nie
On 2017年07月27日 22:09, Leif Lindholm wrote: On Thu, Jul 27, 2017 at 06:07:19PM +0800, Jun Nie wrote: Add an android kernel loader that could load kernel from storage device. This patch is from Haojian's code as below link. The minor change is that alternative dtb is searched in second loader

Re: [edk2] [PATCH v2 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-19 Thread Jun Nie
2017-07-19 0:04 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Thu, Jul 06, 2017 at 09:29:05PM +0800, Jun Nie wrote: >> Add an android kernel loader that could load kernel from storage >> device. > > UEFI can already load a kernel (with the EFI stub) from

[edk2] [PATCH v4] EmbeddedPkg/MmcDxe: Align the ExtCSD buffer

2017-06-29 Thread Jun Nie
ExtCSD structure may be read via DMA. So align it to page to avoid data corruption. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +- EmbeddedPkg/Universal/MmcDxe/MmcIdentifica

[edk2] How to add support to different reg offset definition to share the same driver code?

2017-06-29 Thread Jun Nie
Hi, I am trying to add support to different reg offset and bit offset in PL011 UART. It seems impossible to add macro in platform.dsc to enable undef/redef in the header file with "#ifdef ZX_PL011_FLAG". Is there any proper way to control the reg/bit offset definition? Or we have to adopt the

[edk2] [PATCH v2] ArmPlatformPkg: Support different PL011 reg offset

2017-07-04 Thread Jun Nie
ZTE/SanChip version pl011 has different reg offset and bit offset for some registers. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- ArmPlatformPkg/ArmPlatformPkg.dec | 1 + ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.in

[edk2] [PATCH v5] EmbeddedPkg/MmcDxe: Align the ExtCSD buffer

2017-07-04 Thread Jun Nie
ExtCSD structure may be read via DMA. So align it to page to avoid data corruption. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/Mmc.c | 3 +++ EmbeddedPkg/Universal/MmcDxe

Re: [edk2] How to add support to different reg offset definition to share the same driver code?

2017-07-02 Thread Jun Nie
s] > !if $(ZX_PL011_FLAG) == TRUE > *_*_*_CC_FLAGS = -D ZX_PL011_FLAG > !endif > > Thanks > Liming Thanks for your demo code. It help a lot to a new comer. Jun >> -Original Message- >> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of Jun >

[edk2] [PATCH] ArmPlatformPkg: Support different reg offset to PL011

2017-07-02 Thread Jun Nie
ZTE SoC has different offset for some registers and bits. Add a macro flag to undef/redef those value. The macro flag can be enabled in BuildOptions section of platform.dsc. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- ArmPlatf

[edk2] [PATCH 2/2] EmbeddedPkg/DwEmmc: Adjust FIFO threshold

2017-07-02 Thread Jun Nie
Adjust FIFO threshold according to FIFO depth. Skip the adjustment if we do not have FIFO depth info. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6 EmbeddedPkg/Drivers/DwE

[edk2] [PATCH] EmbeddedPkg/DwEmmcDxe: limit max clock for platform

2017-07-02 Thread Jun Nie
Some boards may have max clock limitation. Add a Pcd to notify driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 4 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf | 1 + Embed

Re: [edk2] How to add support to different reg offset definition to share the same driver code?

2017-07-02 Thread Jun Nie
le. This should be most clear method to minimize impact to other platform. Jun > > On Fri, Jun 30, 2017 at 11:35:26AM +0800, Jun Nie wrote: >> Hi, >> >> I am trying to add support to different reg offset and bit offset in >> PL011 UART. It seems impossible to add

[edk2] [PATCH v2 1/2] EmbeddedPkg/DwEmmcDxe: limit max clock for platform

2017-07-05 Thread Jun Nie
Some boards may have max clock limitation. Add a Pcd to notify driver. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 4 EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf | 1 + Embed

[edk2] [PATCH v2 2/2] EmbeddedPkg/DwEmmc: Adjust FIFO threshold

2017-07-05 Thread Jun Nie
Adjust FIFO threshold according to FIFO depth. Skip the adjustment if we do not have FIFO depth info. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6 EmbeddedPkg/Drivers/DwE

[edk2] [PATCH v2 2/2] EmbeddedPkg: add Android boot device path and guid

2017-07-06 Thread Jun Nie
The device path specifies where to load android boot image. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/Embed

[edk2] [PATCH v2 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-06 Thread Jun Nie
1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidBoot/AndroidBootApp.c | 129 .../Application/AndroidBoot/AndroidBootApp.inf | 64 EmbeddedPkg/Include/Library/AbootimgLib.h | 65 EmbeddedPkg/Include/Protocol/Aboo

Re: [edk2] [PATCH v2] ArmPlatformPkg: Support different PL011 reg offset

2017-07-06 Thread Jun Nie
2017-07-06 0:36 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Tue, Jul 04, 2017 at 11:43:38PM +0800, Jun Nie wrote: >> ZTE/SanChip version pl011 has different reg offset and bit offset >> for some registers. >> >> Contributed-under: TianoCore Contrib

[edk2] [PATCH] EmbeddedPkg/MmcDxe: Align the ExtCSD buffer

2017-06-29 Thread Jun Nie
ExtCSD structure may be read via DMA. So align it to page to avoid data corruption. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +- EmbeddedPkg/Universal/MmcDxe/MmcIdentifica

[edk2] [PATCH] EmbeddedPkg/MmcDxe: Correct argument of ECSD read

2017-06-29 Thread Jun Nie
The argument of CMD8 should be stuff bits according to standard JESD84-A44. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [edk2] [PATCH] EmbeddedPkg/MmcDxe: Correct argument of ECSD read

2017-06-29 Thread Jun Nie
2017-06-29 20:09 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Thu, Jun 29, 2017 at 05:02:05PM +0800, Jun Nie wrote: >> The argument of CMD8 should be stuff bits according to standard >> JESD84-A44. > > OK, I realise that "stuff bits" is a term us

Re: [edk2] [PATCH v3 1/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-07-30 Thread Jun Nie
2017-07-28 22:52 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Fri, Jul 28, 2017 at 10:18:49PM +0800, Jun Nie wrote: >> On 2017年07月28日 21:06, Leif Lindholm wrote: >> >On Fri, Jul 28, 2017 at 05:47:46PM +0800, Jun Nie wrote: >> >>On 2017年07月27日 22:0

[edk2] [PATCH v6 1/2] EmbeddedPkg/AndroidFastboot: split android boot header

2017-08-09 Thread Jun Nie
Split android boot header definition to share code among different applications and libraries. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidFastboot/AndroidBootImg.c | 35 ++--- .../AndroidFa

[edk2] [PATCH v6 2/2] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-08-09 Thread Jun Nie
/ Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidBoot/AndroidBootApp.c | 140 ++ .../Application/AndroidBoot/AndroidBootApp.inf | 64 +++ EmbeddedPkg/EmbeddedPkg.dec

[edk2] [PATCH v5 2/3] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-08-02 Thread Jun Nie
/ Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidBoot/AndroidBootApp.c | 140 ++ .../Application/AndroidBoot/AndroidBootApp.inf | 64 +++ EmbeddedPkg/Include/Library/AndroidBootImgLib.h

Re: [edk2] [PATCH v4 3/4] EmbeddedPkg/AndroidBoot: boot android kernel from storage

2017-08-02 Thread Jun Nie
2017-08-01 23:50 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Tue, Aug 01, 2017 at 05:29:00PM +0800, Jun Nie wrote: >> Add an android kernel loader that could load kernel from storage >> device. This patch is derived from Haojian's code as below link. >>

Re: [edk2] [PATCH v4 4/4] EmbeddedPkg: add Android boot device path and guid

2017-08-02 Thread Jun Nie
o lack of AndroidBootImgLib. > > / > Leif > > On Tue, Aug 01, 2017 at 05:29:01PM +0800, Jun Nie wrote: >> The device path specifies where to load android boot image. >> >> Contributed-under: TianoCore Contribution Agreement 1.0 >> Signed-off-by: Jun Nie <

[edk2] [PATCH v5 3/3] EmbeddedPkg: add Android boot build entry

2017-08-02 Thread Jun Nie
The device path specifies where to load android boot image. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/EmbeddedPkg.dec | 2 ++ EmbeddedPkg/EmbeddedPkg.dsc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Embed

[edk2] [PATCH v5 1/3] EmbeddedPkg/AndroidFastboot: split android boot header

2017-08-02 Thread Jun Nie
Split android boot header definition to share code among different applications and libraries. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Application/AndroidFastboot/AndroidBootImg.c | 35 ++--- .../AndroidFa

Re: [edk2] [PATCH] MdeModulePkg/EmmcDxe: Use Trim instead of Erase for EraseBlocks

2017-08-09 Thread Jun Nie
buted-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hao Wu<hao.a...@intel.com> Reviewed-by: Jun Nie <jun@linaro.org> ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [PATCH 1/4] Platforms: Add Sanchip Zx296718 basic library

2017-08-17 Thread Jun Nie
g the same). On Wed, Aug 09, 2017 at 10:12:36PM +0800, Jun Nie wrote: Add Sanchip Zx296718 basic library files for Zx296718 SoC Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Library/Zx296718EvbLib/Zx296718Evb.c

Re: [edk2] [PATCH 4/4] Platforms/zx: Add platform build system files

2017-08-17 Thread Jun Nie
On 2017年08月10日 23:00, Leif Lindholm wrote: On Wed, Aug 09, 2017 at 10:12:39PM +0800, Jun Nie wrote: Add platform build system files, including *.dsc *.fdf *.dec Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- Platform/S

Re: [edk2] [PATCH 2/4] Platforms: Add ZX RTC driver for Sanchip SoC

2017-08-17 Thread Jun Nie
On 2017年08月10日 22:03, Leif Lindholm wrote: On Wed, Aug 09, 2017 at 10:12:37PM +0800, Jun Nie wrote: Runtime service is not supported yet. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Zx6718RealTimeClockLib/Zx296718RealTimeC

Re: [edk2] [PATCH 3/4] Platforms/zx: Add boot manager lib and entries

2017-08-17 Thread Jun Nie
On 2017年08月10日 22:41, Leif Lindholm wrote: On Wed, Aug 09, 2017 at 10:12:38PM +0800, Jun Nie wrote: Add boot manager lib and entries, including Android and Grub. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- .../Drivers/Zx296718

[edk2] [PATCH] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-08 Thread Jun Nie
Add alignment for ECSD data for DMA access. Otherwise the data is corrupted on Sanechips platform. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 de

[edk2] [PATCH] EmbeddedPkg/MmcDxe: Add non-DDR timing mode support

2017-06-08 Thread Jun Nie
Only DDR mode is support for 8bit mode currently. Add non-DDR case when configuring ECSD. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 5 - 1 file changed, 4 insertions

Re: [edk2] [PATCH] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-08 Thread Jun Nie
2017-06-08 22:55 GMT+08:00 Andrew Fish <af...@apple.com>: > > On Jun 8, 2017, at 1:18 AM, Jun Nie <jun@linaro.org> wrote: > > Add alignment for ECSD data for DMA access. Otherwise > the data is corrupted on Sanechips platform. > > Contributed-under: Tia

Re: [edk2] [PATCH] EmbeddedPkg/MmcDxe: Add non-DDR timing mode support

2017-06-08 Thread Jun Nie
2017-06-09 0:55 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Thu, Jun 08, 2017 at 04:39:44PM +0800, Haojian Zhuang wrote: >> On 2017/6/8 16:12, Jun Nie wrote: >> >Only DDR mode is support for 8bit mode currently. Add >> >non-DDR case when configuring

Re: [edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-12 Thread Jun Nie
2017-06-12 23:53 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Mon, Jun 12, 2017 at 09:59:28AM +0800, Jun Nie wrote: >> Add alignment for ECSD data for DMA access. Otherwise >> the data is corrupted on Sanechips platform. > > I never did see a re

Re: [edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-12 Thread Jun Nie
2017-06-13 12:01 GMT+08:00 Andrew Fish <af...@apple.com>: > >> On Jun 12, 2017, at 7:14 PM, Jun Nie <jun@linaro.org> wrote: >> >> 2017-06-12 23:53 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: >>> On Mon, Jun 12, 2017 at 09:59:28AM +0800,

[edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-11 Thread Jun Nie
Add alignment for ECSD data for DMA access. Otherwise the data is corrupted on Sanechips platform. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/Mmc.h | 1 + 1 file changed, 1 insertion(+) diff

[edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add non-DDR timing mode support

2017-06-11 Thread Jun Nie
Only DDR mode is support for 8bit mode currently. Add non-DDR case when configuring ECSD. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jun Nie <jun@linaro.org> --- EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 16 ++-- 1 file changed, 14 inse

Re: [edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-13 Thread Jun Nie
2017-06-13 17:18 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: > On Tue, Jun 13, 2017 at 10:14:34AM +0800, Jun Nie wrote: >> 2017-06-12 23:53 GMT+08:00 Leif Lindholm <leif.lindh...@linaro.org>: >> > On Mon, Jun 12, 2017 at 09:59:28AM +0800, Jun Nie wrote: >

Re: [edk2] [PATCH v2] EmbeddedPkg/MmcDxe: Add alignment for ECSD data

2017-06-12 Thread Jun Nie
2017-06-13 12:25 GMT+08:00 Andrew Fish <af...@apple.com>: > > On Jun 12, 2017, at 9:13 PM, Jun Nie <jun@linaro.org> wrote: > > 2017-06-13 12:01 GMT+08:00 Andrew Fish <af...@apple.com>: > > > On Jun 12, 2017, at 7:14 PM, Jun Nie <jun@linaro.org&g

Re: [edk2] [PATCH 1/2] MMC : Recieve response was missing after CMD12

2017-08-31 Thread Jun Nie
, there is response data for CMD12. It is reasonable to read it. Reviewed-by: Jun Nie <jun@linaro.org> ___ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel

Re: [edk2] [PATCH 2/2] SD : Updated CMD 6 implememtation.

2017-08-31 Thread Jun Nie
On 2017年08月31日 20:06, Leif Lindholm wrote: On Wed, Aug 30, 2017 at 07:50:59PM +0530, Meenakshi Aggarwal wrote: For setting high speed in SD card, First CMD 6 (Switch) is send to check if card supports High Speed and Second command is send to switch card to high speed mode. In current