diff mbox series

[meta-ti,master] linux-ti-staging-6.18: Add config fragment for j721e

Message ID 20260115160413.2999023-1-reatmon@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-ti,master] linux-ti-staging-6.18: Add config fragment for j721e | expand

Commit Message

Ryan Eatmon Jan. 15, 2026, 4:04 p.m. UTC
The ti-vxe-vxd-driver (out of tree module) requires the VIDEOBUF2_DMA_SG
module to be built.  But the in layer defconfig is pruning several
options from the default defconfig that prevents us from easily turning
it back on.  This KERNEL_CONFIG_FRAGMENTS entry will turn on all of the
needed options to re-enable the VIDEOBUF2_DMA_SG setting.

This might be a temporary fix as there is effort to move the
ti-vxe-vxd-driver back into the kernel tree which will clean up the
Kconfig mess that requires this fragment.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
 .../linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg           | 2 ++
 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb      | 3 +++
 2 files changed, 5 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg

Comments

PRC Automation Jan. 15, 2026, 4:12 p.m. UTC | #1
meta-ti / na / 20260115160413.2999023-1-reatmon

PRC Results: PASS

=========================================================
  check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed



=========================================================
  apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-ti][master][PATCH] linux-ti-staging-6.18: Add config fragment for j721e
- Submitter: From: Ryan Eatmon <reatmon@ti.com>
- Date: Date: Thu, 15 Jan 2026 10:04:13 -0600
- Num Patches: 1
- Mailing List (public inbox) Commit SHA: bd80348311a112e73a2124f7ccf4c824354eadd8

Applied to:
- Repository: lcpd-prc-meta-ti
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <reatmon@ti.com>
- Commit Subject: conf: Add falcon support natively
- Commit SHA: 53f8ec9a2f1ef9b4da9f61755410fdd6a0232cec

Patches
----------------------------------------
All patches applied



=========================================================
  check-yocto-repo: PASS
=========================================================
master
=====================
PASS



=========================================================
  yocto-check-layers: PASS
=========================================================
master - PASS
=====================
All checks passed
Denys Dmytriyenko Jan. 15, 2026, 5:40 p.m. UTC | #2
On Thu, Jan 15, 2026 at 10:04:13AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
> The ti-vxe-vxd-driver (out of tree module) requires the VIDEOBUF2_DMA_SG
> module to be built.  But the in layer defconfig is pruning several
> options from the default defconfig that prevents us from easily turning
> it back on.  This KERNEL_CONFIG_FRAGMENTS entry will turn on all of the
> needed options to re-enable the VIDEOBUF2_DMA_SG setting.
> 
> This might be a temporary fix as there is effort to move the
> ti-vxe-vxd-driver back into the kernel tree which will clean up the
> Kconfig mess that requires this fragment.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
>  .../linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg           | 2 ++
>  meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb      | 3 +++
>  2 files changed, 5 insertions(+)
>  create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
> 
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
> new file mode 100644
> index 00000000..d7249909
> --- /dev/null
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
> @@ -0,0 +1,2 @@
> +CONFIG_VIDEOBUF2_DMA_SG=m
> +CONFIG_ARCH_ROCKCHIP=y
> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
> index 169d8395..51a4f63f 100644
> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
> @@ -36,4 +36,7 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
>  module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
>  KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
>  
> +SRC_URI:append:j721e = " file://j721e_vb2_dma_sg.cfg"
> +KERNEL_CONFIG_FRAGMENTS:j721e += "${UNPACKDIR}/j721e_vb2_dma_sg.cfg"

Instead of mixing machine override and +=. it should also be :append:j721e 
here


>  DEFAULT_PREFERENCE = "-1"
> -- 
> 2.43.0
Ryan Eatmon Jan. 15, 2026, 5:44 p.m. UTC | #3
On 1/15/2026 11:40 AM, Denys Dmytriyenko wrote:
> On Thu, Jan 15, 2026 at 10:04:13AM -0600, Ryan Eatmon via lists.yoctoproject.org wrote:
>> The ti-vxe-vxd-driver (out of tree module) requires the VIDEOBUF2_DMA_SG
>> module to be built.  But the in layer defconfig is pruning several
>> options from the default defconfig that prevents us from easily turning
>> it back on.  This KERNEL_CONFIG_FRAGMENTS entry will turn on all of the
>> needed options to re-enable the VIDEOBUF2_DMA_SG setting.
>>
>> This might be a temporary fix as there is effort to move the
>> ti-vxe-vxd-driver back into the kernel tree which will clean up the
>> Kconfig mess that requires this fragment.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>>   .../linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg           | 2 ++
>>   meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb      | 3 +++
>>   2 files changed, 5 insertions(+)
>>   create mode 100644 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
>>
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
>> new file mode 100644
>> index 00000000..d7249909
>> --- /dev/null
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
>> @@ -0,0 +1,2 @@
>> +CONFIG_VIDEOBUF2_DMA_SG=m
>> +CONFIG_ARCH_ROCKCHIP=y
>> diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
>> index 169d8395..51a4f63f 100644
>> --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
>> +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
>> @@ -36,4 +36,7 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
>>   module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
>>   KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
>>   
>> +SRC_URI:append:j721e = " file://j721e_vb2_dma_sg.cfg"
>> +KERNEL_CONFIG_FRAGMENTS:j721e += "${UNPACKDIR}/j721e_vb2_dma_sg.cfg"
> 
> Instead of mixing machine override and +=. it should also be :append:j721e
> here

Good call.


> 
>>   DEFAULT_PREFERENCE = "-1"
>> -- 
>> 2.43.0
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
new file mode 100644
index 00000000..d7249909
--- /dev/null
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-6.18/j721e_vb2_dma_sg.cfg
@@ -0,0 +1,2 @@ 
+CONFIG_VIDEOBUF2_DMA_SG=m
+CONFIG_ARCH_ROCKCHIP=y
diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
index 169d8395..51a4f63f 100644
--- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
+++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.18.bb
@@ -36,4 +36,7 @@  module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
 module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
 KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
 
+SRC_URI:append:j721e = " file://j721e_vb2_dma_sg.cfg"
+KERNEL_CONFIG_FRAGMENTS:j721e += "${UNPACKDIR}/j721e_vb2_dma_sg.cfg"
+
 DEFAULT_PREFERENCE = "-1"