[PATCH] arm: vexpress64: juno: Allow boot from VirtIO

Andre Przywara andre.przywara at arm.com
Mon Dec 4 12:06:19 CET 2023


On Thu, 23 Nov 2023 18:22:58 +0000
robert.catherall at foss.arm.com wrote:

Hi Robert,

> From: Robert Catherall <robert.catherall at arm.com>
> 
> The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO

I find it odd that the Juno FVP *adds* something on top of the Juno
hardware devices, as this kind of defeats the purpose of having an
as-close-as-possible software model, but well...
Are there more differences than this one?

> disc interface. Adding VIRTIO to the list of boot devices allows
> these FastModel platforms to boot from 'disc' in the same way
> the hardware counterpart can boot from SATA or USB.
> 
> This is a NOP if CONFIG_CMD_VIRTIO is not enabled, so no impact
> on Juno hardware (which is built with vexpress_aemv8a_juno_defconfig)

So indeed I can confirm that with the vexpress_aemv8a_juno_defconfig there
is no difference in the environment, so if that patch helps you:

> Signed-off-by: Robert Catherall <robert.catherall at arm.com>

Reviewed-by: Andre Przywara <andre.przywara at arm.com>

Cheers,
Andre

> ---
>  include/configs/vexpress_aemv8.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/configs/vexpress_aemv8.h b/include/configs/vexpress_aemv8.h
> index 24d8ca0866..8020689e39 100644
> --- a/include/configs/vexpress_aemv8.h
> +++ b/include/configs/vexpress_aemv8.h
> @@ -187,6 +187,7 @@
>  	func(USB, usb, 0)		\
>  	func(SATA, sata, 0)		\
>  	func(SATA, sata, 1)		\
> +	FUNC_VIRTIO(func)		\
>  	func(PXE, pxe, na)		\
>  	func(DHCP, dhcp, na)		\
>  	func(AFS, afs, na)



More information about the U-Boot mailing list