Skip to contentSkip to conversation

Update to latest kernel and uboot

PATCH In review praneeth 2 participants 9 messages Jun 9, 2021 – Jun 11, 2021

lore
Share & tools
lore

praneeth

author
#0 lore raw

v2 cover Update to latest kernel and uboot

From: Praneeth Bajjuri <[email protected]>

This series updates meta-ti to latest u-boot and kernel branches.

u-boot: https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2021.01&id=c66dd9b8467472278803c2426098a2828c93ebcc

kernel: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-5.10.y&id=30e2abf77fce04c08e2813af45d6af7aee4c42bf

rt-kernel: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-rt-linux-5.10.y&id=548b9ee2b58177d1746a941da67b649e411457af

Along with this kernel update, Support for the following dtb/o is added.

* J721e PM1 SOM
* AM65 display
* AM64 icssg1-dualemac

linux-ti-staging: Update 5.10 kernel to the latest commit SHA is based on dunfell-next and it current dunfell-next has
2de2c5ec linux-ti-staging: Update 5.10 kernel to the latest commit SHA 6983b50e linux-ti-staging: Update 5.10 kernel to 5.10.35

So if anyone wants to apply to dunfell or master ensure you pick the associated patches from dunfell-next too.

Patches will apply cleanly when dunfell-next is synced to dunfell and to master branches.

--

Changes since V1:
* Added cover-letter.
* consolidated all patches in a order.
* Updated 5.10 kernel sha
* Added J721E PM1 SOM

Praneeth Bajjuri (5):
ti-uboot-staging: Update to the latest ti-u-boot-2021.01
linux-ti-staging: Update 5.10 kernel to the latest commit SHA
conf: am65xx-evm: ReIntroduce display overlays for 5.10 conf/machine: am64xx: Add overlay to support icssg1-dualemac
conf: j7-evm: ReIntroduce pm1 SOM with tps65917 PMIC

 conf/machine/include/am64xx.inc                  | 1 +
 conf/machine/include/am65xx.inc                  | 2 ++
 conf/machine/j7-evm.conf                         | 1 +
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb  | 4 ++--
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
 recipes-kernel/linux/linux-ti-staging_5.10.bb    | 2 +-
 6 files changed, 8 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH v2 1/5 ti-uboot-staging: Update to the latest ti-u-boot-2021.01

From: Praneeth Bajjuri <[email protected]>

Update to the latest commit of ti-u-boot-2021.01

---
 recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
index 437f6eba..4c3f0a47 100644
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r6"
+PR = "r7"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510"
+SRCREV = "c66dd9b8467472278803c2426098a2828c93ebcc"
Signature · 1 line
2.17.1
#2 lore raw

Re: [dunfell/master PATCHv2 1/5] ti-uboot-staging: Update to the latest ti-u-boot-2021.01

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb require u-boot-ti.inc · line 9

Quoted 13 lines · Praneeth Bajjuri
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
 LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r6"
+PR = "r7"
 
 BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510"
+SRCREV = "c66dd9b8467472278803c2426098a2828c93ebcc"

Unfortunately this change breaks booting on AM64 EVM. No output whatsoever on the serial console (port 0 of the FTDI). Reverting to SRCREV = "a6e78929575b..." made booting work again.

Let me know if you want me to bisect or test anything specific.

On the plus side, PRU Ethernet seems to work out of the box with the latest changes on the dunfell branch, which is great.

Thanks,

Lukas

author
#3 lore raw

Re: [dunfell/master PATCHv2 1/5] ti-uboot-staging: Update to the latest ti-u-boot-2021.01

Quoted 19 lines · Lukas Wunner

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb require u-boot-ti.inc · line 9

Quoted 13 lines · Praneeth Bajjuri
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +2 -2
@@ -2,8 +2,8 @@ require u-boot-ti.inc
 
  LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
 
-PR = "r6"
+PR = "r7"
 
  BRANCH = "ti-u-boot-2021.01"
 
-SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510"
+SRCREV = "c66dd9b8467472278803c2426098a2828c93ebcc"

Unfortunately this change breaks booting on AM64 EVM. No output whatsoever on the serial console (port 0 of the FTDI). Reverting to SRCREV = "a6e78929575b..." made booting work again.

Quoted 4 lines

Let me know if you want me to bisect or test anything specific.

On the plus side, PRU Ethernet seems to work out of the box with the latest changes on the dunfell branch, which is great.

Thanks for the input Lukas, Will investigate the boot issue further

Quoted 5 lines

Thanks,

Lukas

author
#4 lore raw

Re: [dunfell/master PATCHv2 1/5] ti-uboot-staging: Update to the latest ti-u-boot-2021.01

Quoted 18 lines · Praneeth
Quoted 15 lines · Lukas Wunner

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb require u-boot-ti.inc · line 9

Quoted 9 lines · Praneeth Bajjuri
recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +0 -0
@@ -2,8 +2,8 @@ require u-boot-ti.inc

  LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +1 -1
-PR = "r6"
+PR = "r7"

  BRANCH = "ti-u-boot-2021.01"

recipes-bsp/u-boot/u-boot-ti-staging_2021.01.bb +1 -1
-SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510"
+SRCREV = "c66dd9b8467472278803c2426098a2828c93ebcc"

