Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The camera module registers as a video device after the system boots up.

  2. Video capture by V4L2-ctl tool.

...

First, it is necessary to confirm that the camera module has been properly initialized and the image capture is successful. This part refer to the camera module documentation. For example: Using Video Camera OV5640 on SP7350 Platforms - C3V Documentation - Confluence

NTP service working is preferred.

...

Code Block
languagebash
[Unit]
Description=v4l2 camera device init and capture auto test service

[Service]
StandardOutput=journal+console
Type=forking
ExecStart=/etc/init.d/v4l2_dev_test.sh
#StandardOutput=tty # console output
#StandardError=tty # console output
StandardOutput=append:/var/v4l2_dev_test_standard_output.log  
StandardError=append:/var/v4l2_dev_test_standard_error.log  

[Install]
WantedBy=multi-user.target

n In the default configuration, the standard output will be output to /var/v4l2_dev_test_standard_output.log.

...