blob: 47b7ffce7b503672d5eaea7cbd14b0dd06abed0c [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# FVP common parameters
2
3#
4# Capturing FVP common configurations (Armv8-A Base Platform FVP,
5# Armv8-A Foundation Platform and Armv7-A Base Platform FVP).
6#
7
8MACHINE_FEATURES = "optee"
9
10IMAGE_FSTYPES += "wic"
11WKS_FILE ?= "fvp-base.wks"
12
13SERIAL_CONSOLES = "115200;ttyAMA0"
14
15PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
16
17KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb"
18
Andrew Geissler2daf84b2023-03-31 09:57:23 -050019EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040020
21# As this is a virtual target that will not be used in the real world there is
Andrew Geisslerea144b02023-01-27 16:03:57 -060022# no need for real SSH keys.
Brad Bishopbec4ebc2022-08-03 09:55:16 -040023MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys"
24
25TEST_TARGET = "OEFVPTarget"
Patrick Williams2390b1b2022-11-03 13:47:49 -050026TEST_TARGET_IP = "127.0.0.1:8022"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040027
28FVP_PROVIDER ?= "fvp-base-a-aem-native"
29FVP_EXE ?= "FVP_Base_RevC-2xAEMvA"
30FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1"
31FVP_CONFIG[bp.virtio_net.enabled] ?= "1"
32FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
Patrick Williams2390b1b2022-11-03 13:47:49 -050033# Tell testimage to connect to localhost:8022, and forward that to SSH in the FVP.
34FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] = "8022=22"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040035FVP_CONFIG[cache_state_modelled] ?= "0"
Patrick Williamse760df82023-05-26 11:10:49 -050036FVP_CONFIG[bp.secureflashloader.fname] ?= "bl1-fvp.bin"
37FVP_CONFIG[bp.flashloader0.fname] ?= "fip-fvp.bin"
38FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.rootfs.wic"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040039# Set the baseline to ARMv8.4, as the default is 8.0.
40FVP_CONFIG[cluster0.has_arm_v8-4] = "1"
41FVP_CONFIG[cluster1.has_arm_v8-4] = "1"
42FVP_CONSOLE ?= "terminal_0"
Patrick Williamse760df82023-05-26 11:10:49 -050043FVP_DATA ?= "cluster0.cpu0=${KERNEL_IMAGETYPE}@0x80080000 \
44 cluster0.cpu0=fvp-base-revc.dtb@0x8fc00000"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040045FVP_TERMINALS[bp.terminal_0] ?= "Console"
46FVP_TERMINALS[bp.terminal_1] ?= ""
47FVP_TERMINALS[bp.terminal_2] ?= ""
48FVP_TERMINALS[bp.terminal_3] ?= ""