|
From: | darius . mcadam |
Subject: | How To Emulate An eMMC And SD Host Controller |
Date: | Thu, 19 Sep 2024 16:59:52 -0500 |
Hello, I'm developing a kernel for Arm64 and emulating it on QEMU. I'm using this version of QEMU: QEMU emulator version 8.2.2 (Debian 1:8.2.2+ds-0ubuntu1.2) I'm trying to emulate a SD host controller and an eMMC so I can test a SD host controller driver and an eMMC driver. Here's my emulation attempt: qemu-system-aarch64 \ For the virt board, the sdhci-pci host controller is the only one I saw supported, so I decided to use that. I didn't see an eMMC device, so I chose sd-card. I'm hoping that I can create a drive that provides an eMMC image to the sd-card that will allow me to test my SD host and eMMC drivers. But I don't know how to create the eMMC image. I read the qemu-img documentation but I'm still unsure how to do this. So, my question is, how do I correctly emulate an eMMC on the virt board? Thank you, |
[Prev in Thread] | Current Thread | [Next in Thread] |