blob: dfc850db780475a92dbff9e0f875cae90e3fd64c [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001#@TYPE: Machine
2#@NAME: Corstone-500 machine
3#@DESCRIPTION: Machine configuration for the Corstone-500 platform
4
5require conf/machine/include/arm/armv7a/tune-cortexa5.inc
6
7# Corstone-500 is built against poky-tiny distro.
8# poky-tiny sets PREFERRED_PROVIDER_virtual/kernel to linux-yocto-tiny.
9# Since distro config is evaluated after the machine config, we need to
10# use the strongest override possible (forcevariable) so the
11# PREFERRED_PROVIDER_virtual/kernel specified in the machine config will
12# apply.
13#
14PREFERRED_PROVIDER_virtual/kernel:forcevariable = "linux-yocto"
Patrick Williams2194f502022-10-16 14:26:09 -050015PREFERRED_VERSION_linux-yocto ?= "5.19%"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040016
17EXTRA_IMAGEDEPENDS += "trusted-firmware-a u-boot"
18
19IMAGE_CLASSES += "wic_nopt"
20IMAGE_FEATURES += "debug-tweaks"
21IMAGE_FSTYPES:forcevariable = "cpio.gz squashfs wic wic.nopt"
22
23SERIAL_CONSOLES = "115200;ttyAMA0"
24
25# Corstone-500 u-boot configuration
26UBOOT_MACHINE = "corstone500_defconfig"
27UBOOT_IMAGE_ENTRYPOINT = "0x84000000"
28UBOOT_IMAGE_LOADADDRESS = "0x84000000"
Andrew Geisslerea144b032023-01-27 16:03:57 -060029PREFERRED_VERSION_u-boot ?= "2022.10"
Brad Bishopbec4ebc2022-08-03 09:55:16 -040030
31# making sure EXTRA_IMAGEDEPENDS will be used while creating the image
32WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
33
34WKS_FILE ?= "core-image-minimal.corstone500.wks"
35
36TEST_TARGET = "OEFVPSerialTarget"
37TEST_SUITES = "linuxboot"
38
39FVP_PROVIDER ?= "fvp-corstone500-native"
40FVP_EXE ?= "FVP_Corstone-500"
41FVP_CONFIG[board.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1.bin"
42FVP_DATA ?= "css.cluster.cpu0=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic.nopt@0x80000000"
43FVP_CONSOLE ?= "terminal_0"
44FVP_TERMINALS[css.terminal_0] ?= "console"
45FVP_TERMINALS[css.terminal_1] ?= ""