Skip to content

mmc support for QEMU

Harm Berntsen u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] mmc support for QEMU

Hi,

I didn't include changes in the defconfig because you need to manually add the device to the QEMU virt machine via the command line. On the other hand the u-boot binary size does not really matter for QEMU environments. For CI it will also be nice to ensure this set-up will build.

I'll send in a patch for the config when this series has been merged!

Kind regards,
Harm

-----Original Message-----
From: Bin Meng <[email protected]>
To: Harm Berntsen <[email protected]>
Cc: u-boot at lists.denx.de <[email protected]>
Subject: Re: [PATCH 0/3] mmc support for QEMU
Date: Fri, 30 Oct 2020 22:34:10 +0800

Quoted 9 lines · Harm Berntsen

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:

Quoted 6 lines

?? 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?

Quoted 3 lines

The MMC image can now be used to boot :)

Regards,
Bin