Changes

Jump to navigation Jump to search
Line 19: Line 19:  
|VEYE series
 
|VEYE series
 
|VEYE-MIPI-IMX385
 
|VEYE-MIPI-IMX385
|Processing
+
|Done
 +
|-
 +
|VEYE series
 +
|VEYE-MIPI-IMX462
 +
|Done
 
|-
 
|-
 
|CS series
 
|CS series
Line 80: Line 84:  
Then insert the TF card into the Maaxboard board and power it up again.
 
Then insert the TF card into the Maaxboard board and power it up again.
   −
====Applications and Test====
+
===Applications and Test===
=====Check system status=====
+
====Check system status====
 
Run the following command to confirm whether the camera is probed.
 
Run the following command to confirm whether the camera is probed.
   Line 123: Line 127:     
The cameras of the MIPI-CSI2 interface is identified and mounted to i2-0.
 
The cameras of the MIPI-CSI2 interface is identified and mounted to i2-0.
=====List the modes supported by the camera=====
+
====List the modes supported by the camera====
 
<code>v4l2-ctl --list-formats-ext -d /dev/video<0/1></code>
 
<code>v4l2-ctl --list-formats-ext -d /dev/video<0/1></code>
 
====Video Stream test====
 
====Video Stream test====
Line 131: Line 135:     
<code>gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1920,height=1080,framerate=(fraction)30/1' ! waylandsink</code>
 
<code>gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1920,height=1080,framerate=(fraction)30/1' ! waylandsink</code>
 +
 +
* Frame rate display VEYE-MIPI-IMX327S,CS-MIPI-IMX307 @1080p mode)
 +
 +
<code>gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=1920,height=1080,framerate=(fraction)30/1' ! fpsdisplaysink video-sink=fakesink -v</code>
    
*Preview (CS-MIPI-IMX307 @1080p mode 10fps)
 
*Preview (CS-MIPI-IMX307 @1080p mode 10fps)
Line 179: Line 187:  
===Build the drivers from source===
 
===Build the drivers from source===
 
The following operations are done on ubuntu Host PC.
 
The following operations are done on ubuntu Host PC.
<br />
+
 
 +
==== Compile the standard version ====
 +
Refer to the official document ''MaaXBoard-Linux-Development_Guide-V1.1-EN.pdf''.
 +
 
 +
===== Set up the Host PC environment =====
 +
<code>export PATH=$PATH:[REPLACE with your path]/toolchain/gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu/bin/</code>
 +
 
 +
<code>export CC=aarch64-linux-gnu-gcc</code>
 +
 
 +
<code>export CROSS_COMPILE=aarch64-linux-gnu-</code>
 +
 
 +
<code>export ARCH=arm64</code>
 +
 
 +
*Maaxboard
 +
 
 +
<code>make  bcm2711_defconfig</code>
 +
 
 +
<code>make -j4</code>
 +
 
 +
==== patch code ====
 +
 
 +
*Driver source code
 +
 
 +
<code>git clone <nowiki>https://github.com/veyeimaging/nxp_i.mx_veye_bsp.git</nowiki></code>
 +
 
 +
The source code path of the camera driver is: ''linux/drivers/media/platform/mxc/capture'', places the source code of the camera driver in the corresponding directory.
 +
 
 +
*Modify the the Makefile and Kconfig files
 +
 
 +
Modify the Config and Makefile  in the same path. Add the corresponding camera driver.
 +
 
 +
* dts file
 +
 
 +
<code>git clone <nowiki>https://github.com/veyeimaging/avnet_maaxboard.git</nowiki></code>
 +
 
 +
The path to the dts file is: ''linux/arch/arm64/boot/dts/freescale'', places the dts file in this path.
 +
 
 +
Modify the Config and Makefile  in the same path. Add the corresponding dts option.
 +
====Add compilation options====
 +
<code>make menuconfig</code>
 +
 
 +
Add the compilation options for the corresponding camera module driver, and the path is ''Device Drivers > Multimedia support > V4L platform devices > MXC Camera/V4L2 PRP Features support''.
 +
====Build====
 +
<code>make Image dtbs -j4</code>
 +
===References===
 +
Maaxboard embest-tech official site :https://www.avnet.com/wps/portal/us/products/new-product-introductions/npi/avnet-maaxboard/
 +
 
 +
Maaxboard :http://Avnet.com/MAAXBOARD<br />

Navigation menu