mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-20 19:53:43 +00:00
Set DEFAULTTUNE optimization in BSP from specific Cortex level to more generic armv7a, but keep thumb, neon and hard-float options enabled due to numerous BSP components requiring them. While enabling additional Cortex optimization might gain a tiny performance improvement, it makes binary feeds incompatible between A8, A9 and A15 machines, leads to unnecessary rebuilds and hides potential packaging or recipe issues. Hence the decision to enable Cortex optimization should be left to the Distro. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
35 lines
1017 B
PHP
35 lines
1017 B
PHP
SOC_FAMILY = "omap-a15"
|
|
require conf/machine/include/soc-family.inc
|
|
|
|
DEFAULTTUNE ?= "armv7athf-neon"
|
|
require conf/machine/include/tune-cortexa15.inc
|
|
|
|
# Increase this everytime you change something in the kernel
|
|
MACHINE_KERNEL_PR = "r7"
|
|
|
|
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-staging"
|
|
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
|
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
|
|
|
KERNEL_IMAGETYPE = "zImage"
|
|
|
|
UBOOT_ARCH = "arm"
|
|
UBOOT_ENTRYPOINT = "0x80008000"
|
|
UBOOT_LOADADDRESS = "0x80008000"
|
|
|
|
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
|
|
|
PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
|
|
XSERVER = "xserver-xorg \
|
|
xf86-input-evdev \
|
|
xf86-video-fbdev"
|
|
|
|
MACHINE_GUI_CLASS = "smallscreen"
|
|
|
|
# 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 = "kernel26 apm usbgadget usbhost vfat ext2 screen alsa ethernet sgx mmip"
|