Leopard Imaging IMX274 works with JetPack Linux but not Yocto Linux

I purchased a “LI-JETSON-IMX274-DUAL” module ( https://leopardimaging.com/product/li-jetson-imx274-dual/ ) from Leopard Imaging for my Jetson TX1.

The module is not supported by default, out of the box, with NVIDIA’s JetPack distribution.

In order to use the module, one has to install the drivers according to Leopard’s instructions here:

https://www.dropbox.com/s/9yued3yrptlvz27/IMX274_R28.2_TX1_NV_20180428.txt?dl=0

I following the instructions from Leopard Imaging for L4T R28.2 with NVIDIA’s JetPack and it worked great. I can capture simultaneously from both cameras using V4L2 and/or gstreamer.

Now I want to use my custom Yocto build ( https://github.com/madisongh/meta-tegra ) with this camera module.

I created a bbappend file that uses the Leopard Kernel defconfig and patch files:

>> cat linux-tegra_4.4.bbappend 
# Appends: meta-tegra/recipes-kernel/linux/linux-tegra_4.4.bb

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

# Patches for camera
SRC_URI += "file://defconfig"
SRC_URI += "file://tri_streaming_imx274_base28.2_TX1_NV_dtbs_20180428.patch"
SRC_URI += "file://tri_streaming_imx274_base28.2_TX1_NV_kernel_20180428.patch"

The Yocto build completes and when I flash the board, it boots, but there are no /dev/video* devices. Also, gstreamer does not find any camera modules.

How can I integrate these instructions into Yocto? Thanks alot for any help.

This was about CentOS, but the same applies here:
https://devtalk.nvidia.com/default/topic/1036705/jetson-tx2/l4t-28-2-1-centos-7/post/5266688/#5266688

The short story is that the hardware driver itself is bound to the Xorg X11 video ABI. If you can keep that ABI release in your Xorg server, then video should show up.

Have you checked the output of the kernel build to make sure that it has actually picked up the patches and is using the defconfig you provided?

Does the compiled device tree have the right nodes in it for the new cameras?

Do you see anything in the kernel log indicating that the cameras were detected?