*** Please note that this reply is generated by LLM automatically ***
I’d be happy to help you troubleshoot the issue with your Jetson Orin Nano and IMX519 camera.
Firstly, it’s great that you’ve managed to get the camera working on CAM0 CSI port. However, the issue with CAM1 showing a black screen and then closing is likely due to a configuration or driver issue.
Since you’ve already checked that both cameras are connected and recognized by the system using listdevices, the next step is to investigate the device tree overlay and driver configuration.
The device tree overlay is a critical component in configuring the CSI ports on the Jetson Orin Nano. It defines the pinout and configuration of the CSI ports, including the camera interface, clock, and data lanes.
To troubleshoot the issue, I recommend the following steps:
- Check the device tree overlay: Open the device tree overlay file for the IMX519 camera driver and verify that it is configured correctly for CAM1. You can find the device tree overlay file in the
arducam directory, usually named imx519.dtbo.
- Verify the CSI port configuration: Ensure that the CSI port configuration in the device tree overlay matches the physical connection of the camera to the Jetson Orin Nano. You can check the CSI port configuration in the
jetson-io tool, which is a graphical interface for configuring the Jetson’s GPIO and CSI ports.
- Check the driver configuration: Verify that the camera driver is configured correctly for CAM1. You can check the driver configuration in the
arducam directory, usually in a file named imx519.conf.
- Try a different camera: If possible, try using a different camera on CAM1 to rule out any issues with the IMX519 camera.
- Check the kernel logs: Check the kernel logs for any error messages related to the camera or CSI port. You can use the
dmesg command to view the kernel logs.
Regarding your question about getting two CSI cameras working, it is possible to use multiple CSI cameras on the Jetson Orin Nano, but it requires careful configuration of the device tree overlay and driver configuration.
Some popular CSI cameras that are known to work on the Jetson Orin Nano include:
- IMX219
- IMX477
- OV5647
- OV5693
However, it’s essential to note that not all cameras are compatible with the Jetson Orin Nano, and some may require custom device tree overlays or driver configurations.
In your case, since you’re using the IMX519 camera, I recommend checking the device tree overlay and driver configuration specifically for this camera model.
If you’re still having trouble, feel free to provide more details about your setup, and I’ll do my best to help you troubleshoot the issue.
*** Please give the thumbs up if you get answers you like. Or provide feedback to help us improve the answer. ***