From a3c4201aeb81d2e8725aa64a55346f0de39ca6a1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 10 May 2021 17:39:16 +0100 Subject: [PATCH] arm-bsp/fvp-base: set FVP_ variables So that a fvp-base image can be tested easily, set the relevant FVP_* variables. After setting IMAGE_CLASSES += "fvpboot" in local.conf, this will show the firmware start and Linux boot: $ MACHINE=fvp-base bitbake core-image-base $ runfvp fvp-base --console Change-Id: Id1bd6cea57958117103e53ab9f78a58ce92b6a2e Signed-off-by: Ross Burton --- meta-arm-bsp/conf/machine/fvp-base.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/meta-arm-bsp/conf/machine/fvp-base.conf b/meta-arm-bsp/conf/machine/fvp-base.conf index 4bccdb66..41163c96 100644 --- a/meta-arm-bsp/conf/machine/fvp-base.conf +++ b/meta-arm-bsp/conf/machine/fvp-base.conf @@ -15,3 +15,17 @@ UBOOT_MACHINE = "vexpress_aemv8a_semi_defconfig" KERNEL_IMAGETYPE = "Image" KERNEL_DEVICETREE = "arm/fvp-base-gicv3-psci-custom.dtb" + +FVP_PROVIDER ?= "fvp-base-a-aem-native" +FVP_EXE ?= "FVP_Base_RevC-2xAEMvA" +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" +FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic" +FVP_DATA ?= "cluster0.cpu0=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}@0x80080000 \ + cluster0.cpu0=${DEPLOY_DIR_IMAGE}/fvp-base-gicv3-psci-custom.dtb@0x83000000" +FVP_CONSOLE ?= "terminal_0" +FVP_TERMINALS[bp.terminal_0] ?= "Console" +FVP_TERMINALS[bp.terminal_1] ?= "" +FVP_TERMINALS[bp.terminal_2] ?= "" +FVP_TERMINALS[bp.terminal_3] ?= ""