[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/19] hw/sd: Add support for eMMC cards
From: |
Cédric Le Goater |
Subject: |
Re: [PATCH 00/19] hw/sd: Add support for eMMC cards |
Date: |
Fri, 28 Jun 2024 08:46:51 +0200 |
User-agent: |
Mozilla Thunderbird |
On 6/27/24 7:10 PM, Philippe Mathieu-Daudé wrote:
Trying to land what Vincent Palatin started 13 years ago!
https://lore.kernel.org/qemu-devel/1311635951-11047-5-git-send-email-vpalatin@chromium.org/
with fixes from Sai, Joel and Cédric.
I reviewed Cédric patches but still plan to review the EXT_CSD
layout and Joel "boot config" patches.
In order to avoid deviation with the spec, the experimental
'x-aspeed-emmc-kludge' property is used.
Adding Aspeed people for feedback.
Thanks,
C.
Based-on: <20240627164815.82606-1-philmd@linaro.org>
Full series for testing:
https://gitlab.com/philmd/qemu/-/tags/emmc-v4
Including Aspeed branch from Cédric on top (aspeed-9.1):
https://gitlab.com/philmd/qemu/-/tags/aspeed_emmc-v4
Cédric Le Goater (5):
hw/sd/sdcard: Basis for eMMC support
hw/sd/sdcard: Add emmc_cmd_SET_RELATIVE_ADDR() handler
hw/sd/sdcard: Fix SET_BLOCK_COUNT command argument on eMMC (CMD23)
hw/sd/sdcard: Adapt sd_cmd_ALL_SEND_CID handler for eMMC (CMD2)
hw/sd/sdcard: Adapt sd_cmd_APP_CMD handler for eMMC (CMD55)
Joel Stanley (3):
hw/sd/sdcard: Support boot area in emmc image
hw/sd/sdcard: Subtract bootarea size from blk
hw/sd/sdcard: Add boot config support
Luc Michel (1):
hw/sd/sdcard: Implement eMMC sleep state (CMD5)
Philippe Mathieu-Daudé (6):
hw/sd/sdcard: Introduce set_csd/set_cid handlers
hw/sd/sdcard: Cover more SDCardStates
hw/sd/sdcard: Register generic command handlers
hw/sd/sdcard: Register unimplemented command handlers
hw/sd/sdcard: Add mmc_cmd_PROGRAM_CID handler (CMD26)
hw/sd/sdcard: Add experimental 'x-aspeed-emmc-kludge' property
Sai Pavan Boddu (3):
hw/sd/sdcard: Add emmc_cmd_SEND_OP_COND handler (CMD1)
hw/sd/sdcard: add emmc_cmd_SEND_TUNING_BLOCK handler (CMD21)
hw/sd/sdcard: Add mmc SWITCH function support (CMD6)
Vincent Palatin (1):
hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8)
hw/sd/sdmmc-internal.h | 3 +
include/hw/sd/sd.h | 6 +
hw/sd/sd.c | 419 ++++++++++++++++++++++++++++++++++++++++-
3 files changed, 420 insertions(+), 8 deletions(-)
- [PATCH 10/19] hw/sd/sdcard: Implement eMMC sleep state (CMD5), (continued)
- [PATCH 10/19] hw/sd/sdcard: Implement eMMC sleep state (CMD5), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 11/19] hw/sd/sdcard: Add experimental 'x-aspeed-emmc-kludge' property, Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 13/19] hw/sd/sdcard: Adapt sd_cmd_APP_CMD handler for eMMC (CMD55), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 12/19] hw/sd/sdcard: Adapt sd_cmd_ALL_SEND_CID handler for eMMC (CMD2), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 14/19] hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 15/19] hw/sd/sdcard: add emmc_cmd_SEND_TUNING_BLOCK handler (CMD21), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 16/19] hw/sd/sdcard: Add mmc SWITCH function support (CMD6), Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 17/19] hw/sd/sdcard: Support boot area in emmc image, Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 18/19] hw/sd/sdcard: Subtract bootarea size from blk, Philippe Mathieu-Daudé, 2024/06/27
- [RFC PATCH 19/19] hw/sd/sdcard: Add boot config support, Philippe Mathieu-Daudé, 2024/06/27
- Re: [PATCH 00/19] hw/sd: Add support for eMMC cards,
Cédric Le Goater <=