Changes

Jump to navigation Jump to search
Line 431: Line 431:     
Note: script [https://github.com/veyeimaging/mvcam_raspberrypi/tree/main/mv_tools_rpi link].
 
Note: script [https://github.com/veyeimaging/mvcam_raspberrypi/tree/main/mv_tools_rpi link].
 +
====Notes for CM4 ====
 +
Cm4 supports the use of two cameras at the same time. Following above steps will only be able to use CAM1. To use two cameras, follow the following steps:
 +
===== Upgrade dt-blob.bin=====
 +
<code>sudo wget <nowiki>https://datasheets.raspberrypi.com/cmio/dt-blob-dualcam.bin</nowiki> -O /boot/dt-blob.bin</code>
 +
=====Upgrade dual camera version dtbo file=====
 +
Use mvcam as an example:
 +
 +
<code>sudo cp raspberrypi_v4l2/release/driver_bin/$(uname -r)/veye_mvcam-cm4.dtbo /boot/overlays/veye_mvcam.dtbo</code>
 +
 +
<code>sudo reboot</code>
 +
===== Device node description=====
 +
The CM4 module uses two I2C channels to communicate with the two cameras respectively.
 +
{| class="wikitable"
 +
!description
 +
!i2c bus num
 +
!video node
 +
|-
 +
|CAM0
 +
|0
 +
|video0
 +
|-
 +
|CAM1
 +
|10
 +
|video2
 +
|}Note: If there is only one camera, video node is always video0.
 
====Compiling drivers from source code====
 
====Compiling drivers from source code====
 
Please refer to: [http://wiki.veye.cc/index.php/Build_drivers_from_source_for_rpi Build drivers from source for rpi].
 
Please refer to: [http://wiki.veye.cc/index.php/Build_drivers_from_source_for_rpi Build drivers from source for rpi].
Line 594: Line 619:     
=== Document History ===
 
=== Document History ===
 +
 +
* 2023-02-10
 +
 +
Add note for CM4.
    
* 2022-12-08
 
* 2022-12-08
   −
Added support for the new VEYE-MIPI-IMX264M camera model.
+
Add support for the new VEYE-MIPI-IMX264M camera model.
    
* 2022-11-02
 
* 2022-11-02
   −
Added support for the new IMX265 and SC132 models.
+
Add support for the new IMX265 and SC132 models.
    
* 2022-05-16
 
* 2022-05-16

Navigation menu