mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 14:56:03 +00:00
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>
This commit is contained in:
parent
5b2d25a2e3
commit
3555c92583
2 changed files with 9 additions and 1 deletions
|
@ -82,5 +82,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
imply USB_XHCI_PCI
|
||||
imply USB_KEYBOARD
|
||||
imply CMD_USB
|
||||
imply UFS
|
||||
imply UFS_PCI
|
||||
|
||||
endif
|
||||
|
|
|
@ -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::
|
||||
|
|
Loading…
Add table
Reference in a new issue