arm: vexpress64: juno: Allow boot from VirtIO
PATCH 1/1 arm: vexpress64: juno: Allow boot from VirtIO
From: Robert Catherall <[email protected]>
The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO 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)
--- include/configs/vexpress_aemv8.h | 1 + 1 file changed, 1 insertion(+)
include/configs/vexpress_aemv8.h +1 -0
@@ -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)
Signature · 1 line
2.17.1
On Thu, 23 Nov 2023 18:22:58 +0000
[email protected] wrote:
Hi Robert,
Quoted 3 lines
From: Robert Catherall <[email protected]>
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?
Quoted 6 lines
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_VIRTIOis not enabled, so no impact on Juno hardware (which is built withvexpress_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:
Quoted 1 line
Signed-off-by Robert Catherall <[email protected]>
Cheers,
Andre
Quoted 16 lines
--- include/configs/vexpress_aemv8.h | 1 + 1 file changed, 1 insertion(+)include/configs/vexpress_aemv8.h +1
-0@@ -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)
Quoted 7 lines · On Thu, Nov 23, 2023 at 06:22:58PM +0000, [email protected] wrote:
From: Robert Catherall <[email protected]>
The AEM and Juno FVPs (Fixed Virtual Platforms) support a VirtIO 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.
Quoted 5 lines
This is a NOP if
CONFIG_CMD_VIRTIOis not enabled, so no impact on Juno hardware (which is built withvexpress_aemv8a_juno_defconfig)Signed-off-by Robert Catherall <[email protected]>Reviewed-by Andre Przywara <[email protected]>
Applied to u-boot/next, thanks!
Signature · 1 line
Tom