[PATCH 1/1] riscv: qemu: enable distro boot from scsi
Heinrich Schuchardt
xypron.glpk at gmx.de
Tue Dec 1 17:30:26 CET 2020
Booting via distro boot fails for:
qemu-system-riscv64
-drive if=none,file=sct-riscv64.img,format=raw,id=mydisk \
-device ich9-ahci,id=ahci -device ide-hd,drive=mydisk,bus=ahci.0
Enable distro booting from an attached SCSI disk.
Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
include/configs/qemu-riscv.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h
index aed9a4ae99..a2f33587c2 100644
--- a/include/configs/qemu-riscv.h
+++ b/include/configs/qemu-riscv.h
@@ -35,6 +35,7 @@
#define BOOT_TARGET_DEVICES(func) \
func(QEMU, qemu, na) \
func(VIRTIO, virtio, 0) \
+ func(SCSI, scsi, 0) \
func(DHCP, dhcp, na)
#include <config_distro_bootcmd.h>
--
2.29.2
More information about the U-Boot
mailing list