mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Set the default value of TI_WKS_BOOTLOADER_APPEND to
"console=${KERNEL_CONSOLE}" to populate the kernel cmdline console
variable for all k3 devices.
Also define SERIAL_CONSOLES for am64xx.inc, since it was previously
overriding TI_WKS_BOOTLOADER_APPEND directly for this functionality.
The KERNEL_CONSOLE variable provided by openembedded-core is a sane
default console parameter automatically populated by the first value in
the SERIAL_CONSOLES variable. Their UKI and EFI flows already use this
variable to ensure the kernel cmdline console value is set to something
machine appropriate.
Signed-off-by: Randolph Sapp <rs@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
64 lines
1.8 KiB
PHP
64 lines
1.8 KiB
PHP
# TI K3 Aarch64 profile for Cortex-A53/A72 cores
|
|
|
|
require conf/machine/include/ti-soc.inc
|
|
SOC_FAMILY:append = ":k3"
|
|
|
|
DEFAULTTUNE ?= "aarch64"
|
|
require conf/machine/include/arm/armv8a/tune-cortexa72-cortexa53.inc
|
|
|
|
require conf/machine/include/ti-bsp.inc
|
|
|
|
KERNEL_IMAGETYPE = "Image"
|
|
KERNEL_CLASSES += "kernel-fit-extra-artifacts"
|
|
|
|
UBOOT_ARCH = "arm"
|
|
UBOOT_DTB_LOADADDRESS = "0x88000000"
|
|
UBOOT_DTBO_LOADADDRESS = "0x88080000"
|
|
UBOOT_DTBO_OFFSET = "0x00010000"
|
|
|
|
SPL_BINARY = "tispl.bin"
|
|
SPL_BINARYNAME = "tispl.bin"
|
|
UBOOT_SUFFIX = "img"
|
|
|
|
FIT_KERNEL_SIGN_ENABLE = "1"
|
|
FIT_KERNEL_SIGN_KEYNAME ?= "custMpk"
|
|
FIT_KERNEL_SIGN_KEYDIR ?= "${TI_SECURE_DEV_PKG}/keys"
|
|
UBOOT_MKIMAGE_DTCOPTS = "-I dts -O dtb"
|
|
FIT_HASH_ALG ?= "sha512"
|
|
FIT_SIGN_ALG ?= "rsa4096"
|
|
|
|
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
|
|
|
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-image-image ti-kernel-fitimage"
|
|
|
|
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 optee-ftpm"
|
|
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "ti-pka-fw"
|
|
|
|
IMAGE_FSTYPES += "tar.xz wic.xz wic.bmap"
|
|
|
|
IMAGE_BOOT_FILES += "${SPL_BINARYNAME} u-boot.${UBOOT_SUFFIX} tiboot3.bin tiboot3-*-evm.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)}"
|
|
|
|
TI_WKS_BOOTLOADER_APPEND ?= "console=${KERNEL_CONSOLE}"
|
|
|
|
do_image_wic[depends] += "virtual/bootloader:do_deploy"
|
|
|
|
SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
|
|
|
|
FALCON_INCLUDE = ""
|
|
FALCON_INCLUDE:ti-falcon = "conf/machine/include/ti-falcon.inc"
|
|
|
|
require ${FALCON_INCLUDE}
|