I am using Jetson Orin Nx. I have installed the driver for imx708 camera and I can capture a video from CSI 1 port and that is working properly. But when I connect the same camera with the same cable to the CSI 2 port I got this error:
" nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:702 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating) "
and the result of v4l2-ctl --list-devices is:
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
I am trying to modify the device-tree but the main problem that I have is the device tree in /proc/device-tree folder is not the same with dtb file in /boot/dtb folder. When I modified the dtb in /boot/dtb and reboot Jetson, nothing changed in /proc/device-tree
First I decompiled “dtb” to “dts” with “dtc -I dtb -O dts -o” and then I midfield the resulting dts file and saved it and afterward I recompiled modified dts file with “dtc” again to convert it to dtb file and then I replaced the existing dtb in /boot/dtb folder with resulting dtb and reboot.
This is the extlinux file extlinux.txt (1.4 KB)
Actually I modified the device_tree and I changed lane_polarity to 6 as you mentioned and I check it and it was done. but still the camera imx708 is not detected in the CSI 1 and it was detected in CSI 0. The same error as before is generated:
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:702 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:247 (propagating)
ERROR on bus: by /GstPipeline:capture_native_pipeline/GstBin:cap_bin/GstNvArgusCameraSrc:nvarguscamerasrc0: CANCELLED
to verify if it fits with the time in which the device tree was compiled and it is loading with success. You should get an output similar to the following:
february 19th, 11:20Orin_device_tree
Furthermore, you could compare your device tree against the tegra234-p3767-camera-p3768-imx219-C.dts overlay that is in the NVIDIA sources