Changes

Jump to navigation Jump to search
Line 44: Line 44:     
==== Overview ====
 
==== Overview ====
This section describes how to update the MYD-JX8MX system to support our camera module. To support our camera module, we need to update two parts of the system, '''Image''' and '''DTB'''.
+
This section describes how to update the OKMX8MPQ-C system to support our camera module. To support our camera module, we need to update two parts of the system, '''Image''' and '''DTB'''.
    
In the Image, we added the camera driver, while the DTB indicates the camera model used. In general, you only need to use the Image and DTB, that we have prebuilt, and you don't need to build from source when it is not necessary.
 
In the Image, we added the camera driver, while the DTB indicates the camera model used. In general, you only need to use the Image and DTB, that we have prebuilt, and you don't need to build from source when it is not necessary.
Line 70: Line 70:  
* dts source code
 
* dts source code
    +
==== Burn the Forlinx standard system ====
 +
Refer to : ''OKMX8MPQ-C_Linux5.4.70+Qt5.15.0Manual_V1.2_20230406.pdf''
 +
 +
Burn the standard system provided by Forlinx to the board.
 +
 +
==== 3.4 Using prebuilt Image and dtb file ====
 +
The Image and dtb files of the OKMX8MPQ-C board are saved in the FAT partition of emmc. After the system is started, it is automatically mounted to the ''/run/media/mmcblk2p1/'' directory.
 +
 +
On HOST PC:
 +
 +
<code>git clone <nowiki>https://github.com/veyeimaging/forlinx_nxp_i.mx.git</nowiki></code>
 +
 +
Extract the kernel Image, and copy the Image and dtb files to the OKMX8MPQ-C board.
 +
 +
<code>cp <your path>/Image /run/media/mmcblk2p1/</code>
 +
 +
<code>cp <your path>/OK8MP-C.dtb /run/media/mmcblk2p1/</code>
 +
 +
Reboot OKMX8MPQ-C board.
 +
 +
=== Applications and Test ===
 +
 +
==== Check system status ====
 +
Run the following command to confirm whether the camera is probed.
 +
 +
* VEYE-MIPI-IMX327S,VEYE-MIPI-IMX462,VEYE-MIPI-IMX385
 +
 +
<code>dmesg | grep veye</code>  
 +
 +
The output message appears as shown below:
 +
 +
<code>[    2.806555] veyecam2m 1-003b:  camera id is veyecam2m</code>
 +
 +
<code>[    2.816868] veyecam2m 1-003b: sensor is IMX327</code>
 +
 +
<code>[    2.821323] veyecam2m 1-003b: board type is ONE board</code>
 +
 +
<code>[    2.826981] veyecam2m 1-003b: veyecam2m camera probed</code>
 +
 +
<code>[    6.055710] mx8-img-md: Registered sensor subdevice: veyecam2m 1-003b (1)</code>
 +
 +
<code>[    6.150181] mx8-img-md: created link [veyecam2m 1-003b] => [mxc-mipi-csi2.1]</code>
 +
 +
As you can see, the VEYE-MIPI-IMX327S module has been successfully probed and mounted on i2c-1.
    
<br />
 
<br />

Navigation menu