mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-21 05:27:02 +00:00
2de4b3c893
This commit updates Tfa SHA to remove the patches from the recipe since all of them are upstreamed now. Signed-off-by: Emekcan Aras emekcan.aras@arm.com Signed-off-by: Jon Mason <jon.mason@arm.com>
69 lines
1.9 KiB
HTML
69 lines
1.9 KiB
HTML
require conf/machine/include/arm/armv8a/tune-cortexa35.inc
|
|
|
|
MACHINEOVERRIDES =. "corstone1000:"
|
|
|
|
# TF-A
|
|
TFA_PLATFORM = "corstone1000"
|
|
PREFERRED_VERSION_trusted-firmware-a ?= "2.6%"
|
|
EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-a"
|
|
|
|
TFA_BL2_BINARY = "bl2-corstone1000.bin"
|
|
TFA_FIP_BINARY = "fip-corstone1000.bin"
|
|
|
|
# TF-M
|
|
PREFERRED_VERSION_trusted-firmware-m ?= "1.5%"
|
|
TFM_PLATFORM = "arm/corstone1000"
|
|
EXTRA_IMAGEDEPENDS += "virtual/trusted-firmware-m"
|
|
|
|
# TF-M settings for signing host images
|
|
TFA_BL2_RE_IMAGE_LOAD_ADDRESS = "0x62353000"
|
|
TFA_BL2_RE_SIGN_BIN_SIZE = "0x2d000"
|
|
TFA_FIP_RE_IMAGE_LOAD_ADDRESS = "0x68130000"
|
|
TFA_FIP_RE_SIGN_BIN_SIZE = "0x00200000"
|
|
RE_LAYOUT_WRAPPER_VERSION = "0.0.7"
|
|
TFM_SIGN_PRIVATE_KEY = "${S}/bl2/ext/mcuboot/root-RSA-3072_1.pem"
|
|
RE_IMAGE_OFFSET = "0x1000"
|
|
|
|
# u-boot
|
|
PREFERRED_VERSION_u-boot ?= "2021.07"
|
|
EXTRA_IMAGEDEPENDS += "u-boot"
|
|
|
|
UBOOT_CONFIG ??= "EFI"
|
|
UBOOT_CONFIG[EFI] = "corstone1000_defconfig"
|
|
UBOOT_ENTRYPOINT = "0x80000000"
|
|
UBOOT_LOADADDRESS = "0x80000000"
|
|
UBOOT_BOOTARGS = "earlycon=pl011,0x1a510000 console=ttyAMA0 loglevel=9"
|
|
UBOOT_ARCH = "arm"
|
|
UBOOT_EXTLINUX = "0"
|
|
|
|
# optee
|
|
EXTRA_IMAGEDEPENDS += "optee-os"
|
|
OPTEE_ARCH = "arm64"
|
|
OPTEE_BINARY = "tee-pager_v2.bin"
|
|
|
|
# Trusted Services(TS)
|
|
EXTRA_IMAGEDEPENDS += "secure-partitions"
|
|
|
|
# Linux kernel
|
|
PREFERRED_PROVIDER_virtual/kernel:forcevariable = "linux-yocto"
|
|
PREFERRED_VERSION_linux-yocto = "5.10%"
|
|
KERNEL_IMAGETYPE = "Image"
|
|
|
|
INITRAMFS_IMAGE_BUNDLE ?= "1"
|
|
|
|
RDEPENDS:${KERNEL_PACKAGE_NAME}-base ?= ""
|
|
|
|
#telling the build system which image is responsible of the generation of the initramfs rootfs
|
|
INITRAMFS_IMAGE = "corstone1000-initramfs-image"
|
|
|
|
# enable this feature for kernel debugging
|
|
# MACHINE_FEATURES += "corstone1000_kernel_debug"
|
|
|
|
# login terminal serial port settings
|
|
SERIAL_CONSOLES ?= "115200;ttyAMA0"
|
|
|
|
# making sure EXTRA_IMAGEDEPENDS will be used while creating the image
|
|
WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}"
|
|
|
|
WKS_FILE ?= "corstone1000-image.corstone1000.wks"
|