Changes

Jump to navigation Jump to search
Line 136: Line 136:  
This section describes how to upgrade the Jetson system to support MV camera module. For OS update method, please refer to [[VEYE CS Camera for Jetson TX2#Upgrade Jetson Nano.2C Jetson TX2.2C TX2 NX.2CAGX Xavier and Xavier NX system|Update Jetson OS]].
 
This section describes how to upgrade the Jetson system to support MV camera module. For OS update method, please refer to [[VEYE CS Camera for Jetson TX2#Upgrade Jetson Nano.2C Jetson TX2.2C TX2 NX.2CAGX Xavier and Xavier NX system|Update Jetson OS]].
   −
Specially, for MV series camera, besides adding the camera driver in linux system, we also add a kernel patch - veye_mv_l4t_32.7.1.patch.
+
Specially, for MV series camera, besides adding the camera driver in Linux system, we also add a kernel patch - veye_mv_l4t_32.7.1.patch.
    
This patch has two features:
 
This patch has two features:
Line 224: Line 224:  
After system update, reboot the Jetson board.
 
After system update, reboot the Jetson board.
   −
During the Jetson system boot process, it detects the presence of cameras on all i2c buses and generates the /dev/video[X] device node if it exists.
+
During the Jetson system boot process, it detects the presence of cameras on all i2c buses and generates the /dev/videoX device node if it exists.
    
Execute the following command on the Jetson board to check if the camera is properly connected.
 
Execute the following command on the Jetson board to check if the camera is properly connected.
Line 230: Line 230:  
<code>dmesg | grep mvcam</code>
 
<code>dmesg | grep mvcam</code>
   −
You can see the camera model and and the camera version number probed.
+
You can see the camera model and the camera version number probed.
    
A prompt as below indicates that the MV-MIPI-IMX178M camera is detected on the i2c-10 bus.
 
A prompt as below indicates that the MV-MIPI-IMX178M camera is detected on the i2c-10 bus.
Line 237: Line 237:     
<code>mvcam 10-003b: firmware version: 0x1080103</code>
 
<code>mvcam 10-003b: firmware version: 0x1080103</code>
 +
 +
==== /dev/videoX node ====
 +
The camera module is mapped as /dev/videoX device node in the Jetson system.
 +
 +
During the OS boot process, the cameras are detected in the order of the i2c bus. The X value is incremented from 0 according to the logical order of detection.
 +
 +
For instance, if only one camera is connected, X is 0 regardless of the location to which the hardware is connected. If 5 cameras are connected, X is [0-4] according to i2c bus from smallest to largest.
 +
 +
The v4l2-ctl command uses -d /dev/videoX to access different cameras.
 +
 +
In gstreamer, v4l2src can access different cameras by specifying device=/dev/videoX.
 +
 
<br />
 
<br />

Navigation menu