Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame^] | 1 | # FVP common parameters |
| 2 | |
| 3 | # |
| 4 | # Capturing FVP common configurations (Armv8-A Base Platform FVP, |
| 5 | # Armv8-A Foundation Platform and Armv7-A Base Platform FVP). |
| 6 | # |
| 7 | |
| 8 | MACHINE_FEATURES = "optee" |
| 9 | |
| 10 | IMAGE_FSTYPES += "wic" |
| 11 | WKS_FILE ?= "fvp-base.wks" |
| 12 | |
| 13 | SERIAL_CONSOLES = "115200;ttyAMA0" |
| 14 | |
| 15 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
| 16 | |
| 17 | KERNEL_DEVICETREE = "arm/fvp-base-revc.dtb" |
| 18 | |
| 19 | EXTRA_IMAGEDEPENDS += "trusted-firmware-a u-boot" |
| 20 | |
| 21 | # As this is a virtual target that will not be used in the real world there is |
| 22 | # no need for real SSH keys. Disable rng-tools (which takes too long to |
| 23 | # initialise) and install the pre-generated keys. |
| 24 | PACKAGECONFIG:remove:pn-openssh = "rng-tools" |
| 25 | MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys" |
| 26 | |
| 27 | TEST_TARGET = "OEFVPTarget" |
| 28 | |
| 29 | FVP_PROVIDER ?= "fvp-base-a-aem-native" |
| 30 | FVP_EXE ?= "FVP_Base_RevC-2xAEMvA" |
| 31 | FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1" |
| 32 | FVP_CONFIG[bp.virtio_net.enabled] ?= "1" |
| 33 | FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" |
| 34 | FVP_CONFIG[cache_state_modelled] ?= "0" |
| 35 | FVP_CONFIG[bp.secureflashloader.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1-fvp.bin" |
| 36 | FVP_CONFIG[bp.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/fip-fvp.bin" |
| 37 | FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic" |
| 38 | # Set the baseline to ARMv8.4, as the default is 8.0. |
| 39 | FVP_CONFIG[cluster0.has_arm_v8-4] = "1" |
| 40 | FVP_CONFIG[cluster1.has_arm_v8-4] = "1" |
| 41 | FVP_CONSOLE ?= "terminal_0" |
| 42 | FVP_DATA ?= "cluster0.cpu0=${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}@0x80080000 \ |
| 43 | cluster0.cpu0=${DEPLOY_DIR_IMAGE}/fvp-base-revc.dtb@0x8fc00000" |
| 44 | FVP_TERMINALS[bp.terminal_0] ?= "Console" |
| 45 | FVP_TERMINALS[bp.terminal_1] ?= "" |
| 46 | FVP_TERMINALS[bp.terminal_2] ?= "" |
| 47 | FVP_TERMINALS[bp.terminal_3] ?= "" |