[PATCH 0/3] mmc support for QEMU

Bin Meng bmeng.cn at gmail.com
Fri Oct 30 15:34:10 CET 2020


On Fri, Oct 30, 2020 at 6:56 PM Harm Berntsen <harm.berntsen at nedap.com> wrote:
>
> Hi,
>
> This patch series allows you to use a mmc drive from within QEMU:
>
> 1. make qemu_arm_defconfig
> 2. Enable the CONFIG_DM_MMC, CONFIG_MMC_PCI, CONFIG_MMC_SDHCI options
> 3. Run quemu as follows:
>
>    qemu-system-arm
>    -machine virt,highmem=off \
>    -device sdhci-pci \
>    -device sd-card,drive=mydrive \
>    -drive id=mydrive,if=none,format=raw,file=mmcblk0.bin \
>    -bios u-boot.bin

I don't see changes made to qemu_arm_defconfig. Is that a future patch?

>
> The MMC image can now be used to boot :)
>

Regards,
Bin


More information about the U-Boot mailing list