linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* mmc_spi broken?
@ 2016-04-23  8:37 Franz
  2016-05-02  8:47 ` Ulf Hansson
  0 siblings, 1 reply; 3+ messages in thread
From: Franz @ 2016-04-23  8:37 UTC (permalink / raw)
  To: linux-mmc

I am trying to get an SD Card to work via SPI interface. I am using a
RaspberryPI Compute Module with kernel Version 4.4, but I can't get it
to work properly. I've tried it with the native spi interface as well as
with the spi aux interface and also with a gpio bitbang spi interface.
It's always the same error:
 
[ 2639.558282] mmc1: new SD card on SPI
[ 2639.566325] mmcblk1: mmc1:0000 SD256 243 MiB 
[ 2639.646120]  mmcblk1: p1 < >
[ 2639.833759] mmcblk1: error -38 sending status command, retrying
[ 2639.839973] mmcblk1: error -38 sending status command, retrying
[ 2639.846170] mmcblk1: error -38 sending status command, aborting
[ 2639.853406] mmc1: SPI card removed
[ 2640.240223] mmc1: host does not support reading read-only switch,
assuming write-enable
[ 2640.248328] mmc1: new SD card on SPI
[ 2640.256373] mmcblk1: mmc1:0000 SD256 243 MiB 
[ 2640.336068]  mmcblk1: p1 < >
[ 2640.523545] mmcblk1: error -38 sending status command, retrying
[ 2640.529757] mmcblk1: error -38 sending status command, retrying
[ 2640.535893] mmcblk1: error -38 sending status command, aborting
[ 2640.543129] mmc1: SPI card removed
[ 2640.930176] mmc1: host does not support reading read-only switch,
assuming write-enable
[ 2640.938313] mmc1: new SD card on SPI
[ 2640.946679] mmcblk1: mmc1:0000 SD256 243 MiB 
[ 2641.026395]  mmcblk1: p1 < >
[ 2641.213996] mmcblk1: error -38 sending status command, retrying
[ 2641.220208] mmcblk1: error -38 sending status command, retrying
[ 2641.226344] mmcblk1: error -38 sending status command, aborting
[ 2641.233435] mmc1: SPI card removed
[ 2641.620177] mmc1: host does not support reading read-only switch,
assuming write-enable
[ 2641.628277] mmc1: new SD card on SPI
[ 2641.636530] mmcblk1: mmc1:0000 SD256 243 MiB 
[ 2641.716114]  mmcblk1: p1 < >
[ 2641.903636] mmcblk1: error -38 sending status command, retrying
[ 2641.909852] mmcblk1: error -38 sending status command, retrying
[ 2641.915987] mmcblk1: error -38 sending status command, aborting
[ 2641.923056] mmc1: SPI card removed
 
I don't have any RO or CD pins configured, just plain SPI interface
directly to the SD Card. I've tried it with different SD cards with
differen capacities. It's always the same error. The above messages
appear in a endless loop.The last time I've used the mmc_spi driver was
kernel 3.8 I think with this version everything worked without any
problems.  Does anyone know how to fix this?
 
Thanks,
Franz
 


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

end of thread, other threads:[~2016-05-02  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-23  8:37 mmc_spi broken? Franz
2016-05-02  8:47 ` Ulf Hansson
2016-05-02  9:17   ` Franz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).