From: "Philippe Mathieu-Daudé" <philmd@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>,
Jan Luebbe <jlu@pengutronix.de>
Cc: qemu-devel@nongnu.org, Bin Meng <bmeng.cn@gmail.com>,
qemu-block@nongnu.org
Subject: Re: [PATCH] hw/sd/sdcard: Allow user creation of eMMCs
Date: Sat, 19 Oct 2024 12:31:53 -0300 [thread overview]
Message-ID: <25d30431-32d6-4729-bdac-3bce64fcda2c@linaro.org> (raw)
In-Reply-To: <CAFEAcA9sjszCj=Fu-A-=qQV_jawnomJ-Nqnd=Vx2vLKmYZ1-nQ@mail.gmail.com>
On 18/10/24 12:42, Peter Maydell wrote:
> On Tue, 15 Oct 2024 at 14:57, Jan Luebbe <jlu@pengutronix.de> wrote:
>>
>> For testing eMMC-specific functionality (such as handling boot
>> partitions), it would be very useful to attach them to generic VMs such
>> as x86_64 via the sdhci-pci device:
>> ...
>> -drive if=none,id=emmc-drive,file=emmc.img,format=raw \
>> -device sdhci-pci \
>> -device emmc,id=emmc0,drive=emmc-drive,boot-partition-size=1048576 \
>> ...
>>
>> While most eMMCs are soldered to boards, they can also be connected to
>> SD controllers with just a passive adapter, such as:
>> https://docs.radxa.com/en/accessories/emmc-to-usd
>> https://github.com/voltlog/emmc-wfbga153-microsd
>>
>> The only change necessary to make the options above work is to avoid
>> disabling user_creatable, so do that. The SDHCI-PCI driver in the Linux
>> kernel already supports this just fine.
>>
>> Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
>
> Applied to target-arm.next, thanks (unless anybody would
> prefer it to go via some other route).
Thanks!
next prev parent reply other threads:[~2024-10-19 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-15 13:56 [PATCH] hw/sd/sdcard: Allow user creation of eMMCs Jan Luebbe
2024-10-15 15:00 ` Philippe Mathieu-Daudé
2024-10-15 15:17 ` Cédric Le Goater
2024-10-15 15:20 ` Daniel P. Berrangé
2024-10-15 15:42 ` Cédric Le Goater
2024-10-18 15:42 ` Peter Maydell
2024-10-19 15:31 ` Philippe Mathieu-Daudé [this message]
2024-10-29 15:06 ` Peter Maydell
2024-11-08 9:29 ` Jan Lübbe
2024-11-08 10:47 ` Cédric Le Goater
2025-11-04 15:15 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25d30431-32d6-4729-bdac-3bce64fcda2c@linaro.org \
--to=philmd@linaro.org \
--cc=bmeng.cn@gmail.com \
--cc=jlu@pengutronix.de \
--cc=peter.maydell@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).