UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 69995

2017.1-2017.3 Zynq UltraScale+ MPSoC: Linux mmcblk0 error -110 sending stop command, original cmd response 0x900, card status 0xe00 when using Swissbit SD card

Description

The Swissbit S-40u and S-450u series cannot be used with PetaLinux images. 

Mounting a partition generates data transaction errors:

[ 46.287766] mmcblk0: error -110 transferring data, sector 1952256, nr 8, cmd response 0x900, card status 0xc00
[ 56.810947] mmc0: Timeout waiting for hardware interrupt.
[ 56.816304] sdhci: =========== REGISTER DUMP (mmc0)===========
[ 56.822121] sdhci: Sys addr: 0x00000006 | Version: 0x00001002
[ 56.827936] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000000
[ 56.835600] sdhci: Argument: 0x00000000 | Trn mode: 0x00000023
[ 56.843251] sdhci: Present: 0x01ef0006 | Host ctl: 0x0000001f
[ 56.850917] sdhci: Power: 0x0000000f | Blk gap: 0x00000080
[ 56.858553] sdhci: Wake-up: 0x00000000 | Clock: 0x00000207
[ 56.866152] sdhci: Timeout: 0x0000000e | Int stat: 0x00000000
[ 56.873731] sdhci: Int enab: 0x02ff008b | Sig enab: 0x02ff008b
[ 56.881332] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 56.888961] sdhci: Caps: 0x35ecc881 | Caps_1: 0x00002007
[ 56.896609] sdhci: Cmd: 0x00000c1b | Max curr: 0x00000000
[ 56.904278] sdhci: Host ctl2: 0x00000000
[ 56.910050] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x000000007804020c
[ 56.918481] sdhci: ===========================================
[ 56.928338] mmcblk0: error -110 sending stop command, original cmd response 0x900, card status 0xe00

Solution

There is a known issue with these particular Swissbit SD card models (micro SD form) which cannot be used in highspeed mode with the Linux driver.

Disabling the high-speed mode from the device-tree node can solve the issue by limiting the clock frequency and therefore the performance of the SDIO interface.

Use the "broken-mmc-highspeed" property in the SDIO node within the device-tree <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi as a work-around.

sdhci@ff170000 {
    broken-mmc-highspeed;
};
AR# 69995
Date 10/18/2017
Status Active
Type Known Issues
Devices
  • Zynq UltraScale+ MPSoC
Tools
  • PetaLinux - 2017.1
  • PetaLinux - 2017.2
  • PetaLinux - 2017.3
  • Linux
Boards & Kits
  • Zynq UltraScale Plus MPSoC ZCU102 Evaluation Kit
Page Bookmarked