public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: David Haworth <dave@fen-net.de>
To: amit mahadik <amitmaddy@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>, linux-mmc@vger.kernel.org
Subject: Re: How to print CMD18 read data
Date: Wed, 1 Feb 2017 19:00:21 +0100	[thread overview]
Message-ID: <20170201180021.GA3189@fen-net.de> (raw)
In-Reply-To: <CAMGZvfLeERvi5eavPc4gcoJr2dOpAe7XSe+zs9K9yOKv=eOoow@mail.gmail.com>

Hi Amit,

I'm trying to access an SD card/reader using SPI on a
Raspberry Pi. I've had a little success - some of my cards
work, some don't. I get errors from time to time, but they
appear harmless. I seem to have cured a spurious timeout
problem.

I'm using pr_info() to dump debug messages into /var/log/syslog.

Maybe we can compare notes and come up with a solution.
Contact me off-list of you prefer.

Cheers,
Dave


On Wed, Feb 01, 2017 at 05:46:34PM +0530, amit mahadik wrote:
> Hi Jaehoon,
>                       I tried the use_spi_crc=0 option too. However,
> if the data read is incorrect the block layer has no way of knowing
> the contents of partition table. That is the reason it fails to detect
> partitions of the connected SDMMC card.
> 
> Regards,
> Amit.

-- 
David Haworth
Baiersdorf, Germany
dave@fen-net.de                PGP key at https://keyserver.pgp.com/
http://thelancashireman.org

      reply	other threads:[~2017-02-01 18:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170201072351epcas2p4b40fc91e204153ce57d510622ab021cc@epcas2p4.samsung.com>
2017-02-01  7:23 ` How to print CMD18 read data amit mahadik
2017-02-01  8:08   ` Jaehoon Chung
2017-02-01  8:48     ` amit mahadik
2017-02-01 11:43       ` Jaehoon Chung
2017-02-01 12:16         ` amit mahadik
2017-02-01 18:00           ` David Haworth [this message]

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=20170201180021.GA3189@fen-net.de \
    --to=dave@fen-net.de \
    --cc=amitmaddy@gmail.com \
    --cc=jh80.chung@samsung.com \
    --cc=linux-mmc@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