|
|
|
Fwd: AT91_cf Sandisk CIS invalid reads (was Re: AT91RM9200 CF problem) | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
Hello, I'am using 2.6.14 with pcmciautils-0.14 pccardct on a AT91RM9200 based board and I can't read a Flash memory card on card insertion my log reports: ---- cs: pcmcia_socket0: send_event(event 4, pri 0, callback 0xbf011cf8) ds: ds_event(0x000004, 0, 0xc04d9c00) ds: ds_event : Card insertion propagation cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x0, 2) cs: pcmcia_socket0: pcmcia_read_cis_mem attrib mem at91_cf: At91_cf set_mem_map<7> cs: pcmcia_socket0: 0x52 0x07 0x72 0xc0 ... cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x9, 2) cs: pcmcia_socket0: pcmcia_read_cis_mem attrib mem at91_cf: At91_cf set_mem_map<7> cs: pcmcia_socket0: 0x52 0x07 0x00 0x00 ... cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x12, 2) cs: pcmcia_socket0: pcmcia_read_cis_mem attrib mem at91_cf: At91_cf set_mem_map<7> cs: pcmcia_socket0: 0x52 0x07 0x00 0x00 ... cs: pcmcia_socket0: pcmcia_read_cis_mem(1, 0x1b, 2) cs: pcmcia_socket0: pcmcia_read_cis_mem attrib mem at91_cf: At91_cf set_mem_map<7> [...] at91_cf: At91_cf set_mem_map<7> cs: pcmcia_socket0: 0x52 0x00 0x00 0x00 ... ds: invalid CIS or invalid resources (#tuples=0,chains?=0) ---------------- What I know now is that it starts reading a address 0x0 of CIS and it is the good start addr. for 16bits Flash cards. I've seen theses read transactions on an analyser and signals were waving as described in standard specification. So it is, actually, reading the card at the correct offset in the right memory (attrib). Using dump_cis on another board (with same card) gives me correct values as expected. It starts with reading @ 0x0 and retrieves 01 03 4b ff then @ 0x5 it retrieves 1c 05 00 00 and so on @ 0xc with 18 02 00 00 ...etc. As supposed tuples values changes so why it keeps on reading 0x52 0x00 everywhere is looking at ? Please, any ideas that would help ? mathdesc ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Linux ARM] [Linux ARM MSM] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Asterisk Internet PBX] [Linux API]
![]() |
![]() |