<?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: chaning the Debug port i.MX8QXP</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886305#M134252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;‌, please continue with the follow up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Jan 2019 17:19:14 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2019-01-24T17:19:14Z</dc:date>
    <item>
      <title>chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886302#M134249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;We are using the&amp;nbsp;L4.14.78_1.0.0_ga release and are trying to change the Debug port of the i.MX8QXP from UART0 used in the MEK reference board to UART3, without success.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The pins we are trying to use are:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;SC_P_SCU_GPIO0_00_ADMA_UART3_RX&lt;BR /&gt;SC_P_SCU_GPIO0_01_ADMA_UART3_TX&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;Is there a known issue regarding this, or are we missing something?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;Can you please guide us how to do this change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jan 2019 08:06:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886302#M134249</guid>
      <dc:creator>oferausterlitz</dc:creator>
      <dc:date>2019-01-20T08:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886303#M134250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ofer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pin &lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;SC_P_SCU_GPIO0_00_ADMA_UART3_RX&lt;/SPAN&gt; use &lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;UART3 from ADMA&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;complex, not SCU. SCU has only one UART according to Figure 13-1. Simplified Block Diagram&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;i.MX8DQXP Reference Manual &lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fdocs%2Fen%2Freference-manual%2FIMX8DQXPRM.pdf" rel="nofollow" target="_blank"&gt;https://www.nxp.com/docs/en/reference-manual/IMX8DQXPRM.pdf&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;In general may be useful to check scfw documentation included in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=L4.14.78_1.0.0_SCFWKIT&amp;amp;appType=license&amp;amp;location=null" target="_blank"&gt;SCFW Porting Kit&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or &lt;A class="link-titled" href="https://imxdev.gitlab.io/tutorial/System_controller_unit_introduction_for_imx_8qxp_mek/" title="https://imxdev.gitlab.io/tutorial/System_controller_unit_introduction_for_imx_8qxp_mek/"&gt;System Controller Unit (SCU) Introduction for i.MX 8QXP MEK - i.MXDev Blog&lt;/A&gt;&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>Sun, 20 Jan 2019 23:10:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886303#M134250</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-20T23:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886304#M134251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for not being clear enough.&lt;/P&gt;&lt;P&gt;We are trying to use UART3 as the console of U-Boot (and Linux) - not in the SCU FW.&lt;/P&gt;&lt;P&gt;Can you please confirm that there is no known issue doing so?&lt;/P&gt;&lt;P&gt;Can you please &lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;guide us how to do this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;Is there anything we should change in the SCU FW or only in U-Boot itself?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;(We can provide our non-working U-Boot code changes if needed)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 11pt;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 16:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886304#M134251</guid>
      <dc:creator>oferausterlitz</dc:creator>
      <dc:date>2019-01-24T16:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886305#M134252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/igorpadykov"&gt;igorpadykov&lt;/A&gt;‌, please continue with the follow up.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Jan 2019 17:19:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886305#M134252</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2019-01-24T17:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886306#M134253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I escalated your questions on&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/494231"&gt;chaning the Debug port i.MX8QXP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 00:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886306#M134253</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-25T00:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886307#M134254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ofer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I received answer below:&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;There should be no changes to the SCU FW itself. U-Boot (and Linux) make calls to the SCFW API to configure hardware managed by the SCU (i.e., LPUARTs) instead of reading/writing registers directly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For obvious reasons we'll deal with U-Boot first.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In the board file (for the MEK it's board/freescale/imx8qxp_mek/imx8qxp_mek.c), first make sure UART3 pads are configured in &lt;EM&gt;setup_iomux_uart()&lt;/EM&gt; and clocks are configured an enabled in &lt;EM&gt;board_early_init_f()&lt;/EM&gt;. Searching for (regex) &lt;EM&gt;uart.*0&lt;/EM&gt; in the board file turns up references in &lt;EM&gt;board_quiesce_devices()&lt;/EM&gt;. Configure &lt;EM&gt;CONFIG_SERIAL_LPUART_BASE&lt;/EM&gt; in your board config file (include/configs/imx8qxp_mek.h for the MEK). There are several environment variables involving the console including boot args passed to the kernel.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then you'll need to make similar changes in the U-Boot device tree: arch/arm/dts/fsl-imx8qxp*.dts*. MUX and clocks should be configured, though you might need to enable (&lt;EM&gt;status = "okay";&lt;/EM&gt;) lpuart3. Don't forget to include &lt;EM&gt;CONFIG_FSL_LPUART=y&lt;/EM&gt; in your defconfig file.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It might help for you to share with me what you have attempted so far, though it will be difficult for me to help directly unless I can figure out a way to bring out UART3 (or another LPUART) on my MEK. What are the failure symptoms? Just "silence" on the serial line or do you observe U-Boot resets? Do you have a hardware debugger? That makes board bring-up significantly easier.&lt;/P&gt;&lt;P&gt;------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so first one can try to change uart0 to uart3 in uboot:&lt;/P&gt;&lt;P&gt;uboot/board/freescale/imx8qxp_mek/imx8qxp_mek.c&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8qxp_mek/imx8qxp_mek.c?h=imx_v2018.03_4.14.78_1.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/board/freescale/imx8qxp_mek/imx8qxp_mek.c?h=imx_v2018.03_4.14.78_1.0.0_ga"&gt;imx8qxp_mek.c\imx8qxp_mek\freescale\board - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;use sect.3.3.1 Using JTAG tool for debugging attached Porting Guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uart3 example for i.MX8QXP toradex colibri board&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.toradex.com/cgit/u-boot-toradex.git/tree/board/toradex/colibri-imx8qxp/colibri-imx8qxp.c?h=toradex_imx_v2018.03_4.14.62_1.0.0_beta-bringup" title="http://git.toradex.com/cgit/u-boot-toradex.git/tree/board/toradex/colibri-imx8qxp/colibri-imx8qxp.c?h=toradex_imx_v2018.03_4.14.62_1.0.0_beta-bringup"&gt;colibri-imx8qxp.c\colibri-imx8qxp\toradex\board - u-boot-toradex.git - U-Boot bootloader for Apalis and Colibri modules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;build steps&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developer.toradex.com/software/linux/linux-software/build-apalis-imx8-boot-imagelinux-from-scratch" title="https://developer.toradex.com/software/linux/linux-software/build-apalis-imx8-boot-imagelinux-from-scratch"&gt;Build Apalis iMX8/Colibri iMX8X Boot Image/Linux from Scratch&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jan 2019 23:28:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/886307#M134254</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-01-25T23:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: chaning the Debug port i.MX8QXP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/1265562#M172952</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Did you get this questions solved?&lt;/P&gt;&lt;P&gt;I am also want to use the following pin as my u-boot debug port and make changes in u-boot accordingly.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SC_P_SCU_GPIO0_00_ADMA_UART3_RX&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SC_P_SCU_GPIO0_01_ADMA_UART3_TX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There is nothing outputs. While using UART0 and UART1 are no problem. Do I need to make change to scfw?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Apr 2021 04:29:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/chaning-the-Debug-port-i-MX8QXP/m-p/1265562#M172952</guid>
      <dc:creator>eric_lee1</dc:creator>
      <dc:date>2021-04-21T04:29:51Z</dc:date>
    </item>
  </channel>
</rss>

