MIPI-CSI camera

From TinkerBoard Wiki
Jump to: navigation, search

Hardware

Camera Operation SOP

Use Built-in Camera test tool for operation.
Csi.png

Some operations need root permission to execute.

Run “sudo su” in terminal command line before operation.


Camera Preview:

Key-in

  camHalTest.bin 0

or

  camHalTest.bin 1

0 for show preview in DSI 1 for show preview in HDMI


Capture

Each time executing Capture needs to run below cmd to setup environment.

  sh /home/linaro/camera/copy_xml_file.sh


Then key-in capture cmd:

  dumpsys


Five pictures will be taken and placed in /tmp/isptune with ppm filename extension. Build-in file viewer is capable to open and view the image.


Notes:

1. All contents in /tmp/ are volatile and will disappear after reboot.

2. Disk space for /tmp/ is only ~300MB and one ppm image size is ~22MB, so it can only save ~12 pictures. Make sure to move (mv) image files to external storage before next Capture operation of stress test.


Video of use: https://youtu.be/43-AAvKdRUg?t=4m27s