Hi Haojian, The good news is this series works on the FVP models. The bad news is it hangs on boot for Versatile Express TC2.
I realise you won't have a TC2, so I'll have a look to see if I can work out why it's hanging. Unfortunately I'm getting ready for the 16.03 release at the moment, so I probably won't be able to look at it until late next week at the earliest, assuming the release goes OK. Cheers, Ryan. On 22 March 2016 at 12:48, Haojian Zhuang <haojian.zhu...@linaro.org> wrote: > Changelog: > v2: > * Fix print error with missing parameter. > * Change CMD51 to ACMD51. > * Add the protection after CMD55 for SD. If there's no reponse > of CMD55, skip to send ACMD51. > > v1: > * Wait OCR busy bit free according to eMMC spec. > * Define ECSD structure. > * Add interface to set IO bus width and speed. > * Support to access multiple blocks. > > Haojian Zhuang (9): > MmcDxe: wait OCR busy bit free > MmcDxe: move ECSD into CardInfo structure > MmcDxe: add SPEC_VERS field in CSD structure > MmcDxe: add interface to change io width and speed > MmcDxe: declare ECSD structure > MmcDxe: set io bus width before reading EXTCSD > MmcDxe: Fix uninitialized mediaid for SD > MmcDxe: set iospeed and bus width in SD stack > MmcDxe: expand to support multiple blocks > > EmbeddedPkg/Include/Protocol/MmcHost.h | 29 ++ > EmbeddedPkg/Universal/MmcDxe/Mmc.h | 176 +++++++++++- > EmbeddedPkg/Universal/MmcDxe/MmcBlockIo.c | 175 ++++++++---- > EmbeddedPkg/Universal/MmcDxe/MmcIdentification.c | 350 > +++++++++++++++++++++-- > 4 files changed, 645 insertions(+), 85 deletions(-) > > -- > 1.9.1 > _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel