Camera of imx219 do not work on the custom NX carrier board

As shown in the figure below,it is my design。
CAM_MCLK------GPIO11
CAM_PWDN------GPIO12


image
image
Now I connect the camera will report an error:
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, execute:557 No cameras available
client_loop: send disconnect: Connection reset
why is this happening? how to solve this problem?

Did you modify the device tree(dtb) for your board?

https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/camera_sensor_prog.47.1.html#

Hi ShaneCCC
I do not understand the device tree。
I didn’t find anything through your link

Have a check the imx219 driver is loaded correctly.

dmesg | grep -i imx219

Hi ShaneCCC
There are four camera interfaces on my board,They are:CSI0, CSI2,CSI3,CSI4.
The camera(imx219) can be displayed normally when connected to CSI0,CSI2.But it cannot be displayed when connected to CSI4.
I think the system has imx219 driver.

Current default device tree only support 2 sensors, you need modify it to enable others.
Check the programing guide again if can open it.

Hi ShaneCCC
I can’t open your link.
Do I just need to reconfigure the GPIO?Which pins are GPIO11,GPIO12?


Not just only the GPIO, please googling the “jetson sensor programing guide” to check if can open the doc.