<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to test raw camera sensor for imx8m mini in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/891599#M134811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi タイ チャン&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nxp linux bsp supports MIPI CSI camera (part number: MINISASTOCSI)&lt;/P&gt;&lt;P&gt;for camera capture one can use following command:&lt;BR /&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080 ! waylandsink&lt;/P&gt;&lt;P&gt;Unfortunately currently there is no documentation for adding support for new camera, may be useful to check:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.98_2.0.0_ga"&gt;mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://boundarydevices.com/yocto-release-for-i-mx-8mm/" title="https://boundarydevices.com/yocto-release-for-i-mx-8mm/"&gt;https://boundarydevices.com/yocto-release-for-i-mx-8mm/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=DART-MX8M_CSI&amp;amp;release=" title="http://variwiki.com/index.php?title=DART-MX8M_CSI&amp;amp;release="&gt;DART-MX8M CSI - Variscite Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 May 2019 10:22:35 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-05-13T10:22:35Z</dc:date>
    <item>
      <title>How to test raw camera sensor for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/891598#M134810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community&lt;BR /&gt;I am developing drivers for raw8 camera sensor based on ov5647_mipi.c using for board imx8m mini EVK.&lt;BR /&gt;I have identified the camera and confirmed the pixel format is BA81 as the log below. I tried many gstreamer commands to save the .raw file but all failed.&lt;/P&gt;&lt;P&gt;***************************************************************&lt;/P&gt;&lt;P&gt;root@imx8mmevk:~# insmod gc2053_camera_mipi_113.ko&lt;BR /&gt;[ 395.316860] gc2053_mipi 2-0037: 2-0037 supply DOVDD not found, using dummy regulator&lt;BR /&gt;[ 395.324696] gc2053_mipi 2-0037: 2-0037 supply DVDD not found, using dummy regulator&lt;BR /&gt;[ 395.332457] gc2053_mipi 2-0037: 2-0037 supply AVDD not found, using dummy regulator&lt;BR /&gt;[ 396.288841] mxc_mipi-csi 32e30000.mipi_csi: Registered sensor subdevice: gc2053_mipi 2-0037&lt;BR /&gt;[ 396.297214] camera gc2053_mipi is found&lt;BR /&gt;root@imx8mmevk:~# v4l2-ctl --list-formats-ext -d /dev/video0&lt;BR /&gt;ioctl: VIDIOC_ENUM_FMT&lt;BR /&gt; Index : 0&lt;BR /&gt; Type : Video Capture&lt;BR /&gt; Pixel Format: 'BA81'&lt;BR /&gt; Name : 8-bit Bayer BGBG/GRGR&lt;BR /&gt; Size: Discrete 1920x1080&lt;BR /&gt; Interval: Discrete 0.033s (30.000 fps)&lt;BR /&gt; Interval: Discrete 0.033s (30.000 fps)&lt;BR /&gt; Size: Discrete 1280x720&lt;BR /&gt; Interval: Discrete 0.033s (30.000 fps)&lt;BR /&gt; Size: Discrete 1920x1080&lt;BR /&gt; Interval: Discrete 0.033s (30.000 fps)&lt;BR /&gt; Interval: Discrete 0.033s (30.000 fps)&lt;BR /&gt; Size: Discrete 2592x1944&lt;BR /&gt; Interval: Discrete 0.067s (15.000 fps)&lt;/P&gt;&lt;P&gt;root@imx8mmevk:~#&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;***************************************************************&lt;/SPAN&gt;&lt;BR /&gt;Let me ask which gstreamer command is used to check the raw camera sensor for imx8? How to know the camera works well?&lt;BR /&gt;Thank so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 09:17:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/891598#M134810</guid>
      <dc:creator>hiectai</dc:creator>
      <dc:date>2019-05-13T09:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to test raw camera sensor for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/891599#M134811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi タイ チャン&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;nxp linux bsp supports MIPI CSI camera (part number: MINISASTOCSI)&lt;/P&gt;&lt;P&gt;for camera capture one can use following command:&lt;BR /&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1920,height=1080 ! waylandsink&lt;/P&gt;&lt;P&gt;Unfortunately currently there is no documentation for adding support for new camera, may be useful to check:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.98_2.0.0_ga" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test?h=imx_4.14.98_2.0.0_ga"&gt;mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://boundarydevices.com/yocto-release-for-i-mx-8mm/" title="https://boundarydevices.com/yocto-release-for-i-mx-8mm/"&gt;https://boundarydevices.com/yocto-release-for-i-mx-8mm/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://variwiki.com/index.php?title=DART-MX8M_CSI&amp;amp;release=" title="http://variwiki.com/index.php?title=DART-MX8M_CSI&amp;amp;release="&gt;DART-MX8M CSI - Variscite Wiki&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2019 10:22:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/891599#M134811</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-05-13T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to test raw camera sensor for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1302561#M176420</link>
      <description>&lt;P&gt;And how can I get it working with 2021's &lt;SPAN&gt;&lt;SPAN&gt;Linux version 5.10.9-1.0.0+g32513c25d8c7, as is flashed from the &lt;/SPAN&gt;LF_v5.10_1.0.0_images_IMX8MMEVK download?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I did use the default .dtb-file - it is documented in this forum that it already incorporates ov5640.&lt;/P&gt;&lt;P&gt;kernel boot snippet:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.582147] i2c /dev entries driver &lt;/SPAN&gt;&lt;BR /&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.586398] mx6s-csi 32e20000.csi1_bridge: initialising &lt;BR /&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.592314] mxc_mipi-csi 32e30000.mipi_csi: supply mipi-phy not found, using dummy&lt;BR /&gt;regulator &lt;BR /&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.601053] mxc_mipi-csi 32e30000.mipi_csi: mipi csi v4l2 device registered &lt;BR /&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.608041] CSI: Registered sensor subdevice: mxc_mipi-csi.0 &lt;BR /&gt;[ &amp;nbsp;&amp;nbsp;&amp;nbsp;1.613728] mxc_mipi-csi 32e30000.mipi_csi: lanes: 2, hs_settle: 13, clk_settle: 2&lt;BR /&gt;, wclk: 1, freq: 33300000&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;And some command line actions:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;SPAN&gt;root@imx8mmevk:~# v4l2-ctl --list-devices &lt;/SPAN&gt;&lt;BR /&gt;i.MX6S_CSI (platform:32e20000.csi1_bridge): &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;/dev/video0&lt;BR /&gt;&lt;SPAN&gt;root@imx8mmevk:~# gst-launch-1.0 v4l2src device=/dev/video0 ! autovideosink &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;Setting pipeline to PAUSED ... &lt;BR /&gt;Pipeline is live and does not need PREROLL ... &lt;BR /&gt;Pipeline is PREROLLED ... &lt;BR /&gt;ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream &lt;BR /&gt;error. &lt;BR /&gt;Setting pipeline to PLAYING ... &lt;BR /&gt;Additional debug info: &lt;BR /&gt;../git/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0&lt;BR /&gt;/GstV4l2Src:v4l2src0: &lt;BR /&gt;streaming stopped, reason not-negotiated (-4) &lt;BR /&gt;ERROR: pipeline doesn't want to preroll. &lt;BR /&gt;Execution ended after 0:00:00.000499292 &lt;BR /&gt;Setting pipeline to NULL ... &lt;BR /&gt;Total showed frames (0), playing for (0:00:00.000552408), fps (0.000). &lt;BR /&gt;Freeing pipeline ...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Finally, executing &lt;STRONG&gt;./autorun-v4l2.sh&lt;/STRONG&gt; results in:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;autorun-v4l2.sh not supported on current soc&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please advice me!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 17:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1302561#M176420</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-07-05T17:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to test raw camera sensor for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1305371#M176672</link>
      <description>&lt;P&gt;NXP, please verify the correct operation of the standard MINISASTOCSI adapter with built-in camera - with the EVKB-board revision. The adapter/camera is received from ARROW electronics for test usage for a few weeks only. Then the unit must be returned.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 10:01:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1305371#M176672</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-07-09T10:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to test raw camera sensor for imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1345977#M180606</link>
      <description>&lt;P&gt;It has been pointed out that the camera was inserted the false way into the header - which does not have any provision to prevent this through polarization in the geometry.&lt;/P&gt;&lt;P&gt;The camera test works with Gatesgarth as well as with Hardknott edition.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 16:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-test-raw-camera-sensor-for-imx8m-mini/m-p/1345977#M180606</guid>
      <dc:creator>rjm</dc:creator>
      <dc:date>2021-09-24T16:42:06Z</dc:date>
    </item>
  </channel>
</rss>

