From 025124814e8676e46d42ec5b07220283f1bdbcd0 Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Fri, 16 Dec 2022 11:19:41 +0000 Subject: [PATCH] arm/fvpboot: Disable timing annotation by default Timing Annotation is a feature of the model that enables high-level performance estimations to be made [1]. It is not needed to demonstrate a functioning software stack so set FASTSIM_DISABLE_TA to 1 in the model environment to disable this feature. This also improves model performance. [1] https://developer.arm.com/documentation/100965/1119/Timing-Annotation Signed-off-by: Peter Hoyes Signed-off-by: Jon Mason --- meta-arm/classes/fvpboot.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arm/classes/fvpboot.bbclass b/meta-arm/classes/fvpboot.bbclass index 78dabd73..508deb29 100644 --- a/meta-arm/classes/fvpboot.bbclass +++ b/meta-arm/classes/fvpboot.bbclass @@ -24,7 +24,9 @@ FVP_CONSOLES[default] ?= "${FVP_CONSOLE}" # Arbitrary extra arguments FVP_EXTRA_ARGS ?= "" # Bitbake variables to pass to the FVP environment -FVP_ENV_PASSTHROUGH ?= "" +FVP_ENV_PASSTHROUGH ?= "FASTSIM_DISABLE_TA" +# Disable timing annotation by default +FASTSIM_DISABLE_TA ?= "1" EXTRA_IMAGEDEPENDS += "${FVP_PROVIDER}"