Hi, everyone:
Now I want to port TX2NX from NX, but when I modified the device tree and insmod camera ov9281 driver, TX2NX can not show any device node relevant video device in /dev folder, such as /dev/v4l2_subdev, /dev/video*. The driver and device tree’s configuration is working correctly in TX2 and Xavier NX.
Opening media device /dev/media0
Enumerating entities
Found 2 entities
Enumerating pads and links
Media controller API version 0.1.0
Media device information
------------------------
driver tegra-vi4
model NVIDIA Tegra Video Input Device
serial
bus info
hw revision 0x3
driver version 0.0.0
Device topology
- entity 1: ov9281 31-0010 (1 pad, 0 link)
type V4L2 subdev subtype Sensor flags 0
pad0: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
- entity 3: ov9281 33-0010 (1 pad, 0 link)
type V4L2 subdev subtype Sensor flags 0
pad0: Source
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
v4l2_subdev_open: Failed to open subdev device node
Never met this problem. What should I do to solve it?
please check you’re updating device tree correctly as they’re using different dtb binary file.
for instance,
TX2 NX using device tree sources of… $public_sources/kernel_src/hardware/nvidia/platform/t18x/lanai/
let’s disassembler TX2 NX dtb file into text file for checking all those DT property were configured correctly.
for instance, $ dtc -I dtb -O dts -o temp.txt tegra186-p3636-xxx.dtb
do you have six 2-lane cameras?
as you can see in Jetson TX2 NX Product Design Guide for [Table 8-3. CSI Configuration],
TX2 NX support up-to five 2-lane camera sensors, you cannot use CSI-F as that’s not supported.