Changes

Jump to navigation Jump to search
Line 144: Line 144:     
<code>make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs -j4</code>
 
<code>make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image modules dtbs -j4</code>
 +
===Install the compiled driver===
 +
Once compiled, you get the specified version of the driver and dtbo file.
 +
 +
Refer to [http://wiki.veye.cc/index.php/V4L2_mode_for_Raspberry_Pi/#.E9.A9.B1.E5.8A.A8.E5.AE.89.E8.A3.85 How to install driver],
 +
 +
<code>wget <nowiki>https://github.com/veyeimaging/raspberrypi_v4l2/releases/latest/download/raspberrypi_v4l2.tgz</nowiki></code>
 +
 +
<code>tar -xzvf raspberrypi_v4l2.tgz</code>
 +
 +
<code>cd raspberrypi_v4l2/release/</code>
 +
 +
<code>mkdir driver_bin/$(uname -r)</code>
 +
 +
Put the driver and dtbo files compiled into this directory.
 +
 +
<code>chmod +x *</code>
 +
 +
<code>sudo ./install_driver.sh [camera module]</code>
 +
 +
camera module:could be veye327,csimx307,cssc132,veyecam2m,etc.
 
===References===
 
===References===
 
https://www.raspberrypi.org/documentation/linux/kernel/building.md
 
https://www.raspberrypi.org/documentation/linux/kernel/building.md

Navigation menu