<?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: i.MX8M Camera commands in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812453#M125283</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yashavantha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the MIPI-CSI2 interface implementation is the same on i.MX 8QM and i.MX 8M, so you're driver should be fine if it already worked on the i.MX 8QM board.&lt;/P&gt;&lt;P&gt;There are maybe differences with the I2C port, this would require to change the dts file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you first check with a test pattern if gst-launch-1.0 is able to get something on the display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;$&amp;nbsp; &lt;CODE&gt;gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or with waylandsink or kmssink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Oct 2018 09:58:16 GMT</pubDate>
    <dc:creator>bernhardfink</dc:creator>
    <dc:date>2018-10-24T09:58:16Z</dc:date>
    <item>
      <title>i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812447#M125277</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;Can u provide me the gst commands for i.MX8M mipi camera overlay and capture?&lt;/P&gt;&lt;P&gt;Using fsl-yocto-L4.9.51_mx8mq-ga release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Yashavantha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2018 07:24:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812447#M125277</guid>
      <dc:creator>yashavanthashet</dc:creator>
      <dc:date>2018-10-22T07:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812448#M125278</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;Anyone know the commands?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Yashavantha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 05:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812448#M125278</guid>
      <dc:creator>yashavanthashet</dc:creator>
      <dc:date>2018-10-23T05:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812449#M125279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;To check if your camera works you can do this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please use this 4.9.51 demo image:&amp;nbsp; &lt;STRONG&gt;&lt;EM&gt;fsl-image-qt5-validation-imx-xwayland-imx8mqevk.sdcard&lt;/EM&gt;&lt;/STRONG&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There are two CSI2 connectors on the 8M-EVK from NXP, the one in the corner should work out of the box with this SD card image (proceed with $ gst-launch-1.0 ... ), for the other one you need to do this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the SD card partition with the dtb files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;rename the file &lt;EM&gt;fsl-imx8mq-evk.dtb&lt;/EM&gt; to &lt;EM&gt;original_fsl-imx8mq-evk.dtb&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;rename the file &lt;EM&gt;fsl-imx8mq-evk-mipi-csi2.dtb&lt;/EM&gt; to &lt;EM&gt;fsl-imx8mq-evk.dtb&lt;/EM&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This enables the other CSI2 interface on the connector showing to the power connector.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Connect the camera to the CSI2 connector (the one you've chosen) and connect an HDMI display. Then switch on the board and boot Linux.&lt;/P&gt;&lt;P&gt;$ gst-launch-1.0 v4l2src device=/dev/video0 ! waylandsink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use parameters to scale the camera window down to 640x480:&lt;/P&gt;&lt;P&gt;$ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=640,height=480 ! waylandsink&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To record the stream into a file you normally use a video encoder. On the i.MX 8M such an encoder is software based and must be included into the image first. Please look into this thread for some information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/476358"&gt;IMX8MQ video encoding capabilities &lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 09:58:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812449#M125279</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-10-23T09:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812450#M125280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Can I have the commands for capture the video using mipi camera and play the same video?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Yashavantha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 10:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812450#M125280</guid>
      <dc:creator>yashavanthashet</dc:creator>
      <dc:date>2018-10-23T10:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812451#M125281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yashavantha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;our BSP demo image comes without picture or video encoders. The i.MX 8M has no hardware encoder support. That's why I added some information above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In principle it is possible to display the camera stream and at the same time encode it and store it somewhere in a filesystem. But you need to invest some time first to include the encoder you want to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 12:43:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812451#M125281</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-10-23T12:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812452#M125282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using i.MX8M custom board which is having support for Sony IMX230 camera through mipi_csi1.&lt;/P&gt;&lt;P&gt;We have written the driver for same. The issue we are facing here is , when we run the below commands for camera overlay , runs without any error but nothing displays on LCD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;export DISPLAY=:0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #0000ff;"&gt;gst-launch-1.0 v4l2src ! videoconvert ! autovideosink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! waylandsink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480,framerate=30/1' ! kmssink&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we probe MCLK its pulsing 25MHz, mipi_csi colck is pulsing, data pins also something is pulsing, but nothing displays. Same camera we have tested in i.MX8Q and it works there.&lt;BR /&gt;Do you have any inputs regarding this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Yashavantha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:04:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812452#M125282</guid>
      <dc:creator>yashavanthashet</dc:creator>
      <dc:date>2018-10-23T14:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812453#M125283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yashavantha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the MIPI-CSI2 interface implementation is the same on i.MX 8QM and i.MX 8M, so you're driver should be fine if it already worked on the i.MX 8QM board.&lt;/P&gt;&lt;P&gt;There are maybe differences with the I2C port, this would require to change the dts file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you first check with a test pattern if gst-launch-1.0 is able to get something on the display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new, courier, monospace;"&gt;$&amp;nbsp; &lt;CODE&gt;gst-launch-1.0 videotestsrc ! videoconvert ! autovideosink&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(or with waylandsink or kmssink)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 09:58:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812453#M125283</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-10-24T09:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812454#M125284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Bernhard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;dts implementation looks quite different since in i.MX8M csi_bridge is used but not in i.MX8QM.&lt;/P&gt;&lt;P&gt;Also driver path all differs as below.&lt;/P&gt;&lt;P&gt;i.MX8M - drivers/media/platform/mxc/capture/&lt;/P&gt;&lt;P&gt;i.MX8Q - drivers/media/platform/imx8/&lt;BR /&gt;&lt;BR /&gt;Please clarify on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Test pattern displays properly on my display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Yashavantha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 10:08:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812454#M125284</guid>
      <dc:creator>yashavanthashet</dc:creator>
      <dc:date>2018-10-24T10:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Camera commands</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812455#M125285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yashavantha,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;if not the MIPI-CSI2 input, which sensor input interface do you use on the i.MX 8QM?&lt;/P&gt;&lt;P&gt;I don't have a data sheet for the IMX230, it seems it also supports a kind of RAW interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the 8M you could enable more debug outputs in the CSI2 driver, in order to see if the sensor data is correctly received by the CSI2 port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bernhard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2018 14:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Camera-commands/m-p/812455#M125285</guid>
      <dc:creator>bernhardfink</dc:creator>
      <dc:date>2018-10-24T14:26:04Z</dc:date>
    </item>
  </channel>
</rss>

