Attach the camera to the module
Boot the system and check if it is detected via
Code Block |
---|
|
dmesg | grep ov5640 |
output
Code Block |
---|
|
[ 2.777835] ov5640_probe camera mipi ov5640, is found
[ 2.809397] mx8-img-md: Registered sensor subdevice: ov5640_mipi_v3 0-003c (1)
[ 2.849447] mx8-img-md: created link [ov5640_mipi_v3 0-003c] => [mxc-mipi-csi2.0] |
Capture camera out to screen (kernel 4.14)
Code Block |
---|
|
gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! autovideosink |
Capture camera out to screen (kernel 5.4)
Code Block |
---|
|
gst-launch-1.0 v4l2src device=/dev/video1 ! waylandsink |