[U-Boot] [PATCH v2] qemu-arm: Enable VirtIO distro target

Sumit Garg sumit.garg at linaro.org
Tue Nov 13 04:51:24 UTC 2018


With -device virtio-blk-device,drive=hd0, it could detect distro boot
target.

Signed-off-by: Sumit Garg <sumit.garg at linaro.org>
---

Changes in v2:
Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept
as last boot option.

Depends on https://patchwork.ozlabs.org/patch/995524/ which adds VirtIO
distro boot command.

 include/configs/qemu-arm.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h
index fedc466..33dcce0 100644
--- a/include/configs/qemu-arm.h
+++ b/include/configs/qemu-arm.h
@@ -25,6 +25,7 @@
 
 #define BOOT_TARGET_DEVICES(func) \
 	func(SCSI, scsi, 0) \
+	func(VIRTIO, virtio, 0) \
 	func(DHCP, dhcp, na)
 
 #include <config_distro_bootcmd.h>
-- 
2.7.4



More information about the U-Boot mailing list