Lean Sheng Tan | 307a0ef | 2024-03-15 14:18:53 +0100 | [diff] [blame^] | 1 | #@TYPE: Machine |
| 2 | #@NAME: Armv8-A Base Platform FVP machine |
| 3 | #@DESCRIPTION: Machine configuration for Armv8-A Base Platform FVP model |
| 4 | |
| 5 | include fvp-config.inc |
| 6 | |
| 7 | require conf/distro/include/phosphor-mmc.inc |
| 8 | require conf/machine/include/arm/arch-armv8-4a.inc |
| 9 | require conf/distro/include/pldm.inc |
| 10 | require conf/machine/include/obmc-evb-common.inc |
| 11 | require conf/machine/include/obmc-bsp-common.inc |
| 12 | |
| 13 | INHERIT += "fvpboot" |
| 14 | |
| 15 | IMAGE_FSTYPES = "wic" |
| 16 | WKS_FILE = "emmc-fvp.wks.in" |
| 17 | IMAGE_BOOT_FILES = "fitImage-fvp.bin;fitImage" |
| 18 | |
| 19 | SERIAL_CONSOLES = "115200;ttyAMA0" |
| 20 | |
| 21 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 22 | KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb" |
| 23 | KERNEL_IMAGETYPE = "fitImage" |
| 24 | |
| 25 | EXTRA_IMAGEDEPENDS += "trusted-firmware-a" |
| 26 | |
| 27 | UBOOT_MACHINE = "vexpress_fvp_defconfig" |
| 28 | |
| 29 | EXTRA_IMAGEDEPENDS += "u-boot" |
| 30 | |
| 31 | FIT_ADDRESS_CELLS = "2" |
| 32 | UBOOT_LOADADDRESS = "0xa0000000" |
| 33 | UBOOT_ENTRYPOINT = "0xa0000000" |
| 34 | |
| 35 | INITRAMFS_IMGAGE = "core-image-minimal-initramfs" |
| 36 | INITRAMFS_IMAGE_BUNDLE = "1" |
| 37 | |
| 38 | IMAGE_INSTALL:append = "\ |
| 39 | ssh-pregen-hostkeys \ |
| 40 | pldm \ |
| 41 | " |
| 42 | |
| 43 | PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fvp-apps" |
| 44 | PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fvp-apps" |
| 45 | PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fvp-apps" |
| 46 | PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fvp-apps" |
| 47 | PREFERRED_PROVIDER_virtual/obmc-inventory-data = "packagegroup-fvp-apps" |
| 48 | PREFERRED_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 |
| 51 | PACKAGECONFIG:remove:pn-systemd = "timesyncd" |