diff mbox series

[meta-ti,kirkstone/master] ti-kernel: Apply RT config fragments to RT kernel defconfig

Message ID 20230601185739.2862707-1-bb@ti.com
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,kirkstone/master] ti-kernel: Apply RT config fragments to RT kernel defconfig | expand

Commit Message

Bryan Brattlof June 1, 2023, 6:57 p.m. UTC
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

Signed-off-by: Bryan Brattlof <bb@ti.com>
---
 .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 8fa9ec7dcd2e816cee18aaf7e8947b3eaee9923c

Comments

Denys Dmytriyenko June 1, 2023, 7:25 p.m. UTC | #1
On Thu, Jun 01, 2023 at 01:57:39PM -0500, Bryan Brattlof wrote:
> 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.


> 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
> 
> Signed-off-by: Bryan Brattlof <bb@ti.com>
> ---
>  .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> index ef1d3efd50118..54dc86b407c7c 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> @@ -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
> -- 
> 2.40.1
>
Andrew Davis June 1, 2023, 7:35 p.m. UTC | #2
On 6/1/23 1:57 PM, Bryan Brattlof wrote:
> 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
> 
> Signed-off-by: Bryan Brattlof <bb@ti.com>
> ---
>   .../recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig   | 2 +-

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

Andrew

>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> index ef1d3efd50118..54dc86b407c7c 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
> @@ -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
Bryan Brattlof June 1, 2023, 8:23 p.m. UTC | #3
Hi Andrew!

On June  1, 2023 thus sayeth Andrew Davis:
> On 6/1/23 1:57 PM, Bryan Brattlof wrote:
> > 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
> > 
> > Signed-off-by: Bryan Brattlof <bb@ti.com>
> > ---
> >   .../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
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
index ef1d3efd50118..54dc86b407c7c 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt-6.1/k3/defconfig
@@ -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