Skip to content

eMMC support

Sai Pavan Boddu qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest21 patches 12 repliesIn review
  2. v222 patches 16 repliesSuperseded
  3. v1 RFC15 patches 17 repliesSuperseded

Changes in v3 from the cover letter

Revome addition of EMMC drive flag
Add TYPE_EMMC device
Add id strings for shci instances
Update versal doc with eMMC example
Fix signed-off-by lines for few patches

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21sd: sd: Remove usage of tabs in the filehw/sd/sd.c+95 -950 replies
2/21sd: emmc: Add support for eMMC cardshw/sd/sd.c include/hw/sd/sd.h+22 -02 replies
3/21sd: emmc: Update SET_RELATIVE_ADDR commandhw/sd/sd.c+8 -40 replies
4/21sd: emmc: update OCR fields for eMMChw/sd/sd.c+24 -31 reply
5/21sd: emmc: Add support for EXT_CSD & CSD for eMMChw/sd/sd.c hw/sd/sdmmc-internal.h+156 -21 reply
6/21sd: emmc: Update CMD8 to send EXT_CSD registerhw/sd/sd.c+36 -161 reply
7/21sd: sdmmc-internal: Add command string for SEND_OP_CMDhw/sd/sdmmc-internal.c+1 -11 reply
8/21sd: emmc: Dont not update CARD_CAPACITY for eMMC cardshw/sd/sd.c+2 -10 replies
9/21sd: emmc: Update CMD1 definition for eMMChw/sd/sd.c+9 -10 replies
10/21sd: emmc: support idle state in CMD2hw/sd/sd.c+4 -00 replies
11/21sd: emmc: Add mmc switch function supporthw/sd/sd.c+50 -60 replies
12/21sd: emmc: add CMD21 tuning sequencehw/sd/sd.c+47 -03 replies
13/21sd: emmc: Make ACMD41 illegal for mmchw/sd/sd.c+3 -00 replies
14/21sd: emmc: Add support for emmc erasehw/sd/sd.c+2 -00 replies
15/21sd: emmc: Update CID structure for eMMChw/sd/sd.c+30 -171 reply
16/21sd: emmc: Support boot area in emmc imagehw/sd/sd.c+40 -01 reply
17/21sd: emmc: Subtract bootarea size from blkhw/sd/sd.c+5 -00 replies
18/21sd: sdhci: Support eMMC deviceshw/sd/sdhci.c+0 -40 replies
19/21arm: xlnx-versal: Add emmc to versalhw/arm/xlnx-versal-virt.c hw/arm/xlnx-versal.c include/hw/arm/xlnx-versal.h+38 -60 replies
20/21docs: devel: emmc: Add a doc for emmc card emulationdocs/devel/emmc.txt+16 -00 replies
21/21docs: arm: xlnx-versal-virt: Add eMMC support documentationdocs/system/arm/xlnx-versal-virt.rst+14 -00 replies

Reviews trailers per patch

3 of 21 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/21
2/21
3/21
4/21
5/21
6/21
7/21
8/21R-b
9/21R-b
10/21R-b
11/21
12/21
13/21
14/21
15/21
16/21
17/21
18/21
19/21
20/21
21/21

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/21] eMMC support

Hi,

This patch series add support for eMMC cards. This work was previosly submitted by Vincent, rebased few changes on top.

Cedric & Joel has helped to added boot partition access support. I expect them to make a follow-up series to use it with aspeed machines.

Present series adds eMMC support to Versal SOC.

Initial patch series version is RFC
Changes for V2:
Split Patch 1
Add comments for eMMC Erase commands
Added documentation about eMMC and Versal-virt board. Make eMMC optional for xlnx-versal-virt machines
Changes for V3:
Revome addition of EMMC drive flag
Add TYPE_EMMC device
Add id strings for shci instances
Update versal doc with eMMC example
Fix signed-off-by lines for few patches

Cédric Le Goater (1):
sd: sdmmc-internal: Add command string for SEND_OP_CMD

Joel Stanley (2):
sd: emmc: Support boot area in emmc image
sd: emmc: Subtract bootarea size from blk

Sai Pavan Boddu (14):
sd: sd: Remove usage of tabs in the file
sd: emmc: Add support for eMMC cards
sd: emmc: Dont not update CARD_CAPACITY for eMMC cards
sd: emmc: Update CMD1 definition for eMMC
sd: emmc: support idle state in CMD2
sd: emmc: Add mmc switch function support
sd: emmc: add CMD21 tuning sequence
sd: emmc: Make ACMD41 illegal for mmc
sd: emmc: Add support for emmc erase
sd: emmc: Update CID structure for eMMC
sd: sdhci: Support eMMC devices
arm: xlnx-versal: Add emmc to versal
docs: devel: emmc: Add a doc for emmc card emulation
docs: arm: xlnx-versal-virt: Add eMMC support documentation

Vincent Palatin (4):
sd: emmc: Update SET_RELATIVE_ADDR command
sd: emmc: update OCR fields for eMMC
sd: emmc: Add support for EXT_CSD & CSD for eMMC
sd: emmc: Update CMD8 to send EXT_CSD register

 docs/devel/emmc.txt                  |  16 +
 docs/system/arm/xlnx-versal-virt.rst |  14 +
 hw/sd/sdmmc-internal.h               |  97 ++++++
 include/hw/arm/xlnx-versal.h         |   1 +
 include/hw/sd/sd.h                   |   2 +
 hw/arm/xlnx-versal-virt.c            |  29 +-
 hw/arm/xlnx-versal.c                 |  14 +-
 hw/sd/sd.c                           | 563 ++++++++++++++++++++++++++---------
 hw/sd/sdhci.c                        |   4 -
 hw/sd/sdmmc-internal.c               |   2 +-
 10 files changed, 594 insertions(+), 148 deletions(-)
 create mode 100644 docs/devel/emmc.txt
Signature · 1 line
2.7.4