2017-02-09 21:44 GMT+08:00 Jun Nie :
> 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
> your time!
>
> 1. How to
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
---
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a
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
---
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
2017-06-09 0:55 GMT+08:00 Leif Lindholm :
> 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 ECSD.
>> >
>>
2017-06-08 22:55 GMT+08:00 Andrew Fish :
>
> On Jun 8, 2017, at 1:18 AM, Jun Nie wrote:
>
> Add alignment for ECSD data for DMA access. Otherwise
> the data is corrupted on Sanechips platform.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
>
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
---
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/EmbeddedPkg/Universal
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
---
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 16 ++--
1 file changed, 14 insertions(+), 2 deletions
2017-06-12 23:53 GMT+08:00 Leif Lindholm :
> 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 reply to my proposed solution, and the below
2017-06-13 12:01 GMT+08:00 Andrew Fish :
>
>> On Jun 12, 2017, at 7:14 PM, Jun Nie wrote:
>>
>> 2017-06-12 23:53 GMT+08:00 Leif Lindholm :
>>> On Mon, Jun 12, 2017 at 09:59:28AM +0800, Jun Nie wrote:
>>>> Add alignment for ECSD data for DMA acces
2017-06-13 12:25 GMT+08:00 Andrew Fish :
>
> On Jun 12, 2017, at 9:13 PM, Jun Nie wrote:
>
> 2017-06-13 12:01 GMT+08:00 Andrew Fish :
>
>
> On Jun 12, 2017, at 7:14 PM, Jun Nie wrote:
>
> 2017-06-12 23:53 GMT+08:00 Leif Lindholm :
>
> On Mon, Jun 12, 2017 a
2017-06-13 17:18 GMT+08:00 Leif Lindholm :
> On Tue, Jun 13, 2017 at 10:14:34AM +0800, Jun Nie wrote:
>> 2017-06-12 23:53 GMT+08:00 Leif Lindholm :
>> > On Mon, Jun 12, 2017 at 09:59:28AM +0800, Jun Nie wrote:
>> >> Add alignment for ECSD data for DMA access. Otherwi
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
---
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/EmbeddedPkg
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
---
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +-
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 11 ---
2
2017-06-29 20:09 GMT+08:00 Leif Lindholm :
> 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 used by the spec, so that is
> pr
2017-06-29 19:11 GMT+08:00 Leif Lindholm :
> On Thu, Jun 29, 2017 at 05:03:50PM +0800, Jun Nie wrote:
>> ExtCSD structure may be read via DMA. So align it to
>> page to avoid data corruption.
>
> So, this is possibly a valid thing to do, but this is not what you
> said
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
---
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +-
EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 19
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 Linu
== 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
>> Nie
>> Sent: Friday, Ju
od 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 macro in platform.dsc to enable
>> un
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
---
ArmPlatformPkg/Include/Drivers
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
---
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 54
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
---
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 4
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf | 1 +
EmbeddedPkg/EmbeddedPkg.dec
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
---
EmbeddedPkg/Universal/MmcDxe/Mmc.c | 3 +++
EmbeddedPkg/Universal/MmcDxe/Mmc.h | 2 +-
EmbeddedPkg
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
---
ArmPlatformPkg/ArmPlatformPkg.dec | 1 +
ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | 1 +
ArmPlatformPkg
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
---
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 4
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.inf | 1 +
EmbeddedPkg/EmbeddedPkg.dec
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
---
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 50
The device path specifies where to load android boot image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
EmbeddedPkg/EmbeddedPkg.dec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec
index
ement 1.0
Signed-off-by: Jun Nie
---
.../Application/AndroidBoot/AndroidBootApp.c | 129
.../Application/AndroidBoot/AndroidBootApp.inf | 64
EmbeddedPkg/Include/Library/AbootimgLib.h | 65
EmbeddedPkg/Include/Protocol/Abootimg.h| 47 +++
Embedd
2017-07-06 0:36 GMT+08:00 Leif Lindholm :
> 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 Contribution Agreement 1.
2017-07-06 21:29 GMT+08:00 Jun Nie :
> The device path specifies where to load android boot image.
>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Jun Nie
> ---
> EmbeddedPkg/EmbeddedPkg.dec | 2 ++
> 1 file changed, 2 insertions(+)
>
&g
2017-07-06 23:22 GMT+08:00 Leif Lindholm :
> 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 improvement in readability - but
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
---
ArmPlatformPkg/ArmPlatformPkg.dec | 1 +
ArmPlatformPkg/Drivers/PL011Uart/PL011Uart.inf | 1 +
ArmPlatformPkg
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
---
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmc.h | 6 +
EmbeddedPkg/Drivers/DwEmmcDxe/DwEmmcDxe.c | 42
2017-07-06 21:29 GMT+08:00 Jun Nie :
> 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 is not found a
2017-07-19 0:04 GMT+08:00 Leif Lindholm :
> 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 a storage
> device. Please expla
94683/
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
---
ArmPkg/Include/Library/BdsLib.h| 3 +
ArmPkg/Library/B
The device path specifies where to load android boot image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
EmbeddedPkg/EmbeddedPkg.dec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec
index
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 l
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
2017-07-28 22:52 GMT+08:00 Leif Lindholm :
> 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:09, Leif Lindholm wrote:
>> &
Move IS_DEVICE_PATH_NODE into header to share it.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
ArmPkg/Include/Library/BdsLib.h | 3 +++
ArmPkg/Library/BdsLib/BdsFilePath.c | 3 ---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/ArmPkg
The device path specifies where to load android boot image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
EmbeddedPkg/EmbeddedPkg.dec | 2 ++
1 file changed, 2 insertions(+)
diff --git a/EmbeddedPkg/EmbeddedPkg.dec b/EmbeddedPkg/EmbeddedPkg.dec
index
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
---
.../Application/AndroidFastboot/AndroidBootImg.c | 35 +++
.../AndroidFastboot/AndroidFastbootApp.h
eader.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
.../Application/AndroidBoot/AndroidBootApp.c | 140 +++
.../Application/AndroidBoot/AndroidBootApp.inf | 64 +++
EmbeddedPkg/Include/Library/AndroidBootImgLib.h| 17 +
EmbeddedPkg/In
> /
> 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
>> ---
>>
2017-08-01 23:50 GMT+08:00 Leif Lindholm :
> 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.
>> https://patches.linaro.o
94683/
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
.../Application/AndroidBoot/AndroidBootApp.c | 140 ++
.../Application/AndroidBoot/AndroidBootApp.inf | 64 +++
EmbeddedPkg/Include/Library/AndroidBootImgLib.h| 13 +
EmbeddedPkg/In
The device path specifies where to load android boot image.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
EmbeddedPkg/EmbeddedPkg.dec | 2 ++
EmbeddedPkg/EmbeddedPkg.dsc | 2 ++
2 files changed, 4 insertions(+)
diff --git a/EmbeddedPkg/EmbeddedPkg.dec b
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
---
.../Application/AndroidFastboot/AndroidBootImg.c | 35 ++---
.../AndroidFastboot/AndroidFastbootApp.h
94683/
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
.../Application/AndroidBoot/AndroidBootApp.c | 140 ++
.../Application/AndroidBoot/AndroidBootApp.inf | 64 +++
EmbeddedPkg/EmbeddedPkg.dec| 2 +
Embedd
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
---
.../Application/AndroidFastboot/AndroidBootImg.c | 35 ++---
.../AndroidFastboot/AndroidFastbootApp.h
ff-by: Hao Wu
Reviewed-by: Jun Nie
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
94683/
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jun Nie
---
.../Application/AndroidBoot/AndroidBootApp.c | 140 +++
.../Application/AndroidBoot/AndroidBootApp.inf | 64 +++
EmbeddedPkg/EmbeddedPkg.dec| 2 +
Embedd
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
---
.../Library/Zx296718EvbLib/Zx296718Evb.c | 132
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
---
.../Zx6718RealTimeClockLib/Zx296718RealTimeClock.c | 376
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
---
.../Drivers/Zx296718EvbDxe/Zx296718EvbDxe.c
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
---
Platform/Sanchip/Zx296718Evb/Zx296718Evb.dec
is response data for CMD12. It is reasonable to read it.
Reviewed-by: Jun Nie
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
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 inplementa
59 matches
Mail list logo