1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-17 14:57:47 +00:00

meta-ti-bsp: add BeagleBone AI-64 support

BeagleBone AI-64 (https://beagleboard.org/ai-64) uses Texas Instruments
Jacinto TDA4VM/J721e SoC. Officially BeagleBone AI-64 supports Debian
Linux and builds its BSP on top of meta-ti and TI SDK, but adds custom
DTBs and DTBO overlays, plus integrates other drivers and features.

Let's add corresponding recipes for beagleboard.org kernel and u-boot
along with the BeagleBone AI-64 machine config.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Denys Dmytriyenko
2023-01-26 01:43:11 +00:00
committed by Ryan Eatmon
parent f50f55102f
commit 38941472e1
5 changed files with 153 additions and 0 deletions
@@ -0,0 +1,35 @@
SECTION = "kernel"
SUMMARY = "BeagleBoard.org Linux kernel"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
COMPATIBLE_MACHINE = "beagle.*"
inherit kernel
require recipes-kernel/linux/ti-kernel.inc
DEPENDS += "gmp-native libmpc-native"
KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} ${EXTRA_DTC_ARGS}"
S = "${WORKDIR}/git"
# 5.10.145 version
SRCREV = "9b11aaf2cdb1861ca74dc69d032a0f94cdd32bd6"
PV = "5.10.145+git${SRCPV}"
BRANCH = "5.10"
# 5.10.153 version
SRCREV:k3 = "11ebcc09f32669fac8254dff56d500f86c4c2caf"
PV:k3 = "5.10.153+git${SRCPV}"
BRANCH:k3 = "5.10-arm64"
SRC_URI = "git://git.beagleboard.org/beagleboard/linux.git;protocol=https;branch=${BRANCH}"
DEFCONFIG_NAME = "bb.org_defconfig"
KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${DEFCONFIG_NAME}"
kernel_do_compile:append() {
oe_runmake dtbs CC="${KERNEL_CC} $cc_extra " LD="${KERNEL_LD}" ${KERNEL_EXTRA_ARGS}
}