Jetson Xavier NX custom carrier with IMX264 camera - I2C not working

I am trying to get an IMX264 Leapord Imaging camera working with a custom carrier board for the Xavier NX. The carrier has two CSI ports that each has 4 lanes. I’m currently trying to get a video stream out of the first port. I have build the OS with device trees attached below and I see /dev/video0 and /dev/video1 show up and I run the following command that I have previously used to get a video out of a dev board

gst-launch-1.0 nvarguscamerasrc tnr-strength=0.1 ! \
nvvidconv ! 'video/x-raw(memory:NVMM),format=NV12,width=2432,height=2058' ! \
nvv4l2h265enc ! \
h265parse config-interval=-1 ! \
mpegtsmux ! \
rtpmp2tpay ! \
udpsink host="224.100.1.2" port=15005 sync=false

I see data on an oscilloscope connected to the I2C SDA line going to our first camera when I run the command, however I get back the following error.

GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 0
Output Stream W = 2432 H = 2058
seconds to Run = 0
Frame Rate = 29.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
[ 2165.365769] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.366074] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3008 = 1
[ 2165.366404] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.369548] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3205 = 0
[ 2165.369875] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.370121] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3204 = a
[ 2165.370488] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.373291] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3008 = 0
[ 2165.376249] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.376508] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3008 = 1
[ 2165.376821] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.382984] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3205 = 0
[ 2165.387603] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.394652] imx264 30-0010: imx264_write_reg: i2c write failed, 0x3204 = c
[ 2165.400894] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.406648] imx264 30-0010: imx264_write_reg: i2c write failed, 0x308f = 0
[ 2165.415092] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.420027] regmap_util_write_table_8:regmap_util_write_table:-121[ 2165.425683] imx264 30-0010: Error writing mode
[ 2165.431654] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.436709] regmap_util_write_table_8:regmap_util_write_table:-121[ 2165.442122] imx264 30-0010: Error writing mode
[ 2165.482579] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.482848] regmap_util_write_table_8:regmap_util_write_table:-121[ 2165.482972] imx264 30-0010: Error writing mode
[ 2165.484069] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
[ 2165.484321] regmap_util_write_table_8:regmap_util_write_table:-121[ 2165.484420] imx264 30-0010: Error writing mode
[ 2166.934463] tegra194-vi5 15c10000.vi: no reply from camera processor
[ 2166.934630] tegra194-vi5 15c10000.vi: vi capture get status failed

Does anyone know if there is something that looks wrong in my device tree configurations that could cause this

tegra194-camera-imx264.dtsi (15.2 KB)
tegra194-p3668-p3509-camera-imx264.dtsi (2.8 KB)

Please consult with Leopard to get driver support.

@SimonZhu
Could you help to clarify the problem.

Thanks

@khanna
Which driver are you using? Is the carrier board from us?

@SimonZhu
I’m using the imx264 driver that I got from Leapord for the LI-IMX264-MIPI-M12 camera. I build a kernel image with these drivers and verified it worked with a LI-NANO-CB carrier board using the device tree from Leapord. I’m now working to get an image running on our own carrier board. I am using the same kernel image but modified the device tree for our board. Our board had two camera interfaces connected to a pca9540 I2C expander. I’m currently trying to get an image out of the first camera which is connected to CSI0/CSI1 with a 4 lane configuration. I’m trying to understand if the error messages I’m seeing may indicate something misconfigured in the device trees attached to the original post.

@khanna
Please make sure the IMX264 camera was programmed the 4-lane MIPI version of FPGA binary.
If you purchased the LI-NANO-CB and IMX264-MIPI camera in one order, the IMX264-MIPI camera should be pre-programmed 2-lane MIPI version of FPGA since our current driver support 2-lane MIPI.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.