blob: 6d2294c2736e8e8f215099d0da6d723bc6b7ba66 [file] [log] [blame]
Andrew Geissler80d41842023-09-11 08:36:15 -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"
15PREFERRED_VERSION_linux-yocto ?= "6.1%"
16
17EXTRA_IMAGEDEPENDS += "trusted-firmware-a u-boot"
18
19IMAGE_CLASSES += "wic_nopt"
20IMAGE_FSTYPES:forcevariable = "cpio.gz squashfs wic wic.nopt"
21
22SERIAL_CONSOLES = "115200;ttyAMA0"
23
24# Corstone-500 u-boot configuration
25UBOOT_MACHINE = "corstone500_defconfig"
26UBOOT_IMAGE_ENTRYPOINT = "0x84000000"
27UBOOT_IMAGE_LOADADDRESS = "0x84000000"
28PREFERRED_VERSION_u-boot ?= "2023.01"
29
30# making sure EXTRA_IMAGEDEPENDS will be used while creating the image
31WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
32
33WKS_FILE ?= "core-image-minimal.corstone500.wks"
34
35TEST_TARGET = "OEFVPTarget"
36TEST_SUITES = "fvp_boot"
37
38FVP_PROVIDER ?= "fvp-corstone500-native"
39FVP_EXE ?= "FVP_Corstone-500"
40FVP_CONFIG[board.flashloader0.fname] ?= "bl1.bin"
41FVP_DATA ?= "css.cluster.cpu0=${IMAGE_NAME}.wic.nopt@0x80000000"
42FVP_CONSOLE ?= "terminal_0"
43FVP_TERMINALS[css.terminal_0] ?= "console"
44FVP_TERMINALS[css.terminal_1] ?= ""
45
46# Disable openssl in kmod to shink the initramfs size
47PACKAGECONFIG:remove:pn-kmod = "openssl"
48
49IMAGE_NAME_SUFFIX = ""