blob: 8119cb6818458d23d4e8e8a626d3c5d4fd0a6591 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# Configuration for Fixed Virtual Platform BaseR AEMv8r64 Machine
2
3#@TYPE: Machine
4#@NAME: FVP BaseR AEMv8r64 Machine
5#@DESCRIPTION: Machine configuration for FVP BaseR AEMv8r64
6
7require conf/machine/include/arm/armv8r/arch-armv8r64.inc
8
9EXTRA_IMAGEDEPENDS += "boot-wrapper-aarch64"
10
11PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
12PREFERRED_VERSION_linux-yocto ?= "5.15%"
13PREFERRED_VERSION_linux-yocto-rt ?= "5.15%"
14PREFERRED_VERSION_u-boot ?= "2022.07"
15
16KERNEL_IMAGETYPE = "Image"
17KERNEL_DEVICETREE = "arm/fvp-baser-aemv8r64.dtb"
18
19UBOOT_MACHINE ?= "vexpress_aemv8r_defconfig"
20
21SERIAL_CONSOLES = "115200;ttyAMA0"
22
23IMAGE_CLASSES:append = " fvpboot"
24IMAGE_FSTYPES += "wic"
25WKS_FILE ?= "efi-disk.wks.in"
26EFI_PROVIDER ?= "grub-efi"
27MACHINE_FEATURES:append = " efi"
28
29# As this is a virtual target that will not be used in the real world there is
30# no need for real SSH keys. Disable rng-tools (which takes too long to
31# initialise) and install the pre-generated keys.
32PACKAGECONFIG:remove:pn-openssh = "rng-tools"
33MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys"
34
35# testimage configuration
36TEST_TARGET = "OEFVPSerialTarget"
37TEST_SUITES = "linuxboot"
38TEST_TARGET_IP ?= "127.0.0.1:8022"
39TEST_SERVER_IP ?= "127.0.1.1"
40
41FVP_EXTRA_ARGS = "-a cluster0*=${DEPLOY_DIR_IMAGE}/linux-system.axf"
42FVP_PROVIDER ?= "fvp-base-r-aem-native"
43FVP_EXE ?= "FVP_BaseR_AEMv8R"
44FVP_CONSOLE ?= "terminal_0"
45
46# FVP parameters
47FVP_CONFIG[bp.exclusive_monitor.monitor_access_level] ?= "2"
48FVP_CONFIG[bp.refcounter.non_arch_start_at_default] ?= "1"
49FVP_CONFIG[bp.refcounter.use_real_time] ?= "1"
50FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1"
51FVP_CONFIG[bp.virtio_net.enabled] ?= "1"
52FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] ?= "8022=22"
53FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1"
54FVP_CONFIG[bp.virtio_net.secure_accesses] = "1"
55FVP_CONFIG[bp.virtio_rng.enabled] ?= "1"
56FVP_CONFIG[bp.virtio_rng.secure_accesses] = "1"
57FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic"
58FVP_CONFIG[bp.virtioblockdevice.secure_accesses] = "1"
59FVP_CONFIG[cache_state_modelled] ?= "0"
60FVP_CONFIG[cci400.force_on_from_start] = "1"
61FVP_CONFIG[cluster0.gicv3.cpuintf-mmap-access-level] ?= "2"
62FVP_CONFIG[cluster0.gicv3.extended-interrupt-range-support] ?= "1"
63FVP_CONFIG[cluster0.gicv3.SRE-EL2-enable-RAO] ?= "1"
64FVP_CONFIG[cluster0.gicv3.SRE-enable-action-on-mmap] ?= "2"
65FVP_CONFIG[cluster0.has_aarch64] ?= "1"
66FVP_CONFIG[gic_distributor.GICD_CTLR-DS-1-means-secure-only] ?= "1"
67FVP_CONFIG[gic_distributor.has-two-security-states] ?= "0"