<?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: [iMX8QM-MEK] LPUART4 settings in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1485256#M192232</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your advice has solved this problem.&lt;/P&gt;&lt;P&gt;I checked pad_list in boad.c.&lt;BR /&gt;And I changed the following section(M core0 in scfw).&lt;BR /&gt;&amp;nbsp; before:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#993366"&gt;RM_RANGE (SC_P_M40_I2C0_SCL, SC_P_M40_GPIO0_01)&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; after:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993366"&gt;RM_RANGE (SC_P_M40_I2C0_SCL, SC_P_M40_I2C0_SDA)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I wrote the image built by replacing scfw_tcm.bin.&lt;/P&gt;&lt;P&gt;Now there are no startup errors and ttyLP4 can be used normally.&lt;BR /&gt;Thank you, I'm happy.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 09:20:03 GMT</pubDate>
    <dc:creator>sushi_happy</dc:creator>
    <dc:date>2022-07-06T09:20:03Z</dc:date>
    <item>
      <title>[iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1450389#M189797</link>
      <description>&lt;P&gt;Hi.&lt;BR /&gt;How can I use LPUART4(ttyLP4) ?&lt;BR /&gt;I made the following changes and the device ttyLP4 is recognized.&lt;BR /&gt;However, there is an error in the console message and LPUART4 cannot be used.&lt;BR /&gt;Am I missing something or is it wrong?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;environment&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;・Android-11.0.0_2.6.0&lt;BR /&gt;・MCIMX8QM-CPU + MCIMX8-8X-BB&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;changes&lt;/STRONG&gt;&lt;/U&gt;&lt;BR /&gt;・init.rc (/device/nxp/imx8q/mek_8q)&lt;BR /&gt;&amp;nbsp; - Added the following code before "on boot".&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; chmod 0777 /dev/ttyLP4&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;・imx8qm-ss-dma.dtsi (/vendor/nxp-opensource/kernel-imx/arch/arm64/boot/dts/freescale)&lt;BR /&gt;&amp;nbsp; - Added the following code.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;amp;lpuart4 {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; compatible = "fsl,imx8qm-lpuart", "fsl,imx8qxp-lpuart";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; };&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;・imx8qm-mek.dts (/vendor/nxp-opensource/kernel-imx/arch/arm64/boot/dts/freescale)&lt;BR /&gt;&amp;nbsp; - added the following code.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;amp;lpuart4 {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpuart4&amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; status = "okay";&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; };&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; pinctrl_lpuart4: lpuart4grp {&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fsl,pins = &amp;lt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_M40_GPIO0_00_DMA_UART4_RX&amp;nbsp; &amp;nbsp; 0x06000020&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IMX8QM_M40_GPIO0_01_DMA_UART4_TX&amp;nbsp; &amp;nbsp; 0x06000020&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#993366"&gt;&amp;nbsp; &amp;nbsp; };&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;U&gt;&lt;STRONG&gt;boot msg&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800080"&gt;[ 0.674545] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 0.677943] 5a060000.serial: ttyLP0 at MMIO 0x5a060010 (irq = 55, base_baud = 5000000) is a FSL_LPUART&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 1.932236] printk: console [ttyLP0] enabled&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 1.937290] 5a070000.serial: ttyLP1 at MMIO 0x5a070010 (irq = 56, base_baud = 5000000) is a FSL_LPUART&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 1.947052] imx8qm-pinctrl scu:pinctrl: pin_config_set op failed for pin 9&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 1.953939] fsl-lpuart 5a0a0000.serial: Error applying setting, reverse things back&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#800080"&gt;[ 1.961846] 5a0a0000.serial: ttyLP4 at MMIO 0x5a0a0010 (irq = 79, base_baud = 5000000) is a FSL_LPUART&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 04:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1450389#M189797</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-04-28T04:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1468541#M191138</link>
      <description>&lt;P&gt;Please give me a reply...&lt;/P&gt;&lt;P&gt;I am checking the functions called at startup step by step.&lt;BR /&gt;After the "&lt;FONT color="#800080"&gt;... failed for pin9&lt;/FONT&gt;",&lt;BR /&gt;In the pinctrl_commit_state function of core.c(/kernel_imx/drivers/pinctrl), the return value "-13" is returned.&lt;BR /&gt;Moreover,&lt;BR /&gt;According to the description in imx-scu.c(/kernel_imx/drivers/firmware/imx), the meaning of "-13" is "EACCES".&lt;BR /&gt;In other words,&lt;BR /&gt;It turned out to be a "&lt;STRONG&gt;Permission error (no access)&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;What causes this error?&lt;BR /&gt;Please tell me how to deal with it.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 06:09:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1468541#M191138</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-06-03T06:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1468570#M191142</link>
      <description>&lt;P&gt;The structure declaration in imx-scu.c (/ kernel_imx / drivers / firmware / imx) says "SCU uses 4 Tx and 4 Rx channels".&lt;BR /&gt;I think there are 0 to 4 channels, is that different?&lt;BR /&gt;Isn't it a total of 10 channels (5 Tx and 5 Rx channels)?&lt;/P&gt;&lt;P&gt;Is this related to this issue?&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2022 07:25:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1468570#M191142</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-06-03T07:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1469031#M191170</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I have the same problem and cannot use LPUART4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I hope NXP will resolve this issue as soon as possible.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 01:15:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1469031#M191170</guid>
      <dc:creator>Yam</dc:creator>
      <dc:date>2022-06-06T01:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1483064#M192086</link>
      <description>&lt;P&gt;"SCU uses 4 Tx and 4 Rx channels"&lt;BR /&gt;I learned that this description refers to the MU in the SCU.&lt;BR /&gt;The MU has two processors, each with four registers.&lt;BR /&gt;There are 8 channels in total.&lt;/P&gt;&lt;P&gt;It is DMA that has 5 LPUARTs.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 00:04:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1483064#M192086</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-07-01T00:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1484776#M192201</link>
      <description>&lt;P&gt;Hello Sushi,&lt;/P&gt;
&lt;P&gt;The root cause it that pin&amp;nbsp;&lt;SPAN&gt;M40_GPIO0_00 and&amp;nbsp;M40_GPIO0_01 are assigned to M core0 in scfw. When doing pin config, scfw will reject the request from Linux. Please check the variable pad_list in the below section of scfw.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bio_TICFSL_0-1657036906327.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185625i5EE42D38AC1A6423/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bio_TICFSL_0-1657036906327.png" alt="Bio_TICFSL_0-1657036906327.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Bio_TICFSL_0-1657036906327.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To enable lpuart4 in imx8qm, you might need update the scfw as requirement and disable the uart function in M core0 demo.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 16:02:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1484776#M192201</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2022-07-05T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1485256#M192232</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/34846"&gt;@Bio_TICFSL&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your advice has solved this problem.&lt;/P&gt;&lt;P&gt;I checked pad_list in boad.c.&lt;BR /&gt;And I changed the following section(M core0 in scfw).&lt;BR /&gt;&amp;nbsp; before:&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;FONT color="#993366"&gt;RM_RANGE (SC_P_M40_I2C0_SCL, SC_P_M40_GPIO0_01)&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp; after:&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;FONT color="#993366"&gt;RM_RANGE (SC_P_M40_I2C0_SCL, SC_P_M40_I2C0_SDA)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I wrote the image built by replacing scfw_tcm.bin.&lt;/P&gt;&lt;P&gt;Now there are no startup errors and ttyLP4 can be used normally.&lt;BR /&gt;Thank you, I'm happy.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 09:20:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1485256#M192232</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2022-07-06T09:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1686331#M209110</link>
      <description>&lt;P&gt;Hello ,I got some problem in the scfw with Android AutoMotive compile,can you describe the details of compile scfw and Android AutoMotive?I need your help&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2023 07:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1686331#M209110</guid>
      <dc:creator>EmptyObject_</dc:creator>
      <dc:date>2023-07-12T07:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: [iMX8QM-MEK] LPUART4 settings</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1691648#M209603</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217426"&gt;@EmptyObject_&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know much about SCFW compile.&lt;/P&gt;&lt;P&gt;but, I don't know your problem too. what's your problem?&lt;/P&gt;&lt;P&gt;do you have thread URL about it ?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 00:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8QM-MEK-LPUART4-settings/m-p/1691648#M209603</guid>
      <dc:creator>sushi_happy</dc:creator>
      <dc:date>2023-07-25T00:39:06Z</dc:date>
    </item>
  </channel>
</rss>

