Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 1 | # 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 | |
| 7 | require conf/machine/include/arm/armv8r/arch-armv8r64.inc |
| 8 | |
| 9 | EXTRA_IMAGEDEPENDS += "boot-wrapper-aarch64" |
| 10 | |
| 11 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame] | 12 | PREFERRED_VERSION_u-boot ?= "2022.10" |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 13 | |
| 14 | KERNEL_IMAGETYPE = "Image" |
| 15 | KERNEL_DEVICETREE = "arm/fvp-baser-aemv8r64.dtb" |
| 16 | |
| 17 | UBOOT_MACHINE ?= "vexpress_aemv8r_defconfig" |
| 18 | |
| 19 | SERIAL_CONSOLES = "115200;ttyAMA0" |
| 20 | |
| 21 | IMAGE_CLASSES:append = " fvpboot" |
| 22 | IMAGE_FSTYPES += "wic" |
| 23 | WKS_FILE ?= "efi-disk.wks.in" |
| 24 | EFI_PROVIDER ?= "grub-efi" |
| 25 | MACHINE_FEATURES:append = " efi" |
| 26 | |
| 27 | # As this is a virtual target that will not be used in the real world there is |
Andrew Geissler | ea144b0 | 2023-01-27 16:03:57 -0600 | [diff] [blame] | 28 | # no need for real SSH keys. |
Brad Bishop | bec4ebc | 2022-08-03 09:55:16 -0400 | [diff] [blame] | 29 | MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys" |
| 30 | |
| 31 | # testimage configuration |
| 32 | TEST_TARGET = "OEFVPSerialTarget" |
| 33 | TEST_SUITES = "linuxboot" |
| 34 | TEST_TARGET_IP ?= "127.0.0.1:8022" |
| 35 | TEST_SERVER_IP ?= "127.0.1.1" |
| 36 | |
| 37 | FVP_EXTRA_ARGS = "-a cluster0*=${DEPLOY_DIR_IMAGE}/linux-system.axf" |
| 38 | FVP_PROVIDER ?= "fvp-base-r-aem-native" |
| 39 | FVP_EXE ?= "FVP_BaseR_AEMv8R" |
| 40 | FVP_CONSOLE ?= "terminal_0" |
| 41 | |
| 42 | # FVP parameters |
| 43 | FVP_CONFIG[bp.exclusive_monitor.monitor_access_level] ?= "2" |
| 44 | FVP_CONFIG[bp.refcounter.non_arch_start_at_default] ?= "1" |
| 45 | FVP_CONFIG[bp.refcounter.use_real_time] ?= "1" |
| 46 | FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1" |
| 47 | FVP_CONFIG[bp.virtio_net.enabled] ?= "1" |
| 48 | FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] ?= "8022=22" |
| 49 | FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" |
| 50 | FVP_CONFIG[bp.virtio_net.secure_accesses] = "1" |
| 51 | FVP_CONFIG[bp.virtio_rng.enabled] ?= "1" |
| 52 | FVP_CONFIG[bp.virtio_rng.secure_accesses] = "1" |
| 53 | FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic" |
| 54 | FVP_CONFIG[bp.virtioblockdevice.secure_accesses] = "1" |
| 55 | FVP_CONFIG[cache_state_modelled] ?= "0" |
| 56 | FVP_CONFIG[cci400.force_on_from_start] = "1" |
| 57 | FVP_CONFIG[cluster0.gicv3.cpuintf-mmap-access-level] ?= "2" |
| 58 | FVP_CONFIG[cluster0.gicv3.extended-interrupt-range-support] ?= "1" |
| 59 | FVP_CONFIG[cluster0.gicv3.SRE-EL2-enable-RAO] ?= "1" |
| 60 | FVP_CONFIG[cluster0.gicv3.SRE-enable-action-on-mmap] ?= "2" |
| 61 | FVP_CONFIG[cluster0.has_aarch64] ?= "1" |
| 62 | FVP_CONFIG[gic_distributor.GICD_CTLR-DS-1-means-secure-only] ?= "1" |
| 63 | FVP_CONFIG[gic_distributor.has-two-security-states] ?= "0" |