[U-Boot] pxa310 SDHC support.

Marek Vasut marex at denx.de
Fri Jun 13 12:32:46 CEST 2014


On Friday, June 13, 2014 at 11:13:27 AM, aking_jin wrote:
> On 2014-5-27 17:20, Marek Vasut wrote:
> > On Tuesday, May 27, 2014 at 02:53:44 AM, aking_jin wrote:
> >> On 2014/5/26 Mon 22:15, Marek Vasut wrote:
> >>> On Monday, May 26, 2014 at 03:55:58 PM, aking wrote:
> >>> 
> >>> [...]
> >>> 
> >>>>>>> The PXA27x controller works even with SDXC , that is tested. I
> >>>>>>> suspect there might be some change in the PXA3xx controller, but I
> >>>>>>> don't really know for sure. You'd have to check.
> >>>>>> 
> >>>>>> Thank you for your answer.  are you using SD mode or SPI Mode? which
> >>>>>> version are you using?
> >>>>> 
> >>>>> I believe the pxa_mmc_gen.c is what needs to be used. There is no
> >>>>> other PXA MMC driver in U-Boot mainline. I now noticed it has some
> >>>>> basic monahans (pxa3xx) support too.
> >>>>> 
> >>>>            Could you give out a log with MACRO CONFIG_MMC_TRACE on
> >>>>            your
> >>>> 
> >>>> pxa27x device ? any initialize ,read ,write, erase operation?
> >>>> 
> >>>>        Sorry for disturb you.
> >>> 
> >>> No, I cannot, sorry. I don't have the PXA27x device handy.
> >> 
> >> Thanks , are you using SPI mode or SD mode with your SDXC card? This is
> >> Important.
> > 
> > SD mode.
> 
>      In recently test,  the mmc clock seemed didn't start successfully
> after stop mmc clock.  if the function pxa_mmc_stop_clock was NOT used.
> the data sent to sdcard was corrupt. That's annoyed.
>      Could you provide a way to solve the problem?

First, please explain properly how to replicate this issue. Second, patch is 
always welcome.

Best regards,
Marek Vasut


More information about the U-Boot mailing list