atom feed56 messages in org.freebsd.freebsd-armRe: RFC: PCI SD host controller drive...
FromSent OnAttachments
Oleksandr TymoshenkoSep 27, 2008 2:25 pm 
Alexander MotinSep 27, 2008 2:42 pm 
Rui PauloSep 27, 2008 3:58 pm 
Carlos A. M. dos SantosSep 27, 2008 10:35 pm 
Carlos A. M. dos SantosSep 27, 2008 11:12 pm 
M. Warner LoshSep 28, 2008 2:29 am 
Alex KedaSep 28, 2008 3:29 am 
Alexander MotinSep 28, 2008 3:00 pm 
Zaphod BeeblebroxOct 5, 2008 10:25 pm 
Warner LoshOct 5, 2008 11:58 pm 
Thomas HurstOct 6, 2008 12:56 am 
Alexander MotinOct 6, 2008 2:12 am 
Thomas HurstOct 6, 2008 3:42 am 
Alexander MotinOct 6, 2008 3:49 am 
Bernd WalterOct 7, 2008 5:52 am 
Ilya BakulinOct 8, 2008 12:38 am 
Alexander MotinOct 8, 2008 12:54 am 
Ilya BakulinOct 8, 2008 1:57 am 
Alexander MotinOct 11, 2008 1:45 pm 
Ilya BakulinOct 12, 2008 6:11 am.diff
M. Warner LoshOct 13, 2008 10:02 am 
Alexander MotinOct 15, 2008 1:24 pm 
Stanislav SedovOct 15, 2008 1:45 pm 
Alexander MotinOct 16, 2008 3:05 am 
M. Warner LoshOct 16, 2008 7:16 am 
Alexander MotinOct 16, 2008 8:01 am 
M. Warner LoshOct 16, 2008 8:28 am 
Taku YAMAMOTOOct 16, 2008 9:39 am 
M. Warner LoshOct 16, 2008 9:49 am 
Alexander MotinOct 16, 2008 10:25 am 
Ilya BakulinOct 17, 2008 12:16 am 
Jacques FourieOct 18, 2008 1:02 am 
M. Warner LoshOct 18, 2008 8:56 am 
Jacques FourieOct 18, 2008 10:00 am 
Alexandre "Sunny" KovalenkoOct 27, 2008 2:48 pm 
Lars EngelsNov 6, 2008 6:30 am 
Alexander MotinNov 6, 2008 7:10 am 
Lars EngelsNov 6, 2008 7:37 am 
Alexander MotinNov 6, 2008 7:44 am 
Lars EngelsNov 6, 2008 8:24 am 
M. Warner LoshNov 6, 2008 9:10 am 
Lars EngelsNov 6, 2008 9:28 am 
M. Warner LoshNov 6, 2008 9:39 am 
Lars EngelsNov 6, 2008 10:05 am 
Alexander MotinNov 6, 2008 10:15 am 
M. Warner LoshNov 6, 2008 10:23 am 
Lars EngelsNov 6, 2008 10:39 am 
Alexander MotinNov 6, 2008 11:01 am 
Lars EngelsNov 6, 2008 11:04 am 
Alexander MotinNov 6, 2008 11:10 am 
Lars EngelsNov 6, 2008 11:23 am 
Lars EngelsNov 6, 2008 11:32 am 
Alexander MotinNov 6, 2008 12:02 pm 
Lars EngelsNov 6, 2008 1:05 pm 
Alexander MotinNov 6, 2008 2:12 pm 
Alexander MotinNov 6, 2008 2:47 pm 
Subject:Re: RFC: PCI SD host controller driver & mmc/mmcsd modules improvements
From:Alexander Motin (ma@FreeBSD.org)
Date:Nov 6, 2008 7:10:45 am
List:org.freebsd.freebsd-arm

Lars Engels wrote:

I just tried your latest version of mmc + sdhci but it does not detect any SD Card inserted:

sdhci0: <RICOH R5C822 SD> mem 0xe4003000-0xe40030ff irq 19 at device 6.3 on pci2

Nothing happens when I insert a card.

The hardware is: sdhci0@pci0:2:6:3: class=0x080500 card=0x30c3103c chip=0x08221180 rev=0x20 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'R5C832, R5C843 SDA Standard Compliant SD Host Controller' class = base peripheral none2@pci0:2:6:4: class=0x088000 card=0x30c3103c chip=0x08431180 rev=0x10 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'unknown Ricoh MMC Host Controller' class = base peripheral none3@pci0:2:6:5: class=0x088000 card=0x30c3103c chip=0x05921180 rev=0x10 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = '13871043 Ricoh Memory Stick Host Controller' class = base peripheral none4@pci0:2:6:6: class=0x088000 card=0x30c3103c chip=0x08521180 rev=0x10 hdr=0x00 vendor = 'Ricoh Company, Ltd.' device = 'unknown Ricoh xD-Picture Card Host Controller' class = base peripheral

Looks like there is two MMC/SD controllers (first two devices) in your chip while only one is detected as SD host controller. This thread looks related to your problem: http://list.drzeus.cx/pipermail/sdhci-devel/2007-September/002023.html

1. You may try to tune PCI configuration registers referred in that post. 2. Or (just an idea) you may try to power down unsupported devices with setting hw.pci.do_power_nodriver=3 into the device.hints. 3. Or (it works fine for my ENE CB714 chip) you may try to add 0x08431180 chip ID into the list of supported SD controllers like it is done for 0x08221180. They may be compatible enough.

If you try it, report please about results.