<?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: i.MX8QXP Video Input IMX8QXP !! Kernel Panic!! Oops Error!!</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1161832#M162813</link>
    <description>&lt;P&gt;Hello mosaddek,&lt;/P&gt;
&lt;P&gt;one can use as reference max9286 driver, described in sect.6.1.7 V4L2 Capture&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/imx8/max9286.c?h=imx_4.19.35_1.1.0" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/imx8/max9286.c?h=imx_4.19.35_1.1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;max9286.c\imx8\platform\media\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://freescale.jiveon.com/docs/DOC-344896" href="https://freescale.jiveon.com/docs/DOC-344896" rel="nofollow noopener noreferrer" target="_blank"&gt;AR0144 and ov9284 drivers for I.MX8QM/QXP. | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for debugging one can try camera unit test:&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c?h=imx_5.4.3_2.0.0" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c?h=imx_5.4.3_2.0.0" rel="nofollow noopener noreferrer" target="_blank"&gt;mx8_v4l2_cap_drm.c\mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2020 13:09:03 GMT</pubDate>
    <dc:creator>Bio_TICFSL</dc:creator>
    <dc:date>2020-10-01T13:09:03Z</dc:date>
    <item>
      <title>i.MX8QXP Video Input IMX8QXP !! Kernel Panic!! Oops Error!!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1161430#M162762</link>
      <description>&lt;P&gt;Hallo Nxp Community,&lt;/P&gt;&lt;P&gt;I am trying to run MAX9288 in i.MXQXP. Currently while configuration &lt;FONT color="#800000"&gt;&lt;STRONG&gt;media_enity_pads_init.&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;From V4L2 framework, creates Kernel Panic&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ERROR LOG:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;SPAN&gt;&amp;gt;[ 73.321829] mx8-img-md: Registered sensor subdevice: max9288 16-0049 (1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;[ 73.331888] -----------[ cut here ]-----------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;[ 73.336509] kernel BUG at drivers/media/media-entity.c:158!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;[ 73.342088] Internal error: Oops - BUG: 0 1&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;PREEMPT SMP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;[ 73.347577] Modules linked in: max9288&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;gt;[ 73.351594] Process modprobe (pid: 2651, stack limit = 0x00000000a4f18683)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Code for V4l2 Interface:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF9900"&gt;sd-&amp;gt;flags |= V4L2_SUBDEV_FL_HAS_DEVNODE;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF9900"&gt;printk ("v4l2 driver");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;sd-&amp;gt;entity.function = MEDIA_ENT_F_CAM_SENSOR&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;priv-&amp;gt;pads[MIPI_CSI2_SENS_VC0_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;printk("Pad Init");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;ret = media_entity_pads_init(&amp;amp;sd-&amp;gt;entity, MIPI_CSI2_SENS_VCX_PADS_NUM, priv-&amp;gt;pads);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;if (ret)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;dev_err(dev, "pads init ret: %d\n", ret);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF9900"&gt;printk ("Entity v4l2 driver");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;sd-&amp;gt;entity.ops = &amp;amp;max9288_sd_media_ops;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF9900"&gt;/* TODO: more chip init and CSI source subdev registration. */&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF9900"&gt;/* FL end */&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;printk ("Entity v4l2 driver");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;ret = v4l2_async_register_subdev(&amp;amp;priv-&amp;gt;subdev);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;ret = v4l2_int_device_register(&amp;amp;sd);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;if (ret) {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;dev_err(dev, "async register subdev ret: %d\n", ret);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;media_entity_cleanup(&amp;amp;sd-&amp;gt;entity);&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;return ret;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF9900"&gt;}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Init Log From MAX9288&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Maxim detected&lt;BR /&gt;[ 183.153748] Normal operation Hardware PreInit 146&lt;BR /&gt;[ 183.160388] max9288 16-0049: DESID: 0x92, Rev: 0x00&lt;BR /&gt;[ 183.165430] max9288 16-0049: In max9288_hardware_status()&lt;BR /&gt;[ 183.172290] reg 0x02 val 0x0f&lt;BR /&gt;[ 183.176705] reg 0x04 val 0x20&lt;BR /&gt;[ 183.196247] reg 0x04 val 0x00&lt;BR /&gt;[ 183.216263] reg 0x05 val 0x29&lt;BR /&gt;[ 183.228253] reg 0x06 val 0x00&lt;BR /&gt;[ 183.240252] reg 0x08 val 0x27&lt;BR /&gt;[ 183.252257] reg 0x09 val 0x40&lt;BR /&gt;[ 183.264256] reg 0x11 val 0x22&lt;BR /&gt;[ 183.276258] reg 0x12 val 0x00&lt;BR /&gt;[ 183.288286] reg 0x14 val 0x00&lt;BR /&gt;[ 183.300257] reg 0x15 val 0x70&lt;BR /&gt;[ 183.312254] reg 0x1d val 0x00&lt;BR /&gt;[ 183.324259] reg 0x60 val 0x30&lt;BR /&gt;[ 183.336234] reg 0x65 val 0x37&lt;BR /&gt;[ 183.339688] max9288 16-0049: Locked Status: 0x04: Rev: 0x80&lt;BR /&gt;[ 183.345864] max9288 16-0049: DECERR: 0x0D: Rev: 0x00&lt;BR /&gt;[ 183.351492] max9288 16-0049: PRBSERR: 0x0E: Rev: 0xff&lt;BR /&gt;[ 183.357108] max9288 16-0049: WireCheck : 0x76: Rev: 0x06&lt;BR /&gt;[ 183.363019] max9288 16-0049: General Tracking: 0x04: Rev: 0x0f&lt;BR /&gt;[ 183.369006] Start V4l2 Interface&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt;&amp;nbsp; Can you please let me know why BUG_ON cannot detect mdev for V4L2. Why is the CSI not loading the mdev? Can you explain in more details how it can be fixed.&lt;/P&gt;&lt;P&gt;Hoping to hear from you.&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;Hossain&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 16:01:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1161430#M162762</guid>
      <dc:creator>mosaddek_hossai</dc:creator>
      <dc:date>2020-09-30T16:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP Video Input IMX8QXP !! Kernel Panic!! Oops Error!!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1161832#M162813</link>
      <description>&lt;P&gt;Hello mosaddek,&lt;/P&gt;
&lt;P&gt;one can use as reference max9286 driver, described in sect.6.1.7 V4L2 Capture&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/imx8/max9286.c?h=imx_4.19.35_1.1.0" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/media/platform/imx8/max9286.c?h=imx_4.19.35_1.1.0" rel="nofollow noopener noreferrer" target="_blank"&gt;max9286.c\imx8\platform\media\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://freescale.jiveon.com/docs/DOC-344896" href="https://freescale.jiveon.com/docs/DOC-344896" rel="nofollow noopener noreferrer" target="_blank"&gt;AR0144 and ov9284 drivers for I.MX8QM/QXP. | NXP Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for debugging one can try camera unit test:&lt;/P&gt;
&lt;P&gt;&lt;A class="link-titled" title="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c?h=imx_5.4.3_2.0.0" href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_v4l2_test/mx8_v4l2_cap_drm.c?h=imx_5.4.3_2.0.0" rel="nofollow noopener noreferrer" target="_blank"&gt;mx8_v4l2_cap_drm.c\mxc_v4l2_test\test - imx-test - i.MX Driver Test Application Software&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2020 13:09:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1161832#M162813</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2020-10-01T13:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8QXP Video Input IMX8QXP !! Kernel Panic!! Oops Error!!</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1381910#M184011</link>
      <description>&lt;P&gt;i write driver for 9288,but when i test ,application blocked at DQBUF,is there someone can help me?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Dec 2021 10:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8QXP-Video-Input-IMX8QXP-Kernel-Panic-Oops-Error/m-p/1381910#M184011</guid>
      <dc:creator>yuanke</dc:creator>
      <dc:date>2021-12-06T10:42:39Z</dc:date>
    </item>
  </channel>
</rss>

