summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2023-10-11 21:15:52 +0800
committerTom Rini <trini@konsulko.com>2023-11-27 16:18:59 -0500
commit3555c92583c2c778a7b252bc6951be49fc21d22c (patch)
treed1e565f7d32829ee91248bd85ffe8963e36d817e /doc
parent5b2d25a2e3c303515f6ce3b0ea7e984e1e6312da (diff)
downloadu-boot-3555c92583c2c778a7b252bc6951be49fc21d22c.tar.gz
u-boot-3555c92583c2c778a7b252bc6951be49fc21d22c.tar.bz2
u-boot-3555c92583c2c778a7b252bc6951be49fc21d22c.zip
qemu: riscv: Enable UFS support
This enables UFS support for QEMU RISC-V 'virt' machine. Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Neha Malcom Francis <n-francis@ti.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/board/emulation/qemu-riscv.rst8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/board/emulation/qemu-riscv.rst b/doc/board/emulation/qemu-riscv.rst
index 61137bcbf1..8a5eb1eda5 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::