<?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.MX8MP WDT reset cause update issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1819391#M220641</link>
    <description>&lt;P&gt;Confirmed that WDT out pin is resetting the CPU.&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2024 08:43:39 GMT</pubDate>
    <dc:creator>titusstalin</dc:creator>
    <dc:date>2024-03-01T08:43:39Z</dc:date>
    <item>
      <title>i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1813996#M220324</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to get reset cause event in imx8mp board and failed to get so.&lt;/P&gt;&lt;P&gt;I can see rebooting once WDT timeout (different value configured and can see CPU reset, booting uboot etc.,) occurred but 'reset_cause' is always as 'POR' and wondering how this could happen.&lt;/P&gt;&lt;P&gt;I have disabled systemctl stuff and did init=/bin/bash after kernel booted so nothing resets CPU before/after WDT timeout. Also I tried to read WDT reset_cause (SRSR) register in multiple places (SPL, Uboot) of uboot and still unable to get correct reset cause, always 0x1 which is CPU POR. Also ensured that SRSR register is not cleared after boot to retain the reset cause.&lt;/P&gt;&lt;P&gt;What could be the issue ? am i missing any patch or anything or could be HW bug ?&lt;BR /&gt;any pointers would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 07:35:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1813996#M220324</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2024-02-23T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814678#M220367</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is the watchdog section (2.11) in the i.MX Linux Reference Manual applicatble to the i.MX8mp.&amp;nbsp; From what I have read it is not.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;--&amp;gt; Yes, you can refer this. The i.MX8MP uses imx2-wdt.c driver.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The following IOCTLs are supported in the WDOG driver:&lt;BR /&gt;• WDIOC_GETSUPPORT&lt;BR /&gt;• WDIOC_GETSTATUS&lt;BR /&gt;• WDIOC_GETBOOTSTATUS&lt;BR /&gt;• WDIOC_KEEPALIVE&lt;BR /&gt;• WDIOC_SETTIMEOUT&lt;BR /&gt;• WDIOC_GETTIMEOUT&lt;BR /&gt;For detailed descriptions about these IOCTLs, see &lt;STRONG&gt;Documentation/watchdog&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Also please check:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-Reset-Cause-POR/m-p/1328685" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-Reset-Cause-POR/m-p/1328685&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 14:03:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814678#M220367</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-23T14:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814772#M220373</link>
      <description>&lt;P&gt;Thanks for your reply. And what you shared forum link is helpful.&lt;/P&gt;&lt;P&gt;Yes, I have also tested through Linux WDT ioctl to get watchdog status, but got 0 as POR reset which is NOT expected. I should see reset cause as 'WDT' reset.&lt;/P&gt;&lt;P&gt;As I mentioned, actually I am checking WDT status and reset_cause in uboot &amp;amp; SPL itself which is before Linux stage, so I don't think if uboot didn't update correct values in uboot we can't expect it in linux.&lt;/P&gt;&lt;P&gt;Also I made below dts change for not allowing PMIC to reset the CPU.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;amp;wdog1 {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;//fsl,ext-reset-output;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;//pinctrl-names = "default";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;//pinctrl-0 = &amp;lt;&amp;amp;pinctrl_wdog&amp;gt;;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;status = "okay";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;My humble request is that just once you go through the attached logs and re-read my post.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 16:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814772#M220373</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2024-02-23T16:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814927#M220377</link>
      <description>&lt;P&gt;NXP's support strikes me as mechanically copying some kind of drama script.&lt;BR /&gt;More like a desk lady who answers the phone.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately this continues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Anyway, here is my opinion:&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using PMIC PCA9450 and that part of hardware design is the same as i.MX8MP evk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Monitor&lt;/SPAN&gt; the PMIC POR_B of PCA9450.&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The wdog_b is remove/disable in dts, but still suggest to monitor that pin of PCA9450.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a.png" style="width: 879px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264851iDF99E92162EDC89A/image-size/large?v=v2&amp;amp;px=999" role="button" title="a.png" alt="a.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="v.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/264852i1220F1FC3DD43D1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="v.png" alt="v.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 02:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814927#M220377</guid>
      <dc:creator>opedis</dc:creator>
      <dc:date>2024-02-24T02:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814938#M220379</link>
      <description>&lt;P&gt;Thanks for your support.&lt;/P&gt;&lt;P&gt;Yes, as I mentioned it I have disabled it in DTS but still got POR reset. Anyway as you recommended let me probe that pin and confirm.&lt;/P&gt;</description>
      <pubDate>Sat, 24 Feb 2024 08:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1814938#M220379</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2024-02-24T08:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8MP WDT reset cause update issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1819391#M220641</link>
      <description>&lt;P&gt;Confirmed that WDT out pin is resetting the CPU.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 08:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8MP-WDT-reset-cause-update-issue/m-p/1819391#M220641</guid>
      <dc:creator>titusstalin</dc:creator>
      <dc:date>2024-03-01T08:43:39Z</dc:date>
    </item>
  </channel>
</rss>

