diff options
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2022-08-03 16:55:16 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2022-08-03 17:56:03 +0300 |
commit | bec4ebc22c43c1ff5c3fddb820d44a88bd3aebf0 (patch) | |
tree | cd378e3e0eaff8fe11880bd397f41671e2347a39 /meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf | |
parent | 79161d7a7126cad324ff0c11a93d8e57d80203ed (diff) | |
download | openbmc-bec4ebc22c43c1ff5c3fddb820d44a88bd3aebf0.tar.xz |
Import 80d60e7 from yoctoproject.org meta-arm
To support ARMv8 SoCs.
meta-arm has several patch files. Since they are maintained by the
upstream meta-arm community, add meta-arm to the ignore list in
run-repotest.
Change-Id: Ia87a2e947bbabd347d256eccc47a343e1c885479
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf')
-rw-r--r-- | meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf b/meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf new file mode 100644 index 0000000000..8119cb6818 --- /dev/null +++ b/meta-arm/meta-arm-bsp/conf/machine/fvp-baser-aemv8r64.conf @@ -0,0 +1,67 @@ +# Configuration for Fixed Virtual Platform BaseR AEMv8r64 Machine + +#@TYPE: Machine +#@NAME: FVP BaseR AEMv8r64 Machine +#@DESCRIPTION: Machine configuration for FVP BaseR AEMv8r64 + +require conf/machine/include/arm/armv8r/arch-armv8r64.inc + +EXTRA_IMAGEDEPENDS += "boot-wrapper-aarch64" + +PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" +PREFERRED_VERSION_linux-yocto ?= "5.15%" +PREFERRED_VERSION_linux-yocto-rt ?= "5.15%" +PREFERRED_VERSION_u-boot ?= "2022.07" + +KERNEL_IMAGETYPE = "Image" +KERNEL_DEVICETREE = "arm/fvp-baser-aemv8r64.dtb" + +UBOOT_MACHINE ?= "vexpress_aemv8r_defconfig" + +SERIAL_CONSOLES = "115200;ttyAMA0" + +IMAGE_CLASSES:append = " fvpboot" +IMAGE_FSTYPES += "wic" +WKS_FILE ?= "efi-disk.wks.in" +EFI_PROVIDER ?= "grub-efi" +MACHINE_FEATURES:append = " efi" + +# As this is a virtual target that will not be used in the real world there is +# no need for real SSH keys. Disable rng-tools (which takes too long to +# initialise) and install the pre-generated keys. +PACKAGECONFIG:remove:pn-openssh = "rng-tools" +MACHINE_EXTRA_RRECOMMENDS += "ssh-pregen-hostkeys" + +# testimage configuration +TEST_TARGET = "OEFVPSerialTarget" +TEST_SUITES = "linuxboot" +TEST_TARGET_IP ?= "127.0.0.1:8022" +TEST_SERVER_IP ?= "127.0.1.1" + +FVP_EXTRA_ARGS = "-a cluster0*=${DEPLOY_DIR_IMAGE}/linux-system.axf" +FVP_PROVIDER ?= "fvp-base-r-aem-native" +FVP_EXE ?= "FVP_BaseR_AEMv8R" +FVP_CONSOLE ?= "terminal_0" + +# FVP parameters +FVP_CONFIG[bp.exclusive_monitor.monitor_access_level] ?= "2" +FVP_CONFIG[bp.refcounter.non_arch_start_at_default] ?= "1" +FVP_CONFIG[bp.refcounter.use_real_time] ?= "1" +FVP_CONFIG[bp.ve_sysregs.exit_on_shutdown] ?= "1" +FVP_CONFIG[bp.virtio_net.enabled] ?= "1" +FVP_CONFIG[bp.virtio_net.hostbridge.userNetPorts] ?= "8022=22" +FVP_CONFIG[bp.virtio_net.hostbridge.userNetworking] ?= "1" +FVP_CONFIG[bp.virtio_net.secure_accesses] = "1" +FVP_CONFIG[bp.virtio_rng.enabled] ?= "1" +FVP_CONFIG[bp.virtio_rng.secure_accesses] = "1" +FVP_CONFIG[bp.virtioblockdevice.image_path] ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic" +FVP_CONFIG[bp.virtioblockdevice.secure_accesses] = "1" +FVP_CONFIG[cache_state_modelled] ?= "0" +FVP_CONFIG[cci400.force_on_from_start] = "1" +FVP_CONFIG[cluster0.gicv3.cpuintf-mmap-access-level] ?= "2" +FVP_CONFIG[cluster0.gicv3.extended-interrupt-range-support] ?= "1" +FVP_CONFIG[cluster0.gicv3.SRE-EL2-enable-RAO] ?= "1" +FVP_CONFIG[cluster0.gicv3.SRE-enable-action-on-mmap] ?= "2" +FVP_CONFIG[cluster0.has_aarch64] ?= "1" +FVP_CONFIG[gic_distributor.GICD_CTLR-DS-1-means-secure-only] ?= "1" +FVP_CONFIG[gic_distributor.has-two-security-states] ?= "0" |