SD card readable only up to certain boundary (samcop sdi controller)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux