qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] sd: add SDHCI and eMMC support
@ 2011-07-25 23:19 Vincent Palatin
  2011-07-25 23:19 ` [Qemu-devel] [PATCH 1/7] sd: do not add one sector to the disk size Vincent Palatin
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Vincent Palatin @ 2011-07-25 23:19 UTC (permalink / raw)
  To: Qemu devel

Dear Qemu developers,

This patchset adds the support for eMMC as found soldered on many embedded board
in addition to current support for SD/SDHC cards.
It also adds a standard SDHCI controller emulation.
The first patches are a couple of fixes to the current SD code found while
implementing these features.

The SDHCI emulation has both a MMIO interface as found in several ARM SoC and
a PCI interface. The PCI interface allows to test it with the current code base.
I hope to send for review soon the patches for an ARM SoC using the MMIO
interface.

The PCI version of the SDHCI controller can be tested with such a command line :
./i386-softmmu/qemu -hda rootfs.qcow2 -device sdhci_pci -sd sd_image.raw

An eMMC connected to the SDHCI controller can be instantied like this :
./x86_64-softmmu/qemu-system-x86_64 -hda rootfs.qcow2  -device sdhci_pci,block=internal_card  -drive id=internal_card,if=emmc,file=emmc4G.raw

The patch series has also been tested with MMC_TEST linux kernel module
and a chromium image booted from eMMC.

-- 
Vincent

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

end of thread, other threads:[~2011-12-13 16:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-25 23:19 [Qemu-devel] sd: add SDHCI and eMMC support Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 1/7] sd: do not add one sector to the disk size Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 2/7] sd: fix card size checking on R/W accesses Vincent Palatin
2011-07-30  5:50   ` andrzej zaborowski
2011-07-25 23:19 ` [Qemu-devel] [PATCH 3/7] block: add eMMC block device type Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 4/7] sd: add eMMC support Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 5/7] sd: add PCI ids for SDHCI controller Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 6/7] sd: add SD Host Controller (SDHCI) emulation Vincent Palatin
2011-07-25 23:19 ` [Qemu-devel] [PATCH 7/7] sd: compile SDHCI on PCI platforms Vincent Palatin
2011-12-13 16:38 ` [Qemu-devel] sd: add SDHCI and eMMC support Stefan Hajnoczi

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).