Unfortunately this change breaks booting on AM64 EVM. No output whatsoever on the serial console (port 0 of the FTDI). Reverting to SRCREV = "a6e78929575b..." made booting work again.

Quoted 6 lines
Quoted 4 lines

Let me know if you want me to bisect or test anything specific.

On the plus side, PRU Ethernet seems to work out of the box with the latest changes on the dunfell branch, which is great.

Thanks for the input Lukas, Will investigate the boot issue further

This should fix the boot issue. I just verified:
Ref: https://lists.yoctoproject.org/g/meta-ti/message/13831

Quoted 6 lines
Quoted 6 lines

Thanks,

Lukas

author
#5 lore raw

PATCH v2 2/5 linux-ti-staging: Update 5.10 kernel to the latest commit SHA

In reply to praneeth

From: Praneeth Bajjuri <[email protected]>

Update 5.10 kernel to the latest commit SHA

---
 recipes-kernel/linux/linux-ti-staging-rt_5.10.bb | 2 +-
 recipes-kernel/linux/linux-ti-staging_5.10.bb    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
recipes-kernel/linux/linux-ti-staging-rt_5.10.bb +1 -1
index 834df5ff..0a4b4c15 100644
@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
 
 BRANCH = "ti-rt-linux-5.10.y"
 
-SRCREV = "433ef931c699f08bef8c67de8458302c5f971c8b"
+SRCREV = "548b9ee2b58177d1746a941da67b649e411457af"
 PV = "5.10.35+git${SRCPV}"
recipes-kernel/linux/linux-ti-staging_5.10.bb +1 -1
index 47f1669e..ce6db795 100644
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-linux-5.10.y"
 
-SRCREV = "ae876c7c91df646ab198331e676f250f06cfdeb5"
+SRCREV = "30e2abf77fce04c08e2813af45d6af7aee4c42bf"
 PV = "5.10.35+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
Signature · 1 line
2.17.1
author
#6 lore raw

PATCH v2 3/5 conf: am65xx-evm: ReIntroduce display overlays for 5.10

In reply to praneeth

From: Praneeth Bajjuri <[email protected]>

commit 9ea50db095f9 ("conf: am65xx-evm: Remove non-existent dtb* from 5.10") removed all non-existent dtb* for am65xx-evm as they were not available on linux 5.10 branch at that time.

This patch reintroduces following display overlays.
- k3-am654-evm-tc358876.dtbo
- k3-am654-evm-oldi-lcd1evm.dtbo

---
 conf/machine/include/am65xx.inc | 2 ++
 1 file changed, 2 insertions(+)
conf/machine/include/am65xx.inc +2 -0
index 7cc3ddcc..8516ca4c 100644
@@ -15,6 +15,8 @@ KERNEL_DEVICETREE = " \
     ti/k3-am654-sr1.dtbo \
     ti/k3-am654-pcie-usb2.dtbo \
     ti/k3-am654-pcie-usb3.dtbo \
+    ti/k3-am654-evm-tc358876.dtbo \
+    ti/k3-am654-evm-oldi-lcd1evm.dtbo \
 "
 
 BBMULTICONFIG += "k3r5-sr2"
Signature · 1 line
2.17.1
author
#7 lore raw

PATCH v2 4/5 conf/machine: am64xx: Add overlay to support icssg1-dualemac

In reply to praneeth

From: Praneeth Bajjuri <[email protected]>

This patch adds overlay to support icssg1-dualemac
ie: 1 x CPSW3g ports and 2 x ICSSG1 ports configuration

overlay: k3-am642-evm-icssg1-dualemac.dtbo

---
 conf/machine/include/am64xx.inc | 1 +
 1 file changed, 1 insertion(+)
conf/machine/include/am64xx.inc +1 -0
index a46a50ed..95fdc79d 100644
@@ -9,6 +9,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 KERNEL_DEVICETREE = " \
     ti/k3-am642-evm.dtb \
     ti/k3-am642-sk.dtb \
+    ti/k3-am642-evm-icssg1-dualemac.dtbo \
 "
 
 # AM64 supports multi-certificate images, use the same
Signature · 1 line
2.17.1
author
#8 lore raw

PATCH v2 5/5 conf: j7-evm: ReIntroduce pm1 SOM with tps65917 PMIC

In reply to praneeth

From: Praneeth Bajjuri <[email protected]>

commit 8b206b32ec18 ("conf: j7-evm: Remove unavailable dtb/o from 5.10 kernel") removed all non-existent dtb* for j7-evm as they were not available on linux 5.10 branch at that time.

Since the support for pm1 SOM with tps65917 PMIC is added in ti-linux-5.10.y by commit dd97d0bbafb7 ("arm64: dts: ti: k3-j721e: Add support for pm1 SOM with tps65917 PMIC")

This patch adds the support back with the supported dtb.

---
 conf/machine/j7-evm.conf | 1 +
 1 file changed, 1 insertion(+)
conf/machine/j7-evm.conf +1 -0
index 4e9d18a7..6bdb3cf1 100644
@@ -11,6 +11,7 @@ SERIAL_CONSOLES_CHECK = "${SERIAL_CONSOLES}"
 
 KERNEL_DEVICETREE = " \
     ti/k3-j721e-common-proc-board.dtb \
+    ti/k3-j721e-proc-board-tps65917.dtb \
     ti/k3-j721e-common-proc-board-infotainment.dtbo \
 "
 
Signature · 1 line
2.17.1