diff options
| author | Tom Rini <[email protected]> | 2023-11-27 16:19:09 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-11-27 16:19:09 -0500 |
| commit | d6e052c6151e89d34af2f6337c5cded1b12dfdb8 (patch) | |
| tree | 45a1233a7c2276127184f23d7fec929799e7eee1 /doc/board | |
| parent | 129d6a0d87b7f19b85dc0a007f7050ce973fd019 (diff) | |
| parent | 3555c92583c2c778a7b252bc6951be49fc21d22c (diff) | |
Merge patch series "ufs: Add a PCI UFS controller support"
To quote the author:
This adds a PCI UFS controller support and enables the support on
QEMU RISC-V for testing.
Requiring QEMU v8.2+.
Diffstat (limited to 'doc/board')
| -rw-r--r-- | doc/board/emulation/qemu-riscv.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst index 61137bcbf1c..8a5eb1eda56 100644 --- a/doc/board/emulation/qemu-riscv.rst +++ b/doc/board/emulation/qemu-riscv.rst @@ -131,7 +131,13 @@ An attached disk can be emulated in RISC-V virt machine by adding:: -drive if=none,file=riscv64.img,format=raw,id=mydisk \ -device ide-hd,drive=mydisk,bus=ahci.0 -You will have to run 'scsi scan' to use it. +or alternatively attach an emulated UFS:: + + -device ufs,id=ufs0 \ + -drive if=none,file=test.img,format=raw,id=lun0 \ + -device ufs-lu,drive=lun0,bus=ufs0 + +You will have to run 'scsi scan' to use them. A video console can be emulated in RISC-V virt machine by removing "-nographic" and adding:: |
