* 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
* Re: SD card readable only up to certain boundary (samcop sdi controller)
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
0 siblings, 0 replies; 2+ messages in thread
From: Pierre Ossman @ 2007-07-06 13:01 UTC (permalink / raw)
To: Milan Plzik; +Cc: linux-kernel
On Thu, 05 Jul 2007 23:17:24 +0200
Milan Plzik <milan.plzik@gmail.com> wrote:
>
> 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.
>
No idea, but as it works well in other devices and I've not seen
anything reports resembling this, I'd guess the driver/hw is buggy. But
as I haven't seen said driver I cannot guess what the problem might be.
Rgds
--
-- Pierre Ossman
Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
^ 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