<?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 LPUART3 abnormal,imx8qxp startup from SD  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989502#M146938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Board:imx8qxp&lt;/P&gt;&lt;P&gt;Enviroment:yocto&lt;/P&gt;&lt;P&gt;dts config:&lt;/P&gt;&lt;P&gt;pinctrl_lpuart3: lpuart3grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;SC_P_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020&lt;BR /&gt;SC_P_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;kernel startup from OSPI/eMMC is nornal,but kernel startup from SD is abnormal,logs as following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;[ 1.434158] imx8qxp-pinctrl iomuxc: pin_config_set op failed for pin 110&lt;BR /&gt;[ 1.440888] fsl-lpuart 5a090000.serial: Error applying setting, reverse things back&lt;BR /&gt;[ 1.449278] 5a090000.serial: ttyLP3 at MMIO 0x5a090010 (irq = 54, base_baud = 5000000) is a FSL_LPUART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel startup from OSPI,fdt_file=fsl-imx8qxp-ctx0800-rohs.dtb in uboot.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;kernel startup from SD,fdt_file=fsl-imx8qxp-ctx0800-rohs-rpmsg.dtb&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in uboot.Moreover&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in fsl-imx8qxp-ctx0800-rohs-rpmsg.dtsi file,I masked &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;lpuart3 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;kernel startup from OSPI or&amp;nbsp;kernel startup from SD,The kernel Images are same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I set enviroment varaible fdt_file=fsl-imx8qxp-ctx0800-rohs.dtb,When kernel startup from SD.But consequence is same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can somebody help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jan 2020 07:36:09 GMT</pubDate>
    <dc:creator>liuyonggang</dc:creator>
    <dc:date>2020-01-22T07:36:09Z</dc:date>
    <item>
      <title>LPUART3 abnormal,imx8qxp startup from SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989502#M146938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Board:imx8qxp&lt;/P&gt;&lt;P&gt;Enviroment:yocto&lt;/P&gt;&lt;P&gt;dts config:&lt;/P&gt;&lt;P&gt;pinctrl_lpuart3: lpuart3grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;SC_P_FLEXCAN2_TX_ADMA_UART3_TX 0x06000020&lt;BR /&gt;SC_P_FLEXCAN2_RX_ADMA_UART3_RX 0x06000020&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;&amp;nbsp;};&lt;/P&gt;&lt;P&gt;kernel startup from OSPI/eMMC is nornal,but kernel startup from SD is abnormal,logs as following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;[ 1.434158] imx8qxp-pinctrl iomuxc: pin_config_set op failed for pin 110&lt;BR /&gt;[ 1.440888] fsl-lpuart 5a090000.serial: Error applying setting, reverse things back&lt;BR /&gt;[ 1.449278] 5a090000.serial: ttyLP3 at MMIO 0x5a090010 (irq = 54, base_baud = 5000000) is a FSL_LPUART&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel startup from OSPI,fdt_file=fsl-imx8qxp-ctx0800-rohs.dtb in uboot.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;kernel startup from SD,fdt_file=fsl-imx8qxp-ctx0800-rohs-rpmsg.dtb&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;in uboot.Moreover&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in fsl-imx8qxp-ctx0800-rohs-rpmsg.dtsi file,I masked &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;amp;lpuart3 {&lt;BR /&gt; status = "disabled";&lt;BR /&gt;};&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;kernel startup from OSPI or&amp;nbsp;kernel startup from SD,The kernel Images are same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I set enviroment varaible fdt_file=fsl-imx8qxp-ctx0800-rohs.dtb,When kernel startup from SD.But consequence is same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can somebody help me?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Tks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards！&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 07:36:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989502#M146938</guid>
      <dc:creator>liuyonggang</dc:creator>
      <dc:date>2020-01-22T07:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART3 abnormal,imx8qxp startup from SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989503#M146939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi liu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lpuart3 may be used by SDK_MEK-MIMX8QX (MCUXpresso SDK for i.MX Cortex-M),&lt;/P&gt;&lt;P&gt;please check MLK-21173 ARM64: dts: fix imx8qxp-pinctrl iomuxc error&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_4.19.35_1.1.0&amp;amp;id=58461e6f4f5d2df995b7c6c01e627cfcd33add3d" title="https://source.codeaurora.org/external/imx/linux-imx/commit/?h=imx_4.19.35_1.1.0&amp;amp;id=58461e6f4f5d2df995b7c6c01e627cfcd33add3d"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"..assign all flexcan pins to M4, A core cannot access flexcan pins for now. LPUART3&lt;/P&gt;&lt;P&gt;uses flexcan pins before, so disable it.."&lt;/P&gt;&lt;P&gt;One can try to remove below two lines in : /vendor/nxp/fsl-proprietary/uboot-firmware/imx8q_car/board-imx8qxp.c&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BRD_ERR(rm_set_pad_movable(pt_boot, SC_P_FLEXCAN0_RX,&lt;BR /&gt; SC_P_FLEXCAN2_TX, SC_TRUE));&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then use this board.c file to build scfw with scfw-porting-kit release to test.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 11:14:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989503#M146939</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-01-22T11:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPUART3 abnormal,imx8qxp startup from SD</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989504#M146940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Tks for your suggestion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I try to mask&amp;nbsp;&lt;SPAN&gt;BRD_ERR(rm_set_pad_movable(pt_boot, SC_P_FLEXCAN0_RX,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SC_P_FLEXCAN2_TX, SC_TRUE)); in function&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;board_system_config of &amp;nbsp;file imx-scfw/platform/board/mx8qx_mek/board.c,and I rebuild.&lt;/P&gt;&lt;P&gt;&amp;nbsp; It works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;P&gt;Johnny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2020 01:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/LPUART3-abnormal-imx8qxp-startup-from-SD/m-p/989504#M146940</guid>
      <dc:creator>liuyonggang</dc:creator>
      <dc:date>2020-02-05T01:50:03Z</dc:date>
    </item>
  </channel>
</rss>

