public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* SD card readable only up to certain boundary (samcop sdi controller)
@ 2007-07-05 21:17 Milan Plzik
  2007-07-06 13:01 ` Pierre Ossman
  0 siblings, 1 reply; 2+ messages in thread
From: Milan Plzik @ 2007-07-05 21:17 UTC (permalink / raw)
  To: linux-kernel; +Cc: drzeus-mmc

  Hello,

  I'm trying to get samcop sdi controller (found e.g. in h5000 ipaqs)
working with Apacer 2GB SD card. Samcop sdi, nor samcop in general is
supported in vanilla kernel, but I'm not sure what could be wrong (I
suspect either mmc_block or sdi driver), so I think lkml might be the
right place.

  My problem is that I can access only small portion of SD card --
roughly 224MB (in 512byte sectors, the boundary is 0x70000, inclusive).
All reads/writes beyond this address cause errors like timeouts, fifo
underrun, etc. (MMC errors 1, 3 and 4). DMA engine, which reads received
data seems to be 'frozen' at incomplete transfer (counter of remaining
blocks to be transferred is stopped at non-zero value, although
something seems to be transferred, but that might not be useful data).
Kernel version is 2.6.21, with handhelds.org patches.

  The SD card works correctly with other devices, like PCMCIA card
readers. Also samcop sdi was able to fully read 512MB card. I'm not
really sure what could cause behavior like this and I'm open to any
suggestion.

  Also, please Cc me, as I'm not subscribed to linux-kernel... .

  Thank you,

	Milan Plzik


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-06 13:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05 21:17 SD card readable only up to certain boundary (samcop sdi controller) Milan Plzik
2007-07-06 13:01 ` Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox