Skip to content

Commit 59b142b

Browse files
Rishikesh-Dpraneethbajjuri
authored andcommitted
feat(linux): CSI: Add docs for 4x OV5640 mosaic on AM62P
Signed-off-by: Rishikesh Donadkar <[email protected]>
1 parent afbdfc7 commit 59b142b

File tree

1 file changed

+28
-0
lines changed
  • source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera

1 file changed

+28
-0
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/Camera/CSI2RX.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,29 @@ Enabling camera sensors
379379
380380
$ gst-launch-1.0 libcamerasrc ! video/x-raw, width=1024, height=768, format=UYVY ! autovideosink
381381
382+
.. ifconfig:: CONFIG_part_variant in ('AM62PX')
383+
384+
You can also run mosaic camera to display stream from 4 OV5640 connected to the SK-AM62P using V3Link fusion mini board.
385+
386+
.. note::
387+
388+
Arm neon accelerated TI elements for video mosaicing and color format conversion namely ``timosaic`` and ``ticolorconvert`` are not present in AM62P SDK 11.00.
389+
To run the below pipeline, AM62P SDK 10.01 should be used with the SDK 11.00 kernel installed from `here <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/log/?h=ti-linux-6.12.y>`__.
390+
391+
.. code-block:: console
392+
393+
$ gst-launch-1.0 \
394+
v4l2src device=/dev/video-ov5640-cam0 ! video/x-raw, width=640,height=480, format=YUY2 ! ticolorconvert ! queue ! mosaic.sink_0 \
395+
v4l2src device=/dev/video-ov5640-cam1 ! video/x-raw, width=640,height=480, format=YUY2 ! ticolorconvert ! queue ! mosaic.sink_1 \
396+
v4l2src device=/dev/video-ov5640-cam2 ! video/x-raw, width=640,height=480, format=YUY2 ! ticolorconvert ! queue ! mosaic.sink_2 \
397+
v4l2src device=/dev/video-ov5640-cam3 ! video/x-raw, width=640,height=480, format=YUY2 ! ticolorconvert ! queue ! mosaic.sink_3 \
398+
timosaic name=mosaic \
399+
sink_0::startx=300 sink_0::starty=0 sink_0::width=640 sink_0::height=480 \
400+
sink_1::startx=980 sink_1::starty=0 sink_1::width=640 sink_1::height=480 \
401+
sink_2::startx=300 sink_2::starty=500 sink_2::width=640 sink_2::height=480 \
402+
sink_3::startx=980 sink_3::starty=500 sink_3::width=640 sink_3::height=480 ! \
403+
video/x-raw, width=1920, height=1080, format=NV12 ! queue ! kmssink driver-name=tidss sync=false force-modesetting=true
404+
382405
Suspend to RAM
383406
==============
384407

@@ -396,6 +419,11 @@ Enabling camera sensors
396419
The system will automatically wake-up after 5 seconds, and camera streaming
397420
should resume from where it left (as long as the sensor supports it).
398421

422+
.. attention::
423+
424+
Only TEVI OV5640 and IMX219 are known to work reliably when system is suspended with capture running.
425+
426+
399427
.. ifconfig:: CONFIG_part_variant in ('AM62X')
400428

401429
CSI2RX testing details

0 commit comments

Comments
 (0)