From: Milan Plzik <milan.plzik@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: drzeus-mmc@drzeus.cx
Subject: SD card readable only up to certain boundary (samcop sdi controller)
Date: Thu, 05 Jul 2007 23:17:24 +0200 [thread overview]
Message-ID: <1183670244.9213.81.camel@localhost> (raw)
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
next reply other threads:[~2007-07-05 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-05 21:17 Milan Plzik [this message]
2007-07-06 13:01 ` SD card readable only up to certain boundary (samcop sdi controller) Pierre Ossman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1183670244.9213.81.camel@localhost \
--to=milan.plzik@gmail.com \
--cc=drzeus-mmc@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox