<?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>i.MX ProcessorsのトピックRe: ISP working in i.MX8M Plus</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1256417#M172034</link>
    <description>&lt;P&gt;current bsp doesn't support SONY IMX219&amp;nbsp; directly, you need porting by yourself, current bsp includes ISP source code directly, you can find them under path after you building the bsp&lt;/P&gt;
&lt;P&gt;"imx-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/kernel-module-isp-vvcam/4.2.2.6.1-r0/git/vvcam"&lt;/P&gt;
&lt;P&gt;you also can find the source code from:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/isp-vvcam/tree/vvcam?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/isp-vvcam/tree/vvcam?h=imx_5.4.70_2.3.0&lt;/A&gt;"&lt;/P&gt;</description>
    <pubDate>Sat, 03 Apr 2021 05:35:59 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2021-04-03T05:35:59Z</dc:date>
    <item>
      <title>ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1246838#M170949</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We came across ISP in i.MX8MPlus, which is used in conjunction with camera. We found the device tree node of the same. However, can anyone help on how to use ISP, when to use and flow of ISP?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 04:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1246838#M170949</guid>
      <dc:creator>kunal_003</dc:creator>
      <dc:date>2021-03-17T04:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247070#M170974</link>
      <description>&lt;P&gt;•ISP driver and Independent sensor driver interface code.&lt;/P&gt;
&lt;P&gt;•This is part of Yocto release now.&lt;/P&gt;
&lt;P&gt;•It is self extracting package. Follow below steps to download the code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; wget &lt;U&gt;&lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.6.0.bin" target="_blank"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.6.0.bin&lt;/A&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ./isp-imx-4.2.2.6.0.bin&lt;/P&gt;
&lt;P&gt;•Sample Example code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ./isp-imx-4.2.2.6.0/appshell/v4l_drm_test/video_test.cpp&lt;/P&gt;
&lt;P&gt;&amp;nbsp; ./isp-imx-4.2.2.6.0/appshell/vvext/vvext.cpp&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 09:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247070#M170974</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-03-17T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247844#M171020</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your response.&lt;/P&gt;&lt;P&gt;Where would I find the document of the bin/source file you shared? Also, where in yocto this source code will be?&lt;/P&gt;&lt;P&gt;We are planning to use Sony IMX219 camera sensor which is RAW sensor. Can you please help what changes are required to use ISP with some example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 06:31:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247844#M171020</guid>
      <dc:creator>kunal_003</dc:creator>
      <dc:date>2021-03-18T06:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247866#M171025</link>
      <description>&lt;P&gt;this is internal material, I couldn't share here(public community), but I copy the steps here&lt;/P&gt;
&lt;P&gt;•Sample code to port new camera Module.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;A href="https://source.codeaurora.org/external/imx/isp-vvcam/" target="_blank"&gt;https://source.codeaurora.org/external/imx/isp-vvcam/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Mar 2021 06:53:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1247866#M171025</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-03-18T06:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1255525#M171925</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586"&gt;@joanxie&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw the link(isp-vvacm) provided by you, however I still have below query/confusion. Please help me in this case:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From what I understand we need to compile this and install the module by running "insmod.sh". So, it will add userspace support for using ISP. Is this understanding correct?&lt;/LI&gt;&lt;LI&gt;I saw this &lt;A href="https://source.codeaurora.org/external/imx/isp-vvcam/tree/vvcam/v4l2/sensor?h=imx_5.10_1.0.0" target="_self"&gt;camera&lt;/A&gt; sensors directory, so for SONY IMX219 we need to add support for using ISP?&lt;/LI&gt;&lt;LI&gt;Can we use ISP only by enabling in device tree?&lt;/LI&gt;&lt;LI&gt;Any example pipleline or utility to use streaming via ISP?&lt;/LI&gt;&lt;LI&gt;I am still with many confusions on what exactly needs to be done in order to use ISP. Any documentation/guidance/explanation will be helpful.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kunal&lt;/P&gt;</description>
      <pubDate>Thu, 01 Apr 2021 05:55:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1255525#M171925</guid>
      <dc:creator>kunal_003</dc:creator>
      <dc:date>2021-04-01T05:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1256417#M172034</link>
      <description>&lt;P&gt;current bsp doesn't support SONY IMX219&amp;nbsp; directly, you need porting by yourself, current bsp includes ISP source code directly, you can find them under path after you building the bsp&lt;/P&gt;
&lt;P&gt;"imx-yocto-bsp/build-xwayland/tmp/work/imx8mpevk-poky-linux/kernel-module-isp-vvcam/4.2.2.6.1-r0/git/vvcam"&lt;/P&gt;
&lt;P&gt;you also can find the source code from:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://source.codeaurora.org/external/imx/isp-vvcam/tree/vvcam?h=imx_5.4.70_2.3.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/isp-vvcam/tree/vvcam?h=imx_5.4.70_2.3.0&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Sat, 03 Apr 2021 05:35:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1256417#M172034</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-04-03T05:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1276290#M173993</link>
      <description>&lt;P&gt;Hi Joanxie,&lt;/P&gt;&lt;P&gt;isp-imx-4.2.2.6.0.bin seems indeed to contain all kernel + user space resources needed for ISP.&lt;/P&gt;&lt;P&gt;I would like to buy an EVK + Camera to demonstrate exactly this. What EVK+Camera should I use. I would like to start my own ISP development from a working system.&lt;/P&gt;&lt;P&gt;The Basler BCON cam (official cam of the NXP imx8mp evk) is not using&amp;nbsp;isp-imx-4.2.2.6.0.bin because Basler uses their own user space software (Pylon).&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 08:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1276290#M173993</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-13T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1276321#M173999</link>
      <description>&lt;P&gt;we bought this for imx8mp, you can refer to it&lt;/P&gt;
&lt;P&gt;“&lt;A href="https://www.digikey.cn/en/products/detail/basler-inc/108225/13244085?s=N4IgTCBcDaICYEMEGYAcAWADAWmZgtgMYgC6AvkA”" target="_blank"&gt;https://www.digikey.cn/en/products/detail/basler-inc/108225/13244085?s=N4IgTCBcDaICYEMEGYAcAWADAWmZgtgMYgC6AvkA”&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 May 2021 09:20:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1276321#M173999</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-05-13T09:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283672#M174643</link>
      <description>&lt;P&gt;Hi Joanxie,&lt;/P&gt;&lt;P&gt;I can add the ISP component to the BSP. They all load fine.&lt;/P&gt;&lt;P&gt;However at some point one need to make custom *.drv and *.xml files available for the ISP to work.&lt;/P&gt;&lt;P&gt;There are prebuilt&amp;nbsp; *.drv and *.xml files for Basler and OV2775 but how can I produce those files myself for a custom sensor. *.drv is not editable. Its a binary file and *.xml seems also to be automatically generated.&lt;/P&gt;&lt;P&gt;You help on this would be much appreciated.&lt;/P&gt;&lt;P&gt;Thanks, Malik&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 18:55:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283672#M174643</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-27T18:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283727#M174645</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109210"&gt;@malik_cisse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I might be able to help you with this;&lt;/P&gt;&lt;P&gt;First of all, I recommend you use ISP version 4.2.2.11.0; The 4.2.2.6.0 version does not work from my experience.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;wget &lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.0.bin" target="_blank" rel="noopener"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.0.bin&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Regarding your question about the XML file, I recommend you copy&amp;nbsp;&lt;STRONG&gt;ov2775.xml&lt;/STRONG&gt; or&amp;nbsp;&lt;STRONG&gt;ov2775_4k.xml&lt;/STRONG&gt; depending on your input resolution. You can then use the&amp;nbsp;&lt;STRONG&gt;vvext&lt;/STRONG&gt; application (built as part of the ISP) to make tweaks to the ISP e.g. black level subtraction, RGB gain, white balance, lens correction etc. Based on your desired changes you can update the XML file for your sensor. This takes some time as there is a lack of documentation in this area.&lt;/P&gt;&lt;P&gt;Now regarding the .drv file, have a look at &lt;STRONG&gt;units/isi/drv/&lt;/STRONG&gt; you'll see a folder for OV2775, copy this folder for your sensor and make all of the modifications for your sensor, this takes a fair bit of time but the general steps are outlined in the&amp;nbsp;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-plus-arm-cortex-a53-machine-learning-vision-multimedia-and-industrial-iot:IMX8MPLUS?tab=Documentation_Tab" target="_self"&gt;ISP user guides&lt;/A&gt;. By adding your implementation in the drv folder, this will generate the .drv file when you build.&lt;/P&gt;&lt;P&gt;There is apparently a tool for generating the XML file, but I believe this is restricted to NXP partners and requires use of NXP professional services.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 22:32:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283727#M174645</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-05-27T22:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283928#M174657</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;SPAN&gt;jgsandom.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am going to investigate your suggestions. This is highly appreciated since discovering all this without help is extremly tedious.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 06:47:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1283928#M174657</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-28T06:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284185#M174685</link>
      <description>&lt;P&gt;Hi Joaxie,&lt;/P&gt;&lt;P&gt;How is the &lt;U&gt;&lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.6.0.bin" target="_blank" rel="nofollow noopener noreferrer"&gt;isp-imx-4.2.2.6.0.bin&lt;/A&gt;&amp;nbsp;&lt;/U&gt;bin content actually intendend to be used?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;isp_media_server binary is actually already available in&amp;nbsp;opt/imx8-isp/bin&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should I deploy the bin content on the target system and compile?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, Malik&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284185#M174685</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-28T13:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284188#M174686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/182405" target="_self"&gt;&lt;SPAN class=""&gt;jgsandom&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How is the &lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.0.bin" target="_blank" rel="noopener nofollow noreferrer"&gt;isp-imx-4.2.2.11.0.bin&lt;/A&gt;&lt;U&gt;&amp;nbsp;&lt;/U&gt;bin content actually intendend to be used?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;isp_media_server binary is actually already available in&amp;nbsp;opt/imx8-isp/bin as part of the yocto BSP deployment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Should I deploy the bin content on the target system and compile?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks, Malik&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:56:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284188#M174686</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-28T13:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284243#M174688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109210"&gt;@malik_cisse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;That's correct, isp-imx is already available as part of the Yocto BSP. But if you want to make your own modifications to it for your sensor, then you have to use your own isp-imx. If you plan to use already supported sensors, such as OV2775 and basler-camera then you can just update the recipe for 4.2.2.11 or use the basler camera enablement package (provides recipes).&lt;/P&gt;&lt;P&gt;You can build isp-imx separately outside of Yocto for development and testing. Build steps are;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;wget &lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.1.bin" target="_blank" rel="noopener"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.11.0.bin &lt;/A&gt;&lt;/P&gt;&lt;P&gt;chmod +x isp-imx-4.2.2.11.0.bin&lt;/P&gt;&lt;P&gt;./build-all-isp.sh Debug Full&lt;/P&gt;&lt;P&gt;scp -r build_output_debug_Full/opt/imx8-isp &lt;A href="mailto:target@target-ip:/opt" target="_blank" rel="noopener"&gt;target@target-ip:/opt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;scp -r build_output_debug_Full/usr/lib/*&amp;nbsp;&lt;A href="mailto:target@target-ip:/opt" target="_blank" rel="noopener"&gt;target@target-ip:/usr/lib/&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 16:08:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284243#M174688</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-05-28T16:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284574#M174724</link>
      <description>&lt;P&gt;Thank you so much&amp;nbsp;&lt;SPAN&gt;jgsandom,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is exactly the type of info that would help moving on with the ISP.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;NXP: Please provide a one page tutorial on how to integrate the ISP with custom Sensors not using Basler at all. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 07:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1284574#M174724</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-05-31T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285013#M174782</link>
      <description>&lt;P&gt;we have released the user guide for sensor porting:&lt;/P&gt;
&lt;P&gt;"&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-plus-arm-cortex-a53-machine-learning-vision-multimedia-and-industrial-iot:IMX8MPLUS?tab=Documentation_Tab" target="_blank"&gt;https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/i-mx-applications-processors/i-mx-8-processors/i-mx-8m-plus-arm-cortex-a53-machine-learning-vision-multimedia-and-industrial-iot:IMX8MPLUS?tab=Documentation_Tab&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 02:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285013#M174782</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2021-06-01T02:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285468#M174829</link>
      <description>&lt;P&gt;Hi jgsandom,&lt;/P&gt;&lt;P&gt;Sorry to bother you again. Your hints have been very helpfull so far and I hope other people can benefit from it to.&lt;/P&gt;&lt;P&gt;How to modify *.xml file and how to generate *.drv files is clear thanks to your description.&lt;/P&gt;&lt;P&gt;There is also a *.json file to be passed as argument to the isp_media_server application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;All these files are meant to configure the ISP, right? Do you know how these files are used in the system and which instance is actually using them?&lt;/P&gt;&lt;P&gt;I have hard time matching the file names with the resources described in the " &lt;SPAN class="fontstyle0"&gt;i.MX 8M Plus Camera Sensor Porting User Guide&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;In my understanding,&amp;nbsp;isp_media_server is a demond service that starts upon system boot and configures the ISP pipeline elements and matches them with the sensor driver. Is this understanding correct?&lt;/P&gt;&lt;P&gt;Besides the steps described in this thread and a previous thread from you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Camera-Integration-and-using-ISP/m-p/1260702#M172463" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/IMX8M-Plus-Camera-Integration-and-using-ISP/m-p/1260702#M172463&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Are there other steps you did to make the ISP work in your case?&lt;/P&gt;&lt;P&gt;Thank you, Malik&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 14:23:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285468#M174829</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-06-01T14:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285645#M174843</link>
      <description>&lt;P&gt;Hi Malik,&lt;/P&gt;&lt;P&gt;No worries at all. Hope this information is helpful to yourself and others!&lt;/P&gt;&lt;P&gt;In terms of the .json file being used with isp_media_server, in the version I'm referring to (4.2.2.11.0), the argument being parsed is not the .json file, it is the $RUN_OPTION;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./isp_media_server $RUN_OPTION&lt;/LI-CODE&gt;&lt;P&gt;The run option, is either&amp;nbsp;&lt;STRONG&gt;CAMERA0, CAMERA1 or DUAL_CAMERA.&amp;nbsp;&lt;/STRONG&gt;Use camera 0 for ISP0, camera 1 for ISP1 or dual camera for 2 cameras.&lt;/P&gt;&lt;P&gt;The .json file is the config for the dewarp engine, examples of these are located in&amp;nbsp;&lt;STRONG&gt;dewarp/dewarp_config.&amp;nbsp;&lt;/STRONG&gt;These are fairly generic, and the config is quite basic - I would suggest to just copy the OV2775 dewarp config for either 720/1080/4k (depending on your resolution). You select the dewarp config by specifying in the mode file (this is dynamically written when you run&amp;nbsp;&lt;STRONG&gt;imx/run.sh&lt;/STRONG&gt;).&lt;/P&gt;&lt;P&gt;In terms of the daemon and the flow;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;imx8-isp.service --&amp;gt; start_isp.sh --&amp;gt; run.sh --&amp;gt; isp_media_server&lt;/LI-CODE&gt;&lt;P&gt;Essentially, start_isp.sh just does some sanity checks and calls run.sh with a config argument, this will be "your sensor", run.sh loads the kernel module for your sensor + all other necessary modules such as imx8-media-dev, vvcam-isp, vvcam-dwe. Additionally, sets up the mode files and sensor config, providing the paths to your sensor .xml file, .drv file, dewarp config etc.&lt;/P&gt;&lt;P&gt;Once all of this is setup, isp_media_server is run and has all of the necessary components to form the command and control for your sensor.&lt;/P&gt;&lt;P&gt;Some other tips I can give you are, when running isp_media_server you can do&amp;nbsp;&lt;STRONG&gt;export ISP_LOG_LEVEL=3&lt;/STRONG&gt; (I can't remember the exact log level range, think it's 0 to 5) to get some verbose logging of the ISP in action.&lt;/P&gt;&lt;P&gt;You can also see various "TRACERS" in the source code, you can enable the tracer of the image sensor interface tracer i.e. in CREATE_TRACER(ISI_INFO ...) by changing 0 to 1. This gives a lot of good info for seeing exactly what ISI functions are called when the ISP is running.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joe Sandom&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 21:56:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1285645#M174843</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-06-01T21:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1286308#M174912</link>
      <description>&lt;P&gt;Hi Jgsandom,&lt;/P&gt;&lt;P&gt;What you say is 100% clear and I could replicate the steps to a certain extend.&lt;/P&gt;&lt;P&gt;I get one error (see attached image) when running:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;./build-all-isp.sh Debug Full&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Everything builds fine except isp_media_server. Did you have this issue also?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I could successfully build the release version of the above script however the debug prints are missing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Are you actually using&amp;nbsp;&lt;SPAN class="html-tag"&gt;&amp;lt;STRONG&amp;gt;kernel-module-isp-vvcam&lt;/SPAN&gt;&amp;nbsp;version&amp;nbsp;4.2.2.6.0 &lt;SPAN class="html-tag"&gt;&amp;lt;/STRONG&amp;gt;&lt;/SPAN&gt; together with&amp;nbsp;&lt;SPAN class="html-tag"&gt;&amp;lt;STRONG&amp;gt;isp-imx version 4.2.2.11.0&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="html-tag"&gt;&amp;lt;/STRONG&amp;gt;&lt;/SPAN&gt; &amp;nbsp;or did you also update&amp;nbsp;kernel-module-isp-vvcam version from 6&amp;nbsp; to 11?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You did not mention your actual sensor i2c kernel driver. Did you build your driver as a loadable kernel module similarly to ov2775 in&amp;nbsp;&lt;SPAN class="html-tag"&gt;kernel-module-isp-vvcam or is your driver placed in kernel_source/media/driver/i2c together with other regular sensor driver?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="html-tag"&gt;Thank you&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 19:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1286308#M174912</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2021-06-02T19:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: ISP working in i.MX8M Plus</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1287753#M175066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/109210"&gt;@malik_cisse&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I didn't get the same error when building in debug, not too sure about the error you attached unfortunately. Possibly due to your toolchain? did you try to do&amp;nbsp;&lt;STRONG&gt;export LDFLAGS=&amp;nbsp;&lt;/STRONG&gt;after sourcing your toolchain?&lt;/P&gt;&lt;P&gt;Yes, when I changed isp-imx to revision 4.2.2.11, I also changed&amp;nbsp;&lt;SPAN class="html-tag"&gt;kernel-module-isp-vvcam&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;version to 4.2.2.11, this is mandatory or you'll face compatibility issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My sensor driver was originally in the kernel source tree, but I moved it to kernel-module-isp-vvcam for the ISP integration because you need to modify your sensor driver e.g. all of the VVSENSORIOC IOCTLS and the sensor mode definition etc. Then I modified the run script to load and unload my sensor module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope this helps!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 21:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ISP-working-in-i-MX8M-Plus/m-p/1287753#M175066</guid>
      <dc:creator>jgsandom</dc:creator>
      <dc:date>2021-06-04T21:44:52Z</dc:date>
    </item>
  </channel>
</rss>

