Line 435:
Line 435:
===== Upgrade dt-blob.bin=====
===== Upgrade dt-blob.bin=====
<code>sudo wget <nowiki>https://datasheets.raspberrypi.com/cmio/dt-blob-dualcam.bin</nowiki> -O /boot/dt-blob.bin</code>
<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=====
+
====For Buster OS(kernel5.10)====
−
Use mvcam as an example:
+
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 cp raspberrypi_v4l2/release/driver_bin/$(uname -r)/veye_mvcam-cm4.dtbo /boot/overlays/veye_mvcam.dtbo</code>
<code>sudo reboot</code>
<code>sudo reboot</code>
+
====For Bullseye OS(kernel5.15) ====
+
Edit file<code>/boot/config.txt</code>,Add one line<code>dtoverlay=[camera],cam0</code>.
+
+
Take veye_mvcam as an example.
+
+
<code>[all]</code>
+
+
<code>dtparam=i2c_vc=on</code>
+
+
<code>dtoverlay=veye_mvcam</code>
+
+
<code>dtoverlay=veye_mvcam,cam0</code>
===== Device node description=====
===== Device node description=====
The CM4 module uses two I2C channels to communicate with the two cameras respectively.
The CM4 module uses two I2C channels to communicate with the two cameras respectively.
Line 454:
Line 466:
|CAM1
|CAM1
|10
|10
−
|video2
+
|video2(Buster),video1(Bullseye)
|}Note: If there is only one camera, video node is always video0.
|}Note: If there is only one camera, video node is always video0.
====Compiling drivers from source code====
====Compiling drivers from source code====