<?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: LS1028 - U-Boot console on LPUART in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1511590#M11076</link>
    <description>&lt;P&gt;Another question,&lt;BR /&gt;&lt;BR /&gt;How to get logs for ATF on LPUART6?&lt;BR /&gt;It seems that changing only NXP_UART_ADDR to the CCSR address of LPUART6 isn't enough.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Aug 2022 09:29:49 GMT</pubDate>
    <dc:creator>cguer</dc:creator>
    <dc:date>2022-08-25T09:29:49Z</dc:date>
    <item>
      <title>LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1477938#M10733</link>
      <description>&lt;P&gt;Hello NXP Community,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Context&lt;BR /&gt;&lt;/STRONG&gt;I'm using ls1028 device. U-Boot and Linux console output use duart1(duart0 on dts).&lt;BR /&gt;Now, i would like the console output to be on the lpuart6(lpuart5 on dts).&lt;BR /&gt;I'm using U-Boot qoriq 2020.04&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;What i've done&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;rcw&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I've set UART1_SOUTSIN_PMUX to 0b011 to use LPUART6 according datasheet Rev. 0 , 12/2019&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;u-boot defconfig&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I've set following config to yes:&amp;nbsp; CONFIG_DM_SERIAL, CONFIG_FSL_LPUART, CONFIG_LPUART.&lt;BR /&gt;I've also set CONFIG_SYS_EXTRA_OPTIONS to "LPUART".&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;u-boot device tree&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have my own device tree which I include fsl-ls1028a.dtsi. In addition to that, i've changed the status of node to "okay" for the following nodes: &amp;amp;lpuart5 &amp;amp;serial0.&lt;BR /&gt;I've done aliases between serial0 and &amp;amp;lpuart5.&lt;BR /&gt;I've set also stdout-path to &amp;amp;lpuart5 (under chosen).&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Status&lt;BR /&gt;&lt;/STRONG&gt;After those step, I still don't have console output.&amp;nbsp;&lt;BR /&gt;Any suggestion? Is it possible to have console output on LPUART6?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Cguer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 07:43:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1477938#M10733</guid>
      <dc:creator>cguer</dc:creator>
      <dc:date>2022-06-22T07:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1479023#M10740</link>
      <description>&lt;P&gt;You could use&amp;nbsp;flexbuild_lsdk2004_update_290520 release.&lt;/P&gt;
&lt;P&gt;Please refer to the attached u-boot patches.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 10:12:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1479023#M10740</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-06-23T10:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1479060#M10741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52411"&gt;@yipingwang&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I really appreciate your fast reply on this subject.&lt;BR /&gt;&lt;BR /&gt;The patches you sent to me are for LPUART1(lpuart0 in dts). What should I do if I want for LPUART6?&lt;BR /&gt;Especially the modification done with your patch 0001-board-freescale-ls1028a-mux-changes-for-lpuart.patch concerning QIXIS_READ.&lt;BR /&gt;&lt;BR /&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jun 2022 11:35:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1479060#M10741</guid>
      <dc:creator>cguer</dc:creator>
      <dc:date>2022-06-23T11:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1483967#M10812</link>
      <description>&lt;P&gt;The following section is used to modify pins multiplex, if your uart hardware design is the same as the QDS, you could use the following configuration and modify&amp;nbsp;&lt;SPAN&gt;CFG_LPUART_EN.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;+&amp;nbsp;&amp;nbsp; &amp;nbsp;uart = QIXIS_READ(brdcfg[13]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+&amp;nbsp;&amp;nbsp; &amp;nbsp;uart &amp;amp;= ~CFG_LPUART_MUX_MASK;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+&amp;nbsp;&amp;nbsp; &amp;nbsp;uart |= CFG_LPUART_EN;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;+&amp;nbsp;&amp;nbsp; &amp;nbsp;QIXIS_WRITE(brdcfg[13], uart);&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 09:24:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1483967#M10812</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-07-04T09:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1509974#M11065</link>
      <description>&lt;P&gt;Thanks for your help.&lt;BR /&gt;&lt;BR /&gt;But i need more support on this.&lt;BR /&gt;&lt;BR /&gt;You told me to put the following line:&lt;BR /&gt;"&lt;SPAN&gt;uart = QIXIS_READ(brdcfg[13]);"&lt;BR /&gt;&lt;BR /&gt;Where is the documentation of the register #13 of BRDCFG?&lt;BR /&gt;The documentation i have explain BRDCFG0 to BRDCFG6.&lt;BR /&gt;&lt;BR /&gt;Should I put for lpuart5:&amp;nbsp;CFG_LPUART_EN = 0xF5&amp;nbsp; ?&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:17:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1509974#M11065</guid>
      <dc:creator>cguer</dc:creator>
      <dc:date>2022-08-23T07:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1511590#M11076</link>
      <description>&lt;P&gt;Another question,&lt;BR /&gt;&lt;BR /&gt;How to get logs for ATF on LPUART6?&lt;BR /&gt;It seems that changing only NXP_UART_ADDR to the CCSR address of LPUART6 isn't enough.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 09:29:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1511590#M11076</guid>
      <dc:creator>cguer</dc:creator>
      <dc:date>2022-08-25T09:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1517580#M11124</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Just an update to tell that the solution worked by randomly putting this:&amp;nbsp;&lt;SPAN&gt;CFG_LPUART_EN = 0xF5.&lt;/SPAN&gt;&lt;BR /&gt;Still two opens problems:&lt;/P&gt;&lt;P&gt;- We don't have any ATF logs while using LPUART.&lt;BR /&gt;- The solution you gave mention of the #13 register of board configuration in QIXIS. I don't see any documentation that mention this register. The one I have only describe the 8 first register.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:10:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1517580#M11124</guid>
      <dc:creator>cguer</dc:creator>
      <dc:date>2022-09-06T09:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: LS1028 - U-Boot console on LPUART</title>
      <link>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1687907#M12881</link>
      <description>&lt;P&gt;I would also like to use LPUART1 with ATF.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 21:01:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LS1028-U-Boot-console-on-LPUART/m-p/1687907#M12881</guid>
      <dc:creator>CGW</dc:creator>
      <dc:date>2023-07-13T21:01:40Z</dc:date>
    </item>
  </channel>
</rss>

