Imx219 camera error with tx2 nx dev kit

Hi,

I’m trying to connect a Raspberry Pi Camera v2.1 to a Waveshare TX2 NX developer kit. I’m getting i2c errors though and the camera isn’t available. This is similar or the same as this issue which had no resolution: I2c issues tx2 nx

cat /etc/nv_tegra_release 
# R32 (release), REVISION: 7.4, GCID: 33514132, BOARD: t186ref, EABI: aarch64, DATE: Fri Jun  9 04:18:38 UTC 2023
dmesg | grep imx219
[    1.345259] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
[    1.368657] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.376271] imx219 9-0010: board setup failed
[    1.380714] imx219: probe of 9-0010 failed with error -121
[    1.380994] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
[    1.404254] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    1.411935] imx219 10-0010: board setup failed
[    1.416461] imx219: probe of 10-0010 failed with error -121
i2cdetect -l
i2c-3	i2c       	3190000.i2c                     	I2C adapter
i2c-1	i2c       	c240000.i2c                     	I2C adapter
i2c-101	i2c       	15210000.nvdisplay              	I2C adapter
i2c-8	i2c       	31e0000.i2c                     	I2C adapter
i2c-6	i2c       	31c0000.i2c                     	I2C adapter
i2c-4	i2c       	Tegra BPMP I2C adapter          	I2C adapter
i2c-2	i2c       	3180000.i2c                     	I2C adapter
i2c-0	i2c       	3160000.i2c                     	I2C adapter
i2c-9	i2c       	i2c-2-mux (chan_id 0)           	I2C adapter
i2c-10	i2c       	i2c-2-mux (chan_id 1)           	I2C adapter
i2c-7	i2c       	c250000.i2c                     	I2C adapter
i2c-5	i2c       	31b0000.i2c                     	I2C adapter
sudo i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --

Do I need to change the device tree or make some other change to get the camera working?

hello james-ld,

is this identical with TX2 NX DevKit?
can you running Jetson-IO utility to configure the CSI connector to enable IMX219?

I believe it uses a custom board so it’s not identical. When I run the jetson-io tool, it gives me a No DTB found for lanai-3636 fatal error and exits.

One other strange thing is that I tried this camera on an Orin Nano dev kit (official) and I see the same dmesg errors but the camera works fine there.

hello james-ld,

please check whether you’ve IMX219 dtbo in the root file system.
it should be located at… /boot/ you may try… $ sudo find / -name "*-camera-imx219-dual.dtbo" for confirmation.
as you can see in the Device Tree Overlays section, it’s compatible property to define the supported platform.
please update this accordingly since you’re now using other board configuration.

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