Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ryan Harkin
On 12 Oct 2016 00:33, "Haojian Zhuang" wrote: > > On 12 October 2016 at 01:03, Ryan Harkin wrote: > > On 11 October 2016 at 17:28, Ard Biesheuvel wrote: > >> On 11 October 2016 at 17:27, Ryan Harkin wrote: > >>> On 11 October 2016 at 17:24, Ard Biesheuvel wrote: > Hi Ryan, > > O

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Haojian Zhuang
On 12 October 2016 at 01:03, Ryan Harkin wrote: > On 11 October 2016 at 17:28, Ard Biesheuvel wrote: >> On 11 October 2016 at 17:27, Ryan Harkin wrote: >>> On 11 October 2016 at 17:24, Ard Biesheuvel >>> wrote: Hi Ryan, On 11 October 2016 at 17:22, Ryan Harkin wrote: [...]

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ryan Harkin
On 11 October 2016 at 17:28, Ard Biesheuvel wrote: > On 11 October 2016 at 17:27, Ryan Harkin wrote: >> On 11 October 2016 at 17:24, Ard Biesheuvel >> wrote: >>> Hi Ryan, >>> >>> On 11 October 2016 at 17:22, Ryan Harkin wrote: >>> [...] And OpenPlatformPkg was taken from my repo, which on

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ard Biesheuvel
On 11 October 2016 at 17:27, Ryan Harkin wrote: > On 11 October 2016 at 17:24, Ard Biesheuvel wrote: >> Hi Ryan, >> >> On 11 October 2016 at 17:22, Ryan Harkin wrote: >> [...] >>> And OpenPlatformPkg was taken from my repo, which only carries one >>> patch essential for TC2 booting: >>> c22a66

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ryan Harkin
On 11 October 2016 at 17:24, Ard Biesheuvel wrote: > Hi Ryan, > > On 11 October 2016 at 17:22, Ryan Harkin wrote: > [...] >> And OpenPlatformPkg was taken from my repo, which only carries one >> patch essential for TC2 booting: >> c22a665 2016-01-29 HACK: Platforms/ARM: TC2: set >> gArmTokenS

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ard Biesheuvel
Hi Ryan, On 11 October 2016 at 17:22, Ryan Harkin wrote: [...] > And OpenPlatformPkg was taken from my repo, which only carries one > patch essential for TC2 booting: > c22a665 2016-01-29 HACK: Platforms/ARM: TC2: set > gArmTokenSpaceGuid.PcdNormalMemoryNonshareableOverride TRUE [Ryan > Hark

Re: [edk2] [PATCH v3 00/10] enhance mmc

2016-10-11 Thread Ryan Harkin
Hi Haojian, So I've tested this v3 patchset and while it's much improved, I still get hangs on TC2. The good news, MMC identification and driver initialisation succeeds in this version and the board boots a bit further. Unfortunately, with a RELEASE build, the board hangs at a later point: when

[edk2] [PATCH v3 00/10] enhance mmc

2016-09-21 Thread Haojian Zhuang
v3: * Fix PL180 hang because of CMD6 & ACMD51 not supported. v2: * Fix print error with missing parameter. * Change CMD51 to ACMD51. * Add the protection after CMD55 for SD. If there's no response of CMD55, skip to send ACMD51. v1: * Wait OCR busy bit free according to eMMC spec.