mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-01-12 01:20:20 +00:00
conf/machine/omapl138: correct few of the machine settings
Cleanup and unify again - omapl138-lcdk is the only platform supported in the OMAP-L1 family. Plus there's no longer DaVinci family with corresponding settings. Adjust accordingly. Please note, there's currently a bug building Rust on ARMv5 platforms: https://bugzilla.yoctoproject.org/show_bug.cgi?id=14967 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
92fdd13c1c
commit
0ae9fbb11c
@@ -1,2 +0,0 @@
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY:append = ":omapl1"
|
||||
@@ -1,2 +1,14 @@
|
||||
require conf/machine/include/omapl1.inc
|
||||
require conf/machine/include/ti-soc.inc
|
||||
SOC_FAMILY:append = ":omapl138"
|
||||
|
||||
require conf/machine/include/arm/armv5/tune-arm926ejs.inc
|
||||
|
||||
KERNEL_IMAGETYPE = "zImage"
|
||||
|
||||
PREFERRED_PROVIDER_virtual/kernel ?= "linux-ti-staging"
|
||||
PREFERRED_PROVIDER_virtual/bootloader = "u-boot-ti-staging"
|
||||
PREFERRED_PROVIDER_u-boot = "u-boot-ti-staging"
|
||||
|
||||
EXTRA_IMAGEDEPENDS += "virtual/bootloader"
|
||||
|
||||
MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa"
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#@NAME: OMAP-L138 LCDK
|
||||
#@DESCRIPTION: Machine configuration for the TI OMAP-L138 LCDK board
|
||||
|
||||
require conf/machine/include/davinci.inc
|
||||
require conf/machine/include/omapl138.inc
|
||||
|
||||
UBOOT_MACHINE = "omapl138_lcdk_config"
|
||||
|
||||
@@ -55,7 +55,6 @@ SYSROOT_DIRS += "/boot"
|
||||
# SPL (Second Program Loader) to be loaded over UART
|
||||
SPL_UART_BINARY = "u-boot-spl.bin"
|
||||
SPL_UART_BINARY:k3r5 = ""
|
||||
SPL_UART_BINARY:lego-ev3 = ""
|
||||
|
||||
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
|
||||
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
# Upstream kernel-devicetree.bbclass only supports bundling the DTB with
|
||||
# zImage. The factory u-boot on lego-ev3 EEPROM only supports uImage, so we
|
||||
# append the DTB to the final uImage here.
|
||||
|
||||
do_deploy:append() {
|
||||
if [ "${KERNEL_DEVICETREE_BUNDLE}" = "1" ]; then
|
||||
install -d ${DEPLOYDIR}
|
||||
for dtbf in ${KERNEL_DEVICETREE}; do
|
||||
dtb=`normalize_dtb "$dtbf"`
|
||||
dtb_ext=${dtb##*.}
|
||||
dtb_base_name=`basename $dtb .$dtb_ext`
|
||||
for type in ${KERNEL_IMAGETYPE_FOR_MAKE}; do
|
||||
if [ "$type" = "uImage" ]; then
|
||||
cat ${D}/${KERNEL_IMAGEDEST}/$type \
|
||||
${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
|
||||
> ${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin
|
||||
ln -sf $type-$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext.bin \
|
||||
${DEPLOYDIR}/$type-$dtb_base_name-${KERNEL_DTB_LINK_NAME}.$dtb_ext.bin
|
||||
cat ${D}/${KERNEL_IMAGEDEST}/$type \
|
||||
${DEPLOYDIR}/$dtb_base_name-${KERNEL_DTB_NAME}.$dtb_ext \
|
||||
> ${DEPLOYDIR}/$type
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
}
|
||||
@@ -8,7 +8,6 @@ inherit kernel
|
||||
DEFCONFIG_BUILDER = "${S}/ti_config_fragments/defconfig_builder.sh"
|
||||
require recipes-kernel/linux/setup-defconfig.inc
|
||||
require recipes-kernel/linux/ti-uio.inc
|
||||
require recipes-kernel/linux/bundle-devicetree.inc
|
||||
require recipes-kernel/linux/kernel-rdepends.inc
|
||||
require recipes-kernel/linux/ti-kernel.inc
|
||||
|
||||
|
||||
@@ -104,8 +104,5 @@ export TI_CGT7X_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_CGT7X_INSTALL_DI
|
||||
export TI_K3_SECDEV_INSTALL_DIR = "${STAGING_DIR_NATIVE}${TI_K3_SECDEV_INSTALL_DIR_RECIPE}"
|
||||
|
||||
|
||||
DSPSUFFIX:omapl137 = "x674"
|
||||
DSPSUFFIX:omapl138 = "x674"
|
||||
DSPSUFFIX_ti816x = "xe674"
|
||||
DSPSUFFIX_ti814x = "xe674"
|
||||
DSPSUFFIX ?= "x64P"
|
||||
|
||||
Reference in New Issue
Block a user