<?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: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2088325#M236760</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;please find the attached files.&amp;nbsp; i see some comments about M33 uart which i suppose means LPUART2 is assigned to the M33 core, and i am not sure how can i use uart2.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Apr 2025 10:59:45 GMT</pubDate>
    <dc:creator>Samt07</dc:creator>
    <dc:date>2025-04-28T10:59:45Z</dc:date>
    <item>
      <title>LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2086443#M236661</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on a i.MX95 board, and I'm running into issues enabling LPUART2 from Linux.&lt;/P&gt;&lt;P&gt;I've added the following to my board-specific .dts:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;&amp;amp;lpuart2 {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pinctrl-names = "default";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart2&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;};&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;(this much should work as other uart working with similar changes)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The pinctrl is properly defined and the DT compiles correctly. However, during kernel boot, I get this error:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;scmi-pinctrl scmi_dev.6: Error parsing config -13&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;scmi-pinctrl scmi_dev.6: pin_config_set op failed for pin 119&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;fsl-lpuart 44390000.serial: Error applying setting, reverse things back&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;Internal&amp;nbsp;&lt;SPAN&gt;error: synchronous external abort: 0000000096000010 [&lt;/SPAN&gt;&lt;SPAN&gt;#1] PREEMPT SMP&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If I disable LPUART2, the kernel boots normally.&lt;/P&gt;&lt;P&gt;So I'm wondering if something in the system or firmware is preventing access to this UART from the Linux side.&lt;/P&gt;&lt;P&gt;Appreciate any insights, thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 09:01:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2086443#M236661</guid>
      <dc:creator>Samt07</dc:creator>
      <dc:date>2025-04-24T09:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2086808#M236688</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226939"&gt;@Samt07&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;Thank you for contacting NXP Support!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you share your device tree file?&lt;/P&gt;
&lt;P&gt;What board are you using?&lt;/P&gt;
&lt;P&gt;What BSP version are you using?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 17:37:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2086808#M236688</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-04-24T17:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2087282#M236711</link>
      <description>&lt;DIV&gt;using&amp;nbsp;&lt;SPAN&gt;iWave iW-RainboW-G61D&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;Version: Linux6.6.36&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;SOM level: my imx95-iwg61m.dtsi&lt;/DIV&gt;&lt;DIV&gt;&amp;amp;lpuart2 {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; pinctrl-names = "default";&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_uart2&amp;gt;;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; status = "okay";&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;pinctrl_uart2: uart2grp {&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; fsl,pins = &amp;lt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IMX95_PAD_UART2_TXD__AONMIX_TOP_LPUART2_TX&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x31e&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IMX95_PAD_UART2_RXD__AONMIX_TOP_LPUART2_RX&amp;nbsp; &amp;nbsp; &amp;nbsp; 0x31e&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IMX95_PAD_SAI1_TXC__AONMIX_TOP_LPUART2_CTS_B 0x31e&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IMX95_PAD_SAI1_TXD0__AONMIX_TOP_LPUART2_RTS_B 0x31e &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; &amp;nbsp; &amp;gt;;&lt;/DIV&gt;&lt;DIV&gt;};&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you'd like me to share the full DTS file or any kernel logs again.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 11:31:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2087282#M236711</guid>
      <dc:creator>Samt07</dc:creator>
      <dc:date>2025-04-25T11:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2087318#M236712</link>
      <description>&lt;P&gt;HI &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226939"&gt;@Samt07&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Yes, I need the full device tree file (dts and dtsi files)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 12:47:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2087318#M236712</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-04-25T12:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2088325#M236760</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;please find the attached files.&amp;nbsp; i see some comments about M33 uart which i suppose means LPUART2 is assigned to the M33 core, and i am not sure how can i use uart2.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 10:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2088325#M236760</guid>
      <dc:creator>Samt07</dc:creator>
      <dc:date>2025-04-28T10:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2088733#M236781</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226939"&gt;@Samt07&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What boards are you using?&lt;/P&gt;
&lt;P&gt;Your board are using the UART2 for M core?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 23:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2088733#M236781</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-04-28T23:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2089099#M236797</link>
      <description>&lt;P&gt;&amp;gt;&amp;gt;&amp;nbsp;&lt;SPAN&gt;Your board are using the UART2 for M core?&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;I'm not entirely certain how the core ownership is configured on this platform, but based on the imx95-iwg61m.dtsi file, UART2 is commented as // M33 UART , which suggests that it may be allocated to the M core (Cortex-M33).&lt;/P&gt;&lt;P class=""&gt;If that’s the case, I assume the UART2 peripheral might be under the control of the M core, and that could explain the issue when the A core tries to configure or access it.&lt;/P&gt;&lt;P class=""&gt;Could you please confirm if UART2 is reserved for the M core by default in this SoC? If so, I’d like to understand the proper method to reassign or release it for use by the A core. Is it done via SCMI resource partitioning or any specific firmware configuration?&lt;/P&gt;&lt;P class=""&gt;For reference, during kernel boot, I'm getting the following error:&lt;/P&gt;&lt;P&gt;i have already shared the error snippet while kernel is starting that&amp;nbsp;&lt;BR /&gt;&lt;FONT color="#800080"&gt;scmi-pinctrl scmi_dev.6: Error parsing config -13&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;scmi-pinctrl scmi_dev.6: pin_config_set op failed for pin 119&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;fsl-lpuart 44390000.serial: Error applying setting, reverse things back&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;Internal&amp;nbsp;&lt;SPAN&gt;error: synchronous external abort: 0000000096000010 [&lt;/SPAN&gt;&lt;SPAN&gt;#1] PREEMPT SMP&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This seems to point toward either access permission issues or improper ownership configuration.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&lt;SPAN&gt;What boards are you using?&lt;/SPAN&gt;&lt;BR /&gt;I am using iwave&amp;nbsp;i.MX 95 SMARC SOM&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 07:44:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2089099#M236797</guid>
      <dc:creator>Samt07</dc:creator>
      <dc:date>2025-04-29T07:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART2 not usable on i.MX95 - kernel crash when enabling</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2090347#M236850</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/226939"&gt;@Samt07&lt;/a&gt;!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;The iMX95 could contain embedded the binary of M core in the boot loader image..&lt;/P&gt;
&lt;P&gt;I recommend to ask to iWAVE how to remove the image of the M core of their image to use the UART2 in A core.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both processors can´t use the same peripheral because can cause kernel panics.&lt;/P&gt;
&lt;P&gt;Is a normal behavior and that happens in iMX8M too when the peripherals are taken by two different cores.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards!&lt;/P&gt;
&lt;P&gt;Chavira&lt;/P&gt;</description>
      <pubDate>Wed, 30 Apr 2025 16:43:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART2-not-usable-on-i-MX95-kernel-crash-when-enabling/m-p/2090347#M236850</guid>
      <dc:creator>Chavira</dc:creator>
      <dc:date>2025-04-30T16:43:22Z</dc:date>
    </item>
  </channel>
</rss>

