OK1126B-S 6.1.141 Buildroot Adaptation for OV13855
by yir65681 in Circuits > Microcontrollers
6 Views, 0 Favorites, 0 Comments
OK1126B-S 6.1.141 Buildroot Adaptation for OV13855
Quick Verification
For customers who want to quickly verify the functionality, a test kernel and deployment method are provided here. (For testing purposes only; subsequent development still requires self-compilation.)
The outer MIPI port of the development board corresponds to the device node /dev/video23.
The inner MIPI port of the development board corresponds to the device node /dev/video31.
Refer to the user manual for step-by-step kernel image flashing. You can directly click the link below to jump to the relevant section:
6.1.3 OTG Step-by-step Flashing Test
Place the IQ file ov13855_CMK-OT2016-FV1_default.json in the /etc/iqfiles directory of the development board’s filesystem.
The kernel image boot.img and IQ file ov13855_CMK-OT2016-FV1_default.json can be obtained from the attachments.
Kernel Configuration
Ensure the kernel includes the following configurations. If they are missing, add them:
Kernel configuration file path: kernel/arch/arm64/configs/OK1126B-S-linux_defconfig
Copy the diff file from the attachments to the SDK’s kernel directory.
Then, execute the following command in the SDK’s kernel directory to apply the corresponding patch:
Recompile the kernel image and flash it to the development board.
Refer to the user manual for step-by-step kernel image flashing. You can directly click the link below to jump to the relevant section:
Filesystem
The attachment provides the IQ file for OV13855: ov13855_CMK-OT2016-FV1_default.json.
Place this file in the /etc/iqfiles directory of the development board’s filesystem and check if the rkaiq process is running:
If the process is not running, you need to start the rkaiq process.
Note: When executing the following statements, the OV13855 camera must be connected to the 4-lane MIPI-CSI interface on the outer side of the development board (P9), otherwise the process will not be visible.
Camera Testing
Check the device node:
After running the command, the output should include the following segment:
Among them, /dev/video23 and /dev/video31 represent the external camera (P9) and the internal camera (P8) respectively.
The following steps use /dev/video23 as an example.
Check Supported Formats and Resolutions
Camera Preview
Camera Capture
Check whether pic.jpg is generated. You can copy it to a PC for viewing.
Record H.264 Video
Play H.264 Video
Attachments Download
Please click the link below to acquire the kernel image, IQ configuration file, and diff patch required for the OV13855 camera module verification: