From mboxrd@z Thu Jan 1 00:00:00 1970 From: aking_jin Date: Fri, 13 Jun 2014 17:13:27 +0800 Subject: [U-Boot] pxa310 SDHC support. In-Reply-To: <201405271120.19377.marex@denx.de> References: <5382F29E.8000105@163.com> <201405261615.55356.marex@denx.de> <5383E218.4060708@163.com> <201405271120.19377.marex@denx.de> Message-ID: <539AC0B7.3070301@163.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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? > > Best regards, > Marek Vasut Best Regards, Aking jin