RFC: PCI SD host controller driver & mmc/mmcsd modules improvements

Alexander Motin mav at FreeBSD.org
Thu Nov 6 14:48:17 PST 2008


M. Warner Losh wrote:
> In message: <49131109.2020601 at FreeBSD.org>
>             Alexander Motin <mav at FreeBSD.org> writes:
> : Lars Engels wrote:
> : > 1. How can I tune the PCI configuration? With pciconf -w or so?
> : 
> : Yes. `pciconf -r -b device addr` to read and `pciconf -w -b device addr
> : value` to write.
> 
> I have changes that almost make my TI card do it.
> 
> : > 2. Unfortunately the sysctl did not change a thing with regard to the
> : > Card reader.
> : 
> : Have you added it to the loader.conf and rebooted?
> : 
> : > 3. I added the chip ID and the second device is now recognized as a
> : > sdhci device but still does not see any card inserted:
> : > 
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify base
> : > clock frequency.
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't specify
> : > timeout clock frequency.
> : > Nov  6 16:32:20 NB0117232 kernel: sdhci1: Hardware doesn't report any
> : > support voltages.
> : 
> : Looks like it is not enough compatible, or even not compatible.
> 
> Chances are good that you need to the workaround to turn on these
> things.


Here is some datasheet I have found for R5C832, but it looks not too 
detailed to say something for sure: 
http://www.aeneas.com.cn/PDF/Ricoh/2005/R5C832E1%5B1%5D.00.pdf

At least it says that it's MMC interface is single-bit, while standard 
SD host controller has 4 bit's bus.

-- 
Alexander Motin


More information about the freebsd-mobile mailing list