Skip to contentSkip to conversation

ti-kernel: Apply RT config fragments to RT kernel defconfig

PATCH Superseded Bryan Brattlof 3 participants 4 messages Jun 1, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-kernel: Apply RT config fragments to RT kernel defconfig

For the v6.1 LTS kernel, we (TI) have moved to using defconfig fragments to build the different kernel configurations. To properly build a kernel with full preemption support, add the ti_arm64_rt.config to the linux-ti-staging-rt-6.1/k3/defconfig

---
 .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig +1 -1
index ef1d3efd50118..54dc86b407c7c 100644
@@ -1,2 +1,2 @@
 use-kernel-config=defconfig
-config-fragment=kernel/configs/ti_arm64_prune.config
+config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_arm64_rt.config

base-commit: 8fa9ec7dcd2e816cee18aaf7e8947b3eaee9923c

Signature · 1 line
2.40.1
#1 lore raw
Quoted 2 lines · Bryan Brattlof

For the v6.1 LTS kernel, we (TI) have moved to using defconfig fragments to build the different kernel configurations.

FWIW, config fragments have been in use for many years...

Otherwise LGTM.

Quoted 22 lines

To properly build a kernel
with full preemption support, add the ti_arm64_rt.config to the linux-ti-staging-rt-6.1/k3/defconfig

---
 .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig +1 -1
index ef1d3efd50118..54dc86b407c7c 100644
@@ -1,2 +1,2 @@
 use-kernel-config=defconfig
-config-fragment=kernel/configs/ti_arm64_prune.config
+config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_arm64_rt.config

base-commit: 8fa9ec7dcd2e816cee18aaf7e8947b3eaee9923c

Signature · 1 line
2.40.1
#2 lore raw
In reply to Bryan Brattlof
Quoted 8 lines · Bryan Brattlof

For the v6.1 LTS kernel, we (TI) have moved to using defconfig fragments to build the different kernel configurations. To properly build a kernel with full preemption support, add the ti_arm64_rt.config to the linux-ti-staging-rt-6.1/k3/defconfig

---
  .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-

Looks good for k3, what about non-k3 and omapl138?

Andrew

Quoted 12 lines
  1 file changed, 1 insertion(+), 1 deletion(-)
meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig +1 -1
index ef1d3efd50118..54dc86b407c7c 100644
@@ -1,2 +1,2 @@
  use-kernel-config=defconfig
-config-fragment=kernel/configs/ti_arm64_prune.config
+config-fragment=kernel/configs/ti_arm64_prune.config kernel/configs/ti_arm64_rt.config

base-commit: 8fa9ec7dcd2e816cee18aaf7e8947b3eaee9923c

#3 lore raw

Hi Andrew!

On June 1, 2023 thus sayeth Andrew Davis:

Quoted 6 lines · Bryan Brattlof
Quoted 5 lines

For the v6.1 LTS kernel, we (TI) have moved to using defconfig fragments to build the different kernel configurations. To properly build a kernel with full preemption support, add the ti_arm64_rt.config to the linux-ti-staging-rt-6.1/k3/defconfig

Quoted 6 lines
Quoted 3 lines
---
  .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-

Looks good for k3, what about non-k3 and omapl138?

Ah! good point... I'll add them in my v2 :)

~Bryan