From mboxrd@z Thu Jan 1 00:00:00 1970 From: amitmahadik35@yahoo.com (Amit Mahadik) Date: Wed, 4 Jan 2017 06:34:00 +0000 (UTC) Subject: [MMC_SPI] CMD18 error error -84 transferring data References: <699205953.6532649.1483511640965.ref@mail.yahoo.com> Message-ID: <699205953.6532649.1483511640965@mail.yahoo.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Hello, I am using ARM (CortexA9)development board which has SPI controller running at 5MHz. I want to interface MMC card on SPI bus. I have made changes to my board.c file to include the mmc_spi driver and mentioned the Chip select, mode (MODE 0) and frequency of operation (started with 40kHz). The initial card detection goes well. However, there are CRC errors when the block layer tries to read the partition table. I have attached log for reference. The card gets detected on Linux/Windows PC. The card is formatted with DOS partition (single partition). Linus kernel Version 4.4.16 Please help me regarding this issue. Regards, Amit. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: mmc_log.txt Url: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170104/e762d177/attachment.txt