Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Nov 2008 00:48:14 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        lars.engels@0x20.net
Cc:        freebsd-arm@freebsd.org, freebsd-current@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>, freebsd-mobile@freebsd.org
Subject:   Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements
Message-ID:  <4913742E.9040801@FreeBSD.org>
In-Reply-To: <20081106.101047.163264510.imp@bsdimp.com>
References:  <49130918.5030904@FreeBSD.org>	<20081106163729.clcw2eulgk0k4w0c@0x20.net>	<49131109.2020601@FreeBSD.org> <20081106.101047.163264510.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
M. Warner Losh wrote:
> In message: <49131109.2020601@FreeBSD.org>
>             Alexander Motin <mav@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4913742E.9040801>