Skip to contentSkip to conversation

linux-ti-mainline: Bump up the

PATCH New Nishanth Menon 1 participant 3 messages Dec 7, 2021

lore
Share & tools
lore
#0 lore raw

cover linux-ti-mainline: Bump up the

When we pickedup the update for u-boot to 2021.10, we needed to drop the hack we put in play for k3-image-gen for AM64x. While at it, we also should have bumped our kernel rev from 5.13 to 5.15. Since this has been long overdue, lets do that now.

Nishanth Menon (1):
Revert "ti-sci-fw: k3-image-gen: Revert SPL address change for
mainline"

Ryan Eatmon (1):
linux-ti-mainline: Bump kernel version to v5.15

 recipes-bsp/ti-linux-fw/ti-linux-fw.inc       | 11 ------
 ...-Makefile-Move-the-SPL-Load-address-.patch | 36 -------------------
 recipes-kernel/linux/linux-ti-mainline_git.bb |  8 ++---
 3 files changed, 4 insertions(+), 51 deletions(-)
 delete mode 100644 recipes-bsp/ti-sci-fw/files/0001-Revert-soc-am64x-Makefile-Move-the-SPL-Load-address-.patch
Signature · 1 line
2.31.1
#1 lore raw

PATCH 1/2 linux-ti-mainline: Bump kernel version to v5.15

From: Ryan Eatmon <[email protected]>

This adds up numerous fixes for various k3 platforms.

While at it, bump the ti-upstream-tools repo as this sync up gives us:
config: audio_display: Update cdns-mhdp configs

---
 recipes-kernel/linux/linux-ti-mainline_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
recipes-kernel/linux/linux-ti-mainline_git.bb +4 -4
index 5d043da7fee1..7491dae08218 100644
@@ -20,9 +20,9 @@ S = "${WORKDIR}/git"
 BRANCH = "master"
 TOOLS_BRANCH = "master"
 
-# 5.13 Mainline version
-SRCREV = "62fb9874f5da54fdb243003b386128037319b219"
-PV = "5.13+git${SRCPV}"
+# 5.15 Mainline version
+SRCREV = "8bb7eca972ad531c9b149c0a51ab43a417385813"
+PV = "5.15+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
 MACHINE_KERNEL_PR_append = "b"
@@ -36,7 +36,7 @@ SRC_URI += " \
     file://defconfig \
 "
 
-SRCREV_ti-upstream-tools = "c9b8150cb00a5beb7b7f3e42d0d817aa9392fabd"
+SRCREV_ti-upstream-tools = "0f60697843bba6f8d721b14da92b1652563ccb95"
 SRCREV_FORMAT = "linux"
 
 KERNEL_DEVICETREE = ""
Signature · 1 line
2.31.1
#2 lore raw

PATCH 2/2 Revert "ti-sci-fw: k3-image-gen: Revert SPL address change for mainline"

In reply to Nishanth Menon

This reverts commit d5db41417295fe05a293f6d4d77a65ef6563f6ed.

We should'nt have to carry patches for u-boot or kernel, since the upstream is now fixed since 5.14 kernel and u-boot 2021.10 tag onwards, lets revert the patch to allow upstream to work with 5.15+ kernel and 2021.10 u-boot (from the already applied commit cae609388f19 "recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release").

---
 recipes-bsp/ti-linux-fw/ti-linux-fw.inc       | 11 ------
 ...-Makefile-Move-the-SPL-Load-address-.patch | 36 -------------------
 2 files changed, 47 deletions(-)
 delete mode 100644 recipes-bsp/ti-sci-fw/files/0001-Revert-soc-am64x-Makefile-Move-the-SPL-Load-address-.patch
recipes-bsp/ti-linux-fw/ti-linux-fw.inc +0 -11
index d224f3535826..f16076865479 100644
@@ -32,15 +32,4 @@ SRC_URI = " \
 	git://git.ti.com/k3-image-gen/k3-image-gen.git;protocol=git;branch=master;destsuffix=imggen;name=imggen \
 "
 
-# This is a protection in case the definition is not present in other distros.
-ARAGO_BRAND ?= ""
-
-# Mainline u_boot 2021.07 and upstream kernel v5.13 tag cannot use new SPL address
-# in K3-Imagegen
-SRC_URI += "\
-	${@oe.utils.conditional('ARAGO_BRAND', 'mainline', '\
-	file://0001-Revert-soc-am64x-Makefile-Move-the-SPL-Load-address-.patch;patchdir=../imggen \
-	', '', d)} \
-"
-
 S = "${WORKDIR}/git"
recipes-bsp/ti-sci-fw/files/0001-Revert-soc-am64x-Makefile-Move-the-SPL-Load-address-.patch deleted +0 -36
deleted file mode 100644
index 63a5796d6b82..000000000000
@@ -1,36 +0,0 @@
-From 83d29d5e346083254e71fbe483cb14f6657b9965 Mon Sep 17 00:00:00 2001
-From: Nishanth Menon <[email protected]>
-Date: Tue, 29 Jun 2021 12:03:29 -0500
-Subject: [PATCH] Revert "soc: am64x: Makefile: Move the SPL Load address to
- 0x70000000"
-
-This reverts commit e411dc16862b5bb2d8befb12496b03d7b01c87b2.
-
-Mainline is NOT ready for the change yet as of u-boot 2021.07 + v5.13,
-So, this patch reverts the SPL address change.
-
-This patch needs to be dropped once mainline u-boot and kernel have
-migrated over to newer releases.
-
-Upstream-Status: Not applicable
-Signed-off-by: Nishanth Menon <[email protected]>
----
- soc/am64x/Makefile | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/soc/am64x/Makefile b/soc/am64x/Makefile
-index 45425428f9c6..e8747376f153 100644
---- a/soc/am64x/Makefile
-+++ b/soc/am64x/Makefile
-@@ -30,7 +30,7 @@
- #  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- #
- 
--SBL_LOADADDDR ?= 0x70000000
-+SBL_LOADADDDR ?= 0x70020000
- COMBINED_SYSFW_BRDCFG_LOADADDR ?= 0x70000
- LOADADDR  ?= 0x44000
- SCIFS = sci
--- 
-2.32.0
-
Signature · 1 line
2.31.1