From d5406cec2ea53aa62008f86bf586948983ed1394 Mon Sep 17 00:00:00 2001 From: Rui Miguel Silva Date: Fri, 1 Apr 2022 15:41:28 +0100 Subject: [PATCH] arm-bsp/corstone500/docs: update for kas and runfvp Update corstone500 documentation to reflect the new build infrastructure (kas) and the in tree run of the fvp using the runfvp command. Signed-off-by: Rui Miguel Silva Signed-off-by: Jon Mason --- meta-arm-bsp/documentation/corstone500.md | 28 +++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/meta-arm-bsp/documentation/corstone500.md b/meta-arm-bsp/documentation/corstone500.md index 92f8a984..0f019611 100644 --- a/meta-arm-bsp/documentation/corstone500.md +++ b/meta-arm-bsp/documentation/corstone500.md @@ -3,22 +3,26 @@ ## Howto Build and Run ### Configuration: -In the local.conf file, MACHINE should be set as follow: -MACHINE ?= "corstone500" -DISTRO ?= "poky-tiny" -Or set environment variables with that values: - -MACHINE "corstone500" -DISTRO "poky-tiny" +Use the kas ### Build: -``bash$ bitbake arm-reference-image``` + +``bash$ kas build kas/corstone500.yml ### Run: -To run the result in a Fixed Virtual Platform please get: -https://git.linaro.org/landing-teams/working/arm/model-scripts -and follow the instructions in the readme.txt file in that -repository. +Building using kas should have fetch the Fixed Virtual Platform for this +platform and installed at: + +build/tmp/sysroots-components/x86_64/fvp-corstone500-native/usr/bin/./FVP_Corstone-500 + +with this in place is possible to launch the FVP using the runfvp inside the +scripts directory: + +cd scripts + +./runfvp ../build/tmp/deploy/images/corstone500/core-image-minimal-corstone500.fvpconf --console + +this will output the console in the launching terminal