mpc885 PCMCIA question
Ryan Esty
resty at necii.com
Sat Sep 23 00:18:23 EST 2006
I was wondering if anyone on this list has had any experience with running PCMCIA on a recent kernel with a mpc885ads board? We have been using 2.6.18-rc6 and haven't been having a lot of luck with getting PCMCIA to function. We can use pccardctl from pcmciautils and see our compact flash there but the block device doesn't show up in /proc/devices and we can't mount the device. It looks like there is a problem between ide-cs and pcmcia because of what pccardctrl info turns up. We also have a 2.4 kernel from Arabella that works so we know it isn't a hardware problem. Does anyone have any suggestions on what other things we should look into? Below is the kernel boot up with pcmcia ide relavence and pccardctl, /proc/devices and dump_cis. We compiled everything into the kernel so there are no modules for ide-cs or any of the pcmcia code. Sorry if this is too PCMCIA specific I was going to post on lists.infradead.org but the list seems to be down. Any help would be appreciated.
###kernel boot sequence
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
PCMCIA slot A: phys mem e0000000...ec000000 (size 0c000000)
Card ID: STI Flash 7.2.0
Fixed Disk Card
IDE interface
[silicon] [unique] [single] [sleep] [standby] [idle] [low power]
ide-floppy driver 0.99.newide
m8xx_pcmcia: Version 0.06, Aug 2005
m8xx_pcmcia: MPC885ADS using SLOT_A with IRQ 13.
[snip...]
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
###pccardctl info
PRODID_1="STI"
PRODID_2="Flash 7.2.0"
PRODID_3=""
PRODID_4=""
MANFID=014d,0100
FUNCID=4
###pccardctl ls
Socket 0 Bridge: [m8xx-pcmcia] (bus ID: m8xx-pcmcia.0)
Socket 0 Device 0: [-- no driver --] (bus ID: 0.0)
###/proc/devices
Character devices:
1 mem
5 /dev/tty
5 /dev/console
5 /dev/ptmx
10 misc
128 ptm
136 pts
204 ttyCPM
249 dsxsram
250 dsxcpu
251 dsxdsp
252 dsxwd
254 rtc
Block devices:
1 ramdisk
###dump_cis
Socket 0
offset 0x02, tuple 0x01, link 0x03
d9 01 ff
dev_info
fn_specific 250ns, 2kb
offset 0x07, tuple 0x1c, link 0x04
03 d9 01 ff
invalid tuple
offset 0x0d, tuple 0x18, link 0x02
df 01
common_jedec 0xdf 0x01
offset 0x11, tuple 0x20, link 0x04
4d 01 00 01
manfid 0x014d, 0x0100
offset 0x17, tuple 0x15, link 0x13
04 01 53 54 49 00 46 6c 61 73 68 20 37 2e 32 2e
30 00 ff
vers_1 4.1, "STI", "Flash 7.2.0"
offset 0x2c, tuple 0x21, link 0x02
04 01
funcid fixed_disk [post]
offset 0x30, tuple 0x22, link 0x02
01 01
disk_interface [ide]
offset 0x34, tuple 0x22, link 0x03
02 0c 0f
disk_features [silicon] [unique] [single]
[sleep] [standby] [idle] [low power]
offset 0x39, tuple 0x1a, link 0x05
01 03 00 02 0f
config base 0x0200 mask 0x000f last_index 0x03
offset 0x40, tuple 0x1b, link 0x08
c0 c0 a1 01 55 08 00 20
cftable_entry 0x00 [default]
[rdybsy] [mwait] [pwrdown]
Vcc Vnom 5V
memory 0x0000-0x07ff @ 0x0000
offset 0x4a, tuple 0x1b, link 0x06
00 01 21 b5 1e 4d
cftable_entry 0x00
Vcc Vnom 3300mV Ipeak 45mA
offset 0x52, tuple 0x1b, link 0x0a
c1 41 99 01 55 64 f0 ff ff 20
cftable_entry 0x01 [default]
[rdybsy] [pwrdown]
Vcc Vnom 5V
io 0x0000-0x000f [lines=4] [8bit] [16bit]
irq mask 0xffff [level] [pulse] [shared]
offset 0x5e, tuple 0x1b, link 0x06
01 01 21 b5 1e 4d
cftable_entry 0x01
Vcc Vnom 3300mV Ipeak 45mA
offset 0x66, tuple 0x1b, link 0x0f
c2 41 99 01 55 ea 61 f0 01 07 f6 03 01 ee 20
cftable_entry 0x02 [default]
[rdybsy] [pwrdown]
Vcc Vnom 5V
io 0x01f0-0x01f7, 0x03f6-0x03f7 [lines=10] [8bit] [16bit] [range]
irq 14 [level] [pulse] [shared]
offset 0x77, tuple 0x1b, link 0x06
02 01 21 b5 1e 4d
cftable_entry 0x02
Vcc Vnom 3300mV Ipeak 45mA
offset 0x7f, tuple 0x1b, link 0x0f
c3 41 99 01 55 ea 61 70 01 07 76 03 01 ee 20
cftable_entry 0x03 [default]
[rdybsy] [pwrdown]
Vcc Vnom 5V
io 0x0170-0x0177, 0x0376-0x0377 [lines=10] [8bit] [16bit] [range]
irq 14 [level] [pulse] [shared]
offset 0x90, tuple 0x1b, link 0x06
03 01 21 b5 1e 4d
cftable_entry 0x03
Vcc Vnom 3300mV Ipeak 45mA
offset 0x98, tuple 0x14, link 0x00
no_long_link
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20060922/ecebaa4c/attachment.htm
More information about the Linuxppc-embedded
mailing list