<?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: IMX8mn wakeup patch for 6.1.22 kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1739063#M213989</link>
    <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219103"&gt;@k_specka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;"So is the recommended way to go back to the i.MX 5.4 Beta release L5.4.24_2.1.0?"&lt;BR /&gt;-&amp;gt;Yes.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
    <pubDate>Fri, 13 Oct 2023 03:09:19 GMT</pubDate>
    <dc:creator>Sanket_Parekh</dc:creator>
    <dc:date>2023-10-13T03:09:19Z</dc:date>
    <item>
      <title>IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738490#M213932</link>
      <description>&lt;P&gt;Hello, I'm trying to get the wakeup from M4 to A53 running.&lt;BR /&gt;&lt;BR /&gt;As far that I know there are 3 patches needed.&lt;BR /&gt;&lt;BR /&gt;1st in the M4 code to use 'MU_TriggerInterrupts(MUB, kMU_GenInt0InterruptTrigger);'&lt;BR /&gt;2nd the ATF-M4-run patch witch changes on&amp;nbsp;pll_override struct that can easily ported from older patches.&lt;BR /&gt;And 3rd the GIR-wakeup patch&lt;BR /&gt;&lt;BR /&gt;Actual I only found the GIR patches for older kernel but the code in the actual yocto using the 6.1.22 kernel seems to be different.&lt;BR /&gt;&lt;BR /&gt;Are there patches available for the actual yocto?&lt;BR /&gt;Or what is needed to get the wakeup running?&lt;BR /&gt;&lt;BR /&gt;Actual deep sleep is working and M4 still running - but can't wakeup the A53&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 09:27:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738490#M213932</guid>
      <dc:creator>k_specka</dc:creator>
      <dc:date>2023-10-12T09:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738634#M213952</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219103"&gt;@k_specka&lt;/a&gt;,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you are doing well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For Linux BSP 5.4, it is available,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I have shared a link for reference, one can refer to that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/M4-Low-Power-Demo-on-i-MX8MM/ta-p/1101109" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/M4-Low-Power-Demo-on-i-MX8MM/ta-p/1101109&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope it helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738634#M213952</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-10-12T12:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738652#M213958</link>
      <description>&lt;P&gt;Yes, I have already seen this. So is the recommended way to go back to the&amp;nbsp;i.MX 5.4 Beta release&amp;nbsp;L5.4.24_2.1.0?&lt;BR /&gt;Or is there a known way to get the wakeup running on LF6.1.22_2.0.0? Because the code to place the GIR patch looks much different.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 12:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1738652#M213958</guid>
      <dc:creator>k_specka</dc:creator>
      <dc:date>2023-10-12T12:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1739063#M213989</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219103"&gt;@k_specka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;"So is the recommended way to go back to the i.MX 5.4 Beta release L5.4.24_2.1.0?"&lt;BR /&gt;-&amp;gt;Yes.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 03:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1739063#M213989</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-10-13T03:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1754070#M215439</link>
      <description>&lt;P&gt;For 6.1.22 I'm using the following patch for the GIR-wakeup, just ignoring the unused defines from the original and wakeup is working fine.&lt;BR /&gt;&lt;BR /&gt;--- a/drivers/mailbox/imx-mailbox.c&lt;BR /&gt;+++ b/drivers/mailbox/imx-mailbox.c&lt;BR /&gt;@@ -260,7 +260,8 @@ static int imx_mu_generic_rxdb(struct imx_mu_priv *priv,&lt;BR /&gt;{&lt;BR /&gt;imx_mu_write(priv, IMX_MU_xSR_GIPn(priv-&amp;gt;dcfg-&amp;gt;type, cp-&amp;gt;idx),&lt;BR /&gt;priv-&amp;gt;dcfg-&amp;gt;xSR[IMX_MU_GSR]);&lt;BR /&gt;- mbox_chan_received_data(cp-&amp;gt;chan, NULL);&lt;BR /&gt;+ if (cp-&amp;gt;chan-&amp;gt;cl)&lt;BR /&gt;+ mbox_chan_received_data(cp-&amp;gt;chan, NULL);&lt;BR /&gt;&lt;BR /&gt;return 0;&lt;BR /&gt;}&lt;BR /&gt;@@ -867,6 +868,18 @@ static int imx_mu_probe(struct platform_device *pdev)&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;+ /* TY: Enable GIR wakeup { */&lt;BR /&gt;+ dev_info(dev, "enable wakeup GIE bit\n");&lt;BR /&gt;+ {&lt;BR /&gt;+ struct mbox_chan *chan;&lt;BR /&gt;+&lt;BR /&gt;+ /* TYPE: 3, Index: 0, 3 * 4 + 1 = 0 */&lt;BR /&gt;+ chan = &amp;amp;priv-&amp;gt;mbox.chans[12];&lt;BR /&gt;+ chan-&amp;gt;cl = NULL;&lt;BR /&gt;+ imx_mu_startup(chan);&lt;BR /&gt;+ }&lt;BR /&gt;+ /* } TY: Enable GIR wakeup */&lt;BR /&gt;+&lt;BR /&gt;pm_runtime_enable(dev);&lt;BR /&gt;&lt;BR /&gt;ret = pm_runtime_resume_and_get(dev);&lt;BR /&gt;--&lt;/P&gt;&lt;P&gt;And the following for the atf-m4-run:&lt;/P&gt;&lt;P&gt;--- a/plat/imx/imx8m/gpc_common.c&lt;BR /&gt;+++ b/plat/imx/imx8m/gpc_common.c&lt;BR /&gt;@@ -20,7 +20,7 @@&lt;BR /&gt;#include &amp;lt;plat_imx8.h&amp;gt;&lt;BR /&gt;#include &amp;lt;imx_rdc.h&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-#define MAX_PLL_NUM U(10)&lt;BR /&gt;+#define MAX_PLL_NUM U(8)&lt;BR /&gt;&lt;BR /&gt;static uint32_t gpc_imr_offset[] = { IMR1_CORE0_A53, IMR1_CORE1_A53, IMR1_CORE2_A53, IMR1_CORE3_A53, };&lt;BR /&gt;&lt;BR /&gt;@@ -316,8 +316,6 @@ struct pll_override pll[MAX_PLL_NUM] = {&lt;BR /&gt;{.reg = 0x50, .override_mask = (1 &amp;lt;&amp;lt; 12) | (1 &amp;lt;&amp;lt; 8), },&lt;BR /&gt;{.reg = 0x64, .override_mask = (1 &amp;lt;&amp;lt; 10) | (1 &amp;lt;&amp;lt; 8), },&lt;BR /&gt;{.reg = 0x74, .override_mask = (1 &amp;lt;&amp;lt; 10) | (1 &amp;lt;&amp;lt; 8), },&lt;BR /&gt;- {.reg = 0x84, .override_mask = (1 &amp;lt;&amp;lt; 10) | (1 &amp;lt;&amp;lt; 8), },&lt;BR /&gt;- {.reg = 0x94, .override_mask = 0x5555500, },&lt;BR /&gt;{.reg = 0x104, .override_mask = 0x5555500, },&lt;BR /&gt;{.reg = 0x114, .override_mask = 0x500, },&lt;BR /&gt;};&lt;BR /&gt;--&lt;/P&gt;</description>
      <pubDate>Wed, 08 Nov 2023 09:21:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1754070#M215439</guid>
      <dc:creator>k_specka</dc:creator>
      <dc:date>2023-11-08T09:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8mn wakeup patch for 6.1.22 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1754584#M215477</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219103"&gt;@k_specka&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I hope you are doing well.&lt;/P&gt;
&lt;P&gt;Thanks for sharing the patch, I'm glad it works for you!&lt;BR /&gt;Hence the issue is solved, Can I mark this case as closed?&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Sanket Parekh&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2023 02:55:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8mn-wakeup-patch-for-6-1-22-kernel/m-p/1754584#M215477</guid>
      <dc:creator>Sanket_Parekh</dc:creator>
      <dc:date>2023-11-09T02:55:15Z</dc:date>
    </item>
  </channel>
</rss>

