<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Enabling_second_camera_port_on_spacesom8mplus</id>
	<title>Enabling second camera port on spacesom8mplus - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.somlabs.com/index.php?action=history&amp;feed=atom&amp;title=Enabling_second_camera_port_on_spacesom8mplus"/>
	<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Enabling_second_camera_port_on_spacesom8mplus&amp;action=history"/>
	<updated>2026-04-28T10:40:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://wiki.somlabs.com/index.php?title=Enabling_second_camera_port_on_spacesom8mplus&amp;diff=4623&amp;oldid=prev</id>
		<title>KrzysztofChojnowski: Created page with &quot;{{PageHeader|Enabling second camera port on SpaceSOM-8Mplus}}  Since Yocto walnascar version, the default device tree enables only a single camera port (MIPI-CSI1) on SpaceCB-8Mplus-ADV board, for SL-MIPI-CSI-OV5640 module. The camera stream may be displayed using the gst-launch tool:  &lt;pre&gt; gst-launch-1.0 v4l2src device=/dev/video3 ! waylandsink &lt;/pre&gt;  This tutorial explains how to enable two ports at once, or switch to MIPI-CSI2 only.  == Enabling both MIPI-CSI ports...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.somlabs.com/index.php?title=Enabling_second_camera_port_on_spacesom8mplus&amp;diff=4623&amp;oldid=prev"/>
		<updated>2026-01-14T15:54:10Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageHeader|Enabling second camera port on SpaceSOM-8Mplus}}  Since Yocto walnascar version, the default device tree enables only a single camera port (MIPI-CSI1) on SpaceCB-8Mplus-ADV board, for SL-MIPI-CSI-OV5640 module. The camera stream may be displayed using the gst-launch tool:  &amp;lt;pre&amp;gt; gst-launch-1.0 v4l2src device=/dev/video3 ! waylandsink &amp;lt;/pre&amp;gt;  This tutorial explains how to enable two ports at once, or switch to MIPI-CSI2 only.  == Enabling both MIPI-CSI ports...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageHeader|Enabling second camera port on SpaceSOM-8Mplus}}&lt;br /&gt;
&lt;br /&gt;
Since Yocto walnascar version, the default device tree enables only a single camera port (MIPI-CSI1) on SpaceCB-8Mplus-ADV board, for SL-MIPI-CSI-OV5640 module. The camera stream may be displayed using the gst-launch tool:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gst-launch-1.0 v4l2src device=/dev/video3 ! waylandsink&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This tutorial explains how to enable two ports at once, or switch to MIPI-CSI2 only.&lt;br /&gt;
&lt;br /&gt;
== Enabling both MIPI-CSI ports ==&lt;br /&gt;
&lt;br /&gt;
The MIPI-CSI1 port on SpaceCB-8Mplus-ADV board is enabled by default in &amp;#039;&amp;#039;spacesom-8mplus-cb-adv.dts&amp;#039;&amp;#039; file. In order to enable the second port, the following nodes need to be enabled in the mentioned file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;i2c4 {&lt;br /&gt;
        ov5640_1: ov5640_mipi@3c {&lt;br /&gt;
                ...&lt;br /&gt;
                status = &amp;quot;okay&amp;quot;;&lt;br /&gt;
                ...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;amp;mipi_csi_1 {&lt;br /&gt;
        status = &amp;quot;okay&amp;quot;;&lt;br /&gt;
        ...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;amp;isi_1 {&lt;br /&gt;
        status = &amp;quot;okay&amp;quot;;&lt;br /&gt;
        ...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The camera streams may be displayed using the gst-launch tool:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gst-launch-1.0 v4l2src device=/dev/video3 ! waylandsink&lt;br /&gt;
gst-launch-1.0 v4l2src device=/dev/video4 ! waylandsink&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Enabling only MIPI-CSI2 port ==&lt;br /&gt;
&lt;br /&gt;
In this scenario the following nodes need to be disabled &amp;#039;&amp;#039;spacesom-8mplus-cb-adv.dts&amp;#039;&amp;#039; file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;amp;i2c1 {&lt;br /&gt;
        ov5640_0: ov5640_mipi@3c {&lt;br /&gt;
                ...&lt;br /&gt;
                status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;
                ...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;amp;mipi_csi_0 {&lt;br /&gt;
        status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;
        ...&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&amp;amp;isi_0 {&lt;br /&gt;
        status = &amp;quot;disabled&amp;quot;;&lt;br /&gt;
        ...&lt;br /&gt;
};&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The MIPI-CSI2 port should be enabled as described in the previous paragraph.&lt;br /&gt;
&lt;br /&gt;
The camera stream may be displayed using the gst-launch tool:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gst-launch-1.0 v4l2src device=/dev/video2 ! waylandsink&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>KrzysztofChojnowski</name></author>
	</entry>
</feed>