diff options
author | Denys Dmytriyenko <denys@konsulko.com> | 2022-02-22 04:13:45 +0000 |
---|---|---|
committer | Ryan Eatmon <reatmon@ti.com> | 2022-02-22 12:01:38 -0600 |
commit | 20f3191aeb592dd889eeaf96a31526297de95306 (patch) | |
tree | aec879b9855ff8a54df171ee808e30ac26f1c80b /meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb | |
parent | bea4fd2c401af05b866bd6af1c4e501d31b7b420 (diff) | |
download | meta-ti-20f3191aeb592dd889eeaf96a31526297de95306.tar.gz |
meta-ti: create a sub-layer meta-ti-bsp from existing content
Extra sub-layers will be created next and relevant content moved across them.
Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
Diffstat (limited to 'meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb')
-rw-r--r-- | meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb new file mode 100644 index 00000000..1a0ec5df --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_5.10.bb | |||
@@ -0,0 +1,51 @@ | |||
1 | SECTION = "kernel" | ||
2 | SUMMARY = "Linux kernel for TI devices" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
5 | |||
6 | inherit kernel | ||
7 | |||
8 | DEFCONFIG_BUILDER = "${S}/ti_config_fragments/defconfig_builder.sh" | ||
9 | require recipes-kernel/linux/setup-defconfig.inc | ||
10 | require recipes-kernel/linux/cmem.inc | ||
11 | require recipes-kernel/linux/ti-uio.inc | ||
12 | require recipes-kernel/linux/bundle-devicetree.inc | ||
13 | require recipes-kernel/linux/kernel-rdepends.inc | ||
14 | require recipes-kernel/linux/ti-kernel.inc | ||
15 | |||
16 | # Look in the generic major.minor directory for files | ||
17 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}-5.10:" | ||
18 | |||
19 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT} \ | ||
20 | ${EXTRA_DTC_ARGS}" | ||
21 | |||
22 | S = "${WORKDIR}/git" | ||
23 | |||
24 | BRANCH = "ti-linux-5.10.y" | ||
25 | |||
26 | SRCREV = "dcc6bedb2c2bdb509709e4ae08303206e95ce6c2" | ||
27 | PV = "5.10.65+git${SRCPV}" | ||
28 | |||
29 | # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild | ||
30 | MACHINE_KERNEL_PR:append = "b" | ||
31 | PR = "${MACHINE_KERNEL_PR}" | ||
32 | |||
33 | KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git" | ||
34 | KERNEL_GIT_PROTOCOL = "git" | ||
35 | SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \ | ||
36 | file://defconfig" | ||
37 | |||
38 | FILES:${KERNEL_PACKAGE_NAME}-devicetree += "/${KERNEL_IMAGEDEST}/*.itb" | ||
39 | |||
40 | # Special configuration for remoteproc/rpmsg IPC modules | ||
41 | module_conf_rpmsg_client_sample = "blacklist rpmsg_client_sample" | ||
42 | module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg_bus" | ||
43 | module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus" | ||
44 | KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc" | ||
45 | KERNEL_MODULE_AUTOLOAD:append:j7 = " rpmsg_kdrv_switch" | ||
46 | |||
47 | # Disable SA2UL for AM64x HS and J7200 HS | ||
48 | module_conf_sa2ul:am64xx-hs-evm = "blacklist sa2ul" | ||
49 | KERNEL_MODULE_PROBECONF:append:am64xx-hs-evm = " sa2ul" | ||
50 | module_conf_sa2ul:j7200-hs-evm = "blacklist sa2ul" | ||
51 | KERNEL_MODULE_PROBECONF:append:j7200-hs-evm = " sa2ul" | ||