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

Alexander Graf agraf at suse.de
Tue Nov 13 09:02:58 UTC 2018



On 13.11.18 05:51, Sumit Garg wrote:
> With -device virtio-blk-device,drive=hd0, it could detect distro boot
> target.
> 
> Signed-off-by: Sumit Garg <sumit.garg at linaro.org>

Reviewed-by: Alexander Graf <agraf at suse.de>

> ---
> 
> Changes in v2:
> Change boot order to SCSI; VIRTIO; DHCP as DHCP is quiet slow, so kept

quite :)


Alex

> 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>
> 


More information about the U-Boot mailing list