blob: 1a65c6f5ece522967bd02f6dd8475d9d58f58647 [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
9require conf/distro/include/pldm.inc
10require conf/machine/include/obmc-evb-common.inc
11require conf/machine/include/obmc-bsp-common.inc
12
13INHERIT += "fvpboot"
14
15IMAGE_FSTYPES = "wic"
16WKS_FILE = "emmc-fvp.wks.in"
17IMAGE_BOOT_FILES = "fitImage-fvp.bin;fitImage"
18
19SERIAL_CONSOLES = "115200;ttyAMA0"
20
21PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
22KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb"
23KERNEL_IMAGETYPE = "fitImage"
24
25EXTRA_IMAGEDEPENDS += "trusted-firmware-a"
26
27UBOOT_MACHINE = "vexpress_fvp_defconfig"
28
29EXTRA_IMAGEDEPENDS += "u-boot"
30
31FIT_ADDRESS_CELLS = "2"
32UBOOT_LOADADDRESS = "0xa0000000"
33UBOOT_ENTRYPOINT = "0xa0000000"
34
35INITRAMFS_IMGAGE = "core-image-minimal-initramfs"
36INITRAMFS_IMAGE_BUNDLE = "1"
37
38IMAGE_INSTALL:append = "\
39 ssh-pregen-hostkeys \
40 pldm \
41"
42
43PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fvp-apps"
44PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fvp-apps"
45PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fvp-apps"
46PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fvp-apps"
47PREFERRED_PROVIDER_virtual/obmc-inventory-data = "packagegroup-fvp-apps"
48PREFERRED_PROVIDER_virtual/obmc-user-mgmt = "packagegroup-fvp-apps"
49
50# Disable "time jumped backwards" error as FVP could be out of sync with real time due to slower simulation
51PACKAGECONFIG:remove:pn-systemd = "timesyncd"