mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
- While implementing k3.inc, there was an assumption that all k3 based TI SOC's would always have a Cortex-R5F core [1]. This assumption is not true. - Hence, create a new mc_k3r5 include file & move the multiconfig dependencies to it. Also, include this file only in those k3 platforms which needs the R5 multiconfig support. [1]: https://git.ti.com/cgit/arago-project/meta-ti/commit/conf/machine/include/k3.inc?h=scarthgap&id=f814840465358a6b5429ad20165742ac6e6e6a29 Signed-off-by: Chirag Shilwant <c-shilwant@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
60 lines
1.6 KiB
PHP
60 lines
1.6 KiB
PHP
# TI K3 Aarch64 profile for Cortex-A53/A72 cores
|
|
|
|
require conf/machine/include/ti-soc.inc
|
|
SOC_FAMILY:append = ":k3"
|
|
|
|
require conf/machine/include/arm/arch-arm64.inc
|
|
|
|
require conf/machine/include/ti-bsp.inc
|
|
|
|
KERNEL_IMAGETYPE = "Image"
|
|
KERNEL_IMAGETYPES = "Image fitImage"
|
|
KERNEL_CLASSES += "kernel-fitimage"
|
|
|
|
UBOOT_ARCH = "arm"
|
|
UBOOT_ENTRYPOINT = "0x81000000"
|
|
UBOOT_LOADADDRESS = "0x81000000"
|
|
UBOOT_RD_LOADADDRESS = "0x84000000"
|
|
UBOOT_RD_ENTRYPOINT = "0x84000000"
|
|
UBOOT_DTB_LOADADDRESS = "0x83000000"
|
|
UBOOT_DTBO_LOADADDRESS = "0x83080000"
|
|
UBOOT_DTBO_OFFSET = "0x00010000"
|
|
|
|
SPL_BINARY = "tispl.bin"
|
|
SPL_BINARYNAME = "tispl.bin"
|
|
UBOOT_SUFFIX = "img"
|
|
|
|
UBOOT_SIGN_ENABLE = "1"
|
|
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
|
|
UBOOT_SIGN_KEYNAME ?= "custMpk"
|
|
UBOOT_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
|
|
FIT_HASH_ALG ?= "sha512"
|
|
FIT_SIGN_ALG ?= "rsa4096"
|
|
|
|
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image"
|
|
|
|
TFA_PLATFORM = "k3"
|
|
|
|
# Use the expected value of the ubifs filesystem's volume name in the kernel
|
|
# and u-boot.
|
|
UBI_VOLNAME = "rootfs"
|
|
|
|
# List common SoC features, may need to add touchscreen for specific machines
|
|
MACHINE_FEATURES = "apm usbgadget usbhost vfat ext2 alsa pci"
|
|
|
|
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
|
|
|
IMAGE_BOOT_FILES ?= "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
|
|
IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
|
|
|
|
EFI_PROVIDER ?= "grub-efi"
|
|
MACHINE_FEATURES += "efi"
|
|
|
|
WKS_FILE ?= "${@bb.utils.contains("MACHINE_FEATURES", "efi", "sdimage-2part-efi.wks.in", "sdimage-2part.wks", d)}"
|
|
|
|
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
|