From 9a2078a10783e7b8774f84b14b70a9980588d684 Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Mon, 23 Aug 2021 14:00:09 +0100 Subject: [PATCH] arm-bsp/docs: fvp-baser-aemv8r64 readme updates * Add missing net-tools to apt-get install list * Use export to set FVP_BASE_R_AEM_TARBALL_URI and FVP_BASE_R_AEM_EULA_ACCEPT and make kas build its own command. * Change bp.hostbridge.interfaceName=tap0 to bp.virtio_net.hostbridge.interfaceName=ta0 for runfvp, so that the FVP can access the external network. Issue-Id: SCM-2987 Signed-off-by: Peter Hoyes Change-Id: If9052400d2ae199861bc00ce119d28069f476f7e Signed-off-by: Jon Mason --- meta-arm-bsp/documentation/fvp-baser-aemv8r64.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meta-arm-bsp/documentation/fvp-baser-aemv8r64.md b/meta-arm-bsp/documentation/fvp-baser-aemv8r64.md index 6a76a640..c2db1015 100644 --- a/meta-arm-bsp/documentation/fvp-baser-aemv8r64.md +++ b/meta-arm-bsp/documentation/fvp-baser-aemv8r64.md @@ -81,15 +81,15 @@ Fetch the meta-arm repository into a build directory: Building with the standard Linux kernel: cd ~/fvp-baser-aemv8r64-build - FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz" \ - FVP_BASE_R_ARM_EULA_ACCEPT="True" \ + export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz" + export FVP_BASE_R_ARM_EULA_ACCEPT="True" kas build meta-arm/kas/fvp-baser-aemv8r64-bsp.yml Building with the Real-Time Linux kernel (PREEMPT\_RT): cd ~/fvp-baser-aemv8r64-build - FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz" \ - FVP_BASE_R_ARM_EULA_ACCEPT="True" \ + export FVP_BASE_R_AEM_TARBALL_URI="file:///absolute/path/to/FVP_Base_AEMv8R_11.15_14.tgz" + export FVP_BASE_R_ARM_EULA_ACCEPT="True" kas build meta-arm/kas/fvp-baser-aemv8r64-rt-bsp.yml ### Networking @@ -98,11 +98,11 @@ install the following package(s): **Ubuntu 18.04:** - sudo apt-get install libvirt-bin + sudo apt-get install libvirt-bin net-tools **Ubuntu 20.04:** - sudo apt-get install libvirt-dev libvirt-daemon qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils + sudo apt-get install libvirt-dev libvirt-daemon qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils net-tools Once that is installed for your OS version, setup tap0 using the following commands: @@ -129,7 +129,7 @@ To run an image after the build is done with the standard Linux kernel: --console \ -- \ --parameter 'bp.smsc_91c111.enabled=1' \ - --parameter 'bp.hostbridge.interfaceName=tap0'" + --parameter 'bp.virtio_net.hostbridge.interfaceName=tap0'" To run an image after the build is done with the Real-Time Linux kernel (PREEMPT\_RT): @@ -140,7 +140,7 @@ To run an image after the build is done with the Real-Time Linux kernel --console \ -- \ --parameter 'bp.smsc_91c111.enabled=1' \ - --parameter 'bp.hostbridge.interfaceName=tap0'" + --parameter 'bp.virtio_net.hostbridge.interfaceName=tap0'" **Note:** The terminal console login is `root` without password.