From 67000ba0304f17192c74ab7c87ef3c41ce71f0e8 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 27 Sep 2021 13:55:57 +0100 Subject: [PATCH] arm-bsp/fvp-base: enable user-mode networking in runfvp Enable user-mode networking with virtio out of the box. This way port forwarding can be configured easily without needing to setup host tap ports. Moving forward this may be controlled more by runfvp with the machine configuration simply saying what configuration parameter to use (in this case, bp.virtio_net), but this is a good starting point to iterate from. Change-Id: I0b610df87c7dd2c8e3e213daaa967618babbdc7c Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm-bsp/conf/machine/fvp-base.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf index e43c6a01..06a8bd93 100644 --- a/meta-arm-bsp/conf/machine/fvp-base.conf +++ b/meta-arm-bsp/conf/machine/fvp-base.conf @@ -19,6 +19,8 @@ KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb" FVP_PROVIDER ?= "fvp-base-a-aem-native" FVP_EXE ?= "FVP_Base_RevC-2xAEMvA" FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1" +FVP_CONFIG[bp.virtio_net.enabled] ?= "1" +FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" FVP_CONFIG[cache_state_modelled] ?= "0" FVP_CONFIG[bp.secureflashloader.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1-fvp.bin" FVP_CONFIG[bp.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/fip-fvp.bin"