blob: 39ef38be56f34f7fd4ab389c06465ea227b553c8 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# Configuration for Armv8-A Base Platform FVP
2
3#@TYPE: Machine
4#@NAME: Armv8-A Base Platform FVP machine
5#@DESCRIPTION: Machine configuration for Armv8-A Base Platform FVP model
6
Patrick Williamsac13d5f2023-11-24 18:59:46 -06007require conf/machine/include/arm/arch-armv8-4a.inc
Brad Bishopbec4ebc2022-08-03 09:55:16 -04008
Patrick Williamsac13d5f2023-11-24 18:59:46 -06009ARM_SYSTEMREADY_FIRMWARE = "trusted-firmware-a:do_deploy"
10ARM_SYSTEMREADY_ACS_CONSOLE = "default"
11EXTRA_IMAGEDEPENDS = "${ARM_SYSTEMREADY_FIRMWARE}"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040012
Patrick Williamsac13d5f2023-11-24 18:59:46 -060013MACHINE_FEATURES = "efi"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040014
Patrick Williamsac13d5f2023-11-24 18:59:46 -060015IMAGE_NAME_SUFFIX = ""
16IMAGE_FSTYPES += "wic"
17WKS_FILE ?= "efi-disk.wks.in"
18
19SERIAL_CONSOLES = "115200;ttyAMA0"
20
21PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
22KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040023KERNEL_IMAGETYPE = "Image"
Patrick Williams7784c422022-11-17 07:29:11 -060024
Patrick Williamsac13d5f2023-11-24 18:59:46 -060025EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
26
27# FVP u-boot configuration
28UBOOT_MACHINE = "vexpress_fvp_defconfig"
29
30EFI_PROVIDER ?= "grub-efi"
31
32# As this is a virtual target that will not be used in the real world there is
33# no need for real SSH keys.
34MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys"
35
36TEST_TARGET = "OEFVPTarget"
37TEST_TARGET_IP = "127.0.0.1:2222"
38DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices"
39TEST_FVP_DEVICES ?= "rtc watchdog networking virtiorng cpu_hotplug"
40
41FVP_PROVIDER ?= "fvp-base-a-aem-native"
42FVP_EXE ?= "FVP_Base_RevC-2xAEMvA"
43FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1"
44FVP_CONFIG[bp.virtio_net.enabled] ?= "1"
45FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
46# Tell testimage to connect to localhost:2222, and forward that to SSH in the FVP.
47FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] = "2222=22"
Patrick Williams7784c422022-11-17 07:29:11 -060048FVP_CONFIG[bp.virtio_rng.enabled] ?= "1"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060049FVP_CONFIG[cache_state_modelled] ?= "0"
50FVP_CONFIG[bp.secureflashloader.fname] ?= "bl1-fvp.bin"
51FVP_CONFIG[bp.flashloader0.fname] ?= "fip-fvp.bin"
52FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${IMAGE_NAME}.wic"
53# Set the baseline to ARMv8.4, as the default is 8.0.
54FVP_CONFIG[cluster0.has_arm_v8-4] = "1"
55FVP_CONFIG[cluster1.has_arm_v8-4] = "1"
56FVP_CONSOLES[default] = "terminal_0"
57FVP_TERMINALS[bp.terminal_0] ?= "Console"
58FVP_TERMINALS[bp.terminal_1] ?= ""
59FVP_TERMINALS[bp.terminal_2] ?= ""
60FVP_TERMINALS[bp.terminal_3] ?= ""