blob: bccea33ab3a9cacc8e34d72ddeaa4f2bc6950192 [file] [log] [blame]
Lean Sheng Tan307a0ef2024-03-15 14:18:53 +01001#@TYPE: Machine
2#@NAME: Armv8-A Base Platform FVP machine
3#@DESCRIPTION: Machine configuration for Armv8-A Base Platform FVP model
4
5include fvp-config.inc
6
7require conf/distro/include/phosphor-mmc.inc
8require conf/machine/include/arm/arch-armv8-4a.inc
Alexander Hansen9874fe32024-05-08 14:20:04 +02009require conf/distro/include/mctp.inc
Lean Sheng Tan307a0ef2024-03-15 14:18:53 +010010require conf/distro/include/pldm.inc
11require conf/machine/include/obmc-evb-common.inc
12require conf/machine/include/obmc-bsp-common.inc
13
14INHERIT += "fvpboot"
15
16IMAGE_FSTYPES = "wic"
17WKS_FILE = "emmc-fvp.wks.in"
18IMAGE_BOOT_FILES = "fitImage-fvp.bin;fitImage"
19
20SERIAL_CONSOLES = "115200;ttyAMA0"
21
22PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
23KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb"
24KERNEL_IMAGETYPE = "fitImage"
25
26EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
27
28UBOOT_MACHINE = "vexpress_fvp_defconfig"
29
30EXTRA_IMAGEDEPENDS += "u-boot"
31
32FIT_ADDRESS_CELLS = "2"
33UBOOT_LOADADDRESS = "0xa0000000"
34UBOOT_ENTRYPOINT = "0xa0000000"
35
36INITRAMFS_IMGAGE = "core-image-minimal-initramfs"
37INITRAMFS_IMAGE_BUNDLE = "1"
38
39IMAGE_INSTALL:append = "\
40 ssh-pregen-hostkeys \
41 pldm \
42"
43
44PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fvp-apps"
45PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fvp-apps"
46PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fvp-apps"
47PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fvp-apps"
48PREFERRED_PROVIDER_virtual/obmc-inventory-data = "packagegroup-fvp-apps"
49PREFERRED_PROVIDER_virtual/obmc-user-mgmt = "packagegroup-fvp-apps"
50
51# Disable "time jumped backwards" error as FVP could be out of sync with real time due to slower simulation
52PACKAGECONFIG:remove:pn-systemd = "timesyncd"