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 <[email protected]>
---
  .../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

--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19421): 
https://lists.yoctoproject.org/g/meta-ti/message/19421
Mute This Topic: https://lists.yoctoproject.org/mt/117281599/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to