u-boot-ti-mainline: update to the latest 2022.10
PATCH 1/2 u-boot-ti-mainline: update to the latest 2022.10
From: Denys Dmytriyenko <[email protected]>
Update to the latest release version.
bzip2 license was added to the list, update checksum.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-mainline_git.bb +3 -3
@@ -1,10 +1,10 @@ require u-boot-ti.inc -LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1" PR = "r0" -PV = "2021.10" +PV = "2022.10" # For the un-initiated: # The actual URL you'd use with a git clone for example would be:
@@ -15,4 +15,4 @@ PV = "2021.10" # b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git" UBOOT_GIT_PROTOCOL = "https" -SRCREV = "d80bb749fab53da72c4a0e09b8c2d2aaa3103c91" +SRCREV = "4debc57a3da6c3f4d3f89a637e99206f4cea0a96"
Signature · 1 line
2.25.1
PATCH 2/2 linux-ti-next: add recipe for building linux-next
From: Denys Dmytriyenko <[email protected]>
Required for daily test plans. Can be enabled in local.conf or <distro>.conf:
PREFERRED_PROVIDER_virtual/kernel = "linux-ti-next" SRCREV:pn-linux-ti-next = "${AUTOREV}"
Only uses in-tree defconfigs, does not support config fragments, builds and packages in-tree DTBs.
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-kernel/linux/linux-ti-next_git.bb | 43 +++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb
meta-ti-bsp/recipes-kernel/linux/linux-ti-next_git.bb new file +43 -0
@@ -0,0 +1,43 @@ +SECTION = "kernel" +SUMMARY = "Linux-next kernel for TI devices" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +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" + +# 6.1.0-rc1+ version +SRCREV = "4d48f589d294ddc5e01d3b0dc7cecc55324c05ca" +PV = "6.1.0-rc1+git${SRCPV}" + +SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git;protocol=https;branch=master" + +def list_dtbs(dts_dir, dts_subdir): + import os + import fnmatch + matches = [] + + for root,dirnames,filenames in os.walk(os.path.join(dts_dir, dts_subdir)): + for filename in fnmatch.filter(filenames, '*.dtb'): + matches.append(os.path.join(dts_subdir, filename)) + for filename in fnmatch.filter(filenames, '*.dtbo'): + matches.append(os.path.join(dts_subdir, filename)) + return ' '.join(matches) + +DTS_SUBDIR = "" +DTS_SUBDIR:k3 = "ti" +KERNEL_DEVICETREE = "${@list_dtbs('${B}/arch/${ARCH}/boot/dts', '${DTS_SUBDIR}')}" +DEFCONFIG_NAME = "multi_v7_defconfig" +DEFCONFIG_NAME:k3 = "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} +}
Signature · 1 line
2.25.1