|
From: | David Aghaian |
Subject: | [Qemu-arm] Assigning sd-card to specific SD-bus with Sabrelite Machine |
Date: | Thu, 17 Sep 2020 18:21:08 +0000 |
Hi all, Having a real difficult time determining whether or not I can use qemu (arm) with the Sabrelite machine type to be able to assign an sd-card to one of the 4 available sd-bus slots. Currently, no matter what combination of arguments I provide,
it will always fall on the first bus (see screenshot). Is there any way with QEMU to attach the card specifically to the last sd-bus slot? It should be noted I was able to achieve the expected behavior after patching QEMU itself with the following change but I’d prefer to not have to modify
the tool itself. diff qemu-5.1.0.orig/hw/sd/sdhci.c qemu-5.1.0/hw/sd/sdhci.c The above change allows you to then launch with the following arguments:
-drive file=sdcard.img,format=raw,id=mycard -device sd-card,drive=mycard,bus=sd-bus.0
|
[Prev in Thread] | Current Thread | [Next in Thread] |