SD: Unknown CMD52

Bug #622408 reported by Loïc Minier
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Wishlist
Peter Maydell

Bug Description

Hi,

When booting the Ubuntu maverick daily preinstalled image for OMAP from the 18th of August under qemu-maemo 0.0~20100806+d7a5eb1-0ubuntu1~linaro2, I get this in the terminal where I run QEMU:
SD: Unknown CMD52

It seems the SD card emulation doesn't support a command used in whatever linux mmc driver is used on OMAP.

This seems minor since the boot continues past these errors.

linux/include/linux/mmc/sd.h has:
  /* Application commands */
[...]
#define SD_APP_SEND_SCR 51 /* adtc R1 */

apparently SCR stands for SD Card Configuration Register.

Cheers,

Loïc Minier (lool)
Changed in qemu-maemo:
importance: Undecided → Wishlist
Revision history for this message
Nicolas Pitre (npitre) wrote : Re: [Bug 622408] [NEW] SD: Unknown CMD52

On Sun, 22 Aug 2010, Loïc Minier wrote:

> When booting the Ubuntu maverick daily preinstalled image for OMAP from the 18th of August under qemu-maemo 0.0~20100806+d7a5eb1-0ubuntu1~linaro2, I get this in the terminal where I run QEMU:
> SD: Unknown CMD52

CMD 52 is used for SDIO cards. And SDIO cards have to be probed before
standard SD cards. Non-SDIO cards are expected to return failure (or
timeout) for CMD 52. So if qemu doesn't emulate SDIO cards, it may
silently ignore those commands.

Revision history for this message
Peter Maydell (pmaydell) wrote :

As Nicolas says, we should be silently ignoring these SDIO-only commands. I've submitted this patch as a merge request upstream to the qemu-maemo tree:

http://meego.gitorious.org/qemu-maemo/qemu/merge_requests/2

Loïc Minier (lool)
affects: qemu-maemo → qemu-linaro
Changed in qemu-linaro:
assignee: nobody → Peter Maydell (pmaydell)
status: New → Fix Committed
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
milestone: none → 2011.02-rc2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.