<?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: How to I change the u-boot serial port on the LS1028ARDB demo board in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1804426#M13967</link>
    <description>&lt;P&gt;Unfortunately, those were not of any help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of the one link:&amp;nbsp;&amp;nbsp;&lt;A href="https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port" target="_blank" rel="noopener"&gt;https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically says:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Change the Debug UART (Serial Console) to Another Port&lt;A title="Direct link to Change the Debug UART (Serial Console) to Another Port" href="https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port" target="_blank" rel="noopener"&gt;​&lt;/A&gt;&lt;/H2&gt;&lt;P class="lia-indent-padding-left-30px"&gt;We don't provide instructions on how to do this. We advise you to use either the default Debug Port defined by Toradex or NXP.&lt;/P&gt;&lt;P&gt;I was really thinking that changing the "chosen" section in&amp;nbsp;&lt;STRONG&gt;fsl-ls1028a-rdb.dts&lt;/STRONG&gt;&amp;nbsp;to specify serial1 instead of serial0 would have done what I wanted, but it does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2024 22:11:33 GMT</pubDate>
    <dc:creator>jrevans</dc:creator>
    <dc:date>2024-02-08T22:11:33Z</dc:date>
    <item>
      <title>How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1803715#M13957</link>
      <description>&lt;P&gt;How do I change the default u-boot serial port from UART1 to UART2 on the LS1028ARDB demo board?&lt;/P&gt;&lt;P&gt;I'm building the Yocto image, and can change the linux console port to UART2 by editing CONFIG_EXTRA_ENV_SETTINGS in u-boot-qoriq/include/configs/ls1028ardb.h to use "bootargs=console=ttyS1,115200\0" instead of "bootargs=console=ttyS0,115200\0"&lt;BR /&gt;But I cannot figure out how to change the u-boot serial port.&lt;/P&gt;&lt;P&gt;I thought that changing this:&lt;BR /&gt;&lt;EM&gt;chosen {&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp;stdout-path = "serial0:115200n8";&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;};&lt;/EM&gt;&lt;BR /&gt;in fsl-ls1028a-rdb.dts from serial0 to serial1 would make the change, but it didn't.&lt;/P&gt;&lt;P&gt;I see other boards add CONFIG_CONS_INDEX and CONFIG_MXC_UART_BASE to the defconfig file, but that doesn't seem to be appropriate for the LS1028ARDB.&lt;/P&gt;&lt;P&gt;I want both u-boot and the linux kernel to use UART2 as the default console, but so far I can only get Linux to do it.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2024 22:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1803715#M13957</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2024-02-07T22:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1804208#M13965</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This may helps:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/Other-NXP-Products/LS1028a-Unable-to-enable-RS232-as-default-serial-console-from/td-p/1578330" target="_blank"&gt;https://community.nxp.com/t5/Other-NXP-Products/LS1028a-Unable-to-enable-RS232-as-default-serial-console-from/td-p/1578330&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/" target="_blank"&gt;https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 15:15:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1804208#M13965</guid>
      <dc:creator>Bio_TICFSL</dc:creator>
      <dc:date>2024-02-08T15:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1804426#M13967</link>
      <description>&lt;P&gt;Unfortunately, those were not of any help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This part of the one link:&amp;nbsp;&amp;nbsp;&lt;A href="https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port" target="_blank" rel="noopener"&gt;https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically says:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;H2&gt;Change the Debug UART (Serial Console) to Another Port&lt;A title="Direct link to Change the Debug UART (Serial Console) to Another Port" href="https://developer.toradex.com/software/development-resources/configuring-serial-port-debug-console-linuxu-boot/#change-the-debug-uart-serial-console-to-another-port" target="_blank" rel="noopener"&gt;​&lt;/A&gt;&lt;/H2&gt;&lt;P class="lia-indent-padding-left-30px"&gt;We don't provide instructions on how to do this. We advise you to use either the default Debug Port defined by Toradex or NXP.&lt;/P&gt;&lt;P&gt;I was really thinking that changing the "chosen" section in&amp;nbsp;&lt;STRONG&gt;fsl-ls1028a-rdb.dts&lt;/STRONG&gt;&amp;nbsp;to specify serial1 instead of serial0 would have done what I wanted, but it does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2024 22:11:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1804426#M13967</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2024-02-08T22:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1813980#M14012</link>
      <description>&lt;P&gt;I still cannot figure out how to change the default serial device that U-Boot uses for its console....&lt;/P&gt;&lt;P&gt;I've been looking at and making changes to the device tree files (fsl-ls1028a-rdb.dts and the related include files), the defconfig file, and the&amp;nbsp;ls1028ardb.h file, but I cannot get the U-Boot console to move from UART1 on the dev board.&lt;/P&gt;&lt;P&gt;Can anybody provide me some guidance?&lt;/P&gt;&lt;P&gt;Surely there is a simple way to accomplish the task of moving the U-Boot console port.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 17:13:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1813980#M14012</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2024-02-22T17:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1814801#M14014</link>
      <description>&lt;P&gt;Looking at the &lt;A href="https://github.com/Scalys/u-boot-qoriq/blob/git.denx.de/master/doc/README.console" target="_self"&gt;u-boot-qoriq/doc/README.console&lt;/A&gt; file, it says:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If not defined in the environment, the first input device is assigned
to the 'stdin' file, the first output one to 'stdout' and 'stderr'.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't see the console defined in the environment, and when I try to define it, it doesn't seem to work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In what context does that README file refer to the first input device being assigned?&amp;nbsp; I tried changing the order of the ports around in the&amp;nbsp;&lt;STRONG&gt;fsl-ls1028a-rdb.dts&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;fsl-ls1028a.dtsi&lt;/STRONG&gt; files, but I still get the U-Boot console on the dev board's UART1 connector.&amp;nbsp; Is there someplace else that I would change the order of the ports to effect the first input/output device to be assigned?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2024 18:15:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1814801#M14014</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2024-02-23T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to I change the u-boot serial port on the LS1028ARDB demo board</title>
      <link>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1816746#M14018</link>
      <description>&lt;P&gt;Well, I figured out the solution with a co-workers assistance.&lt;/P&gt;&lt;P&gt;First off, my build environment was corrupted and for whatever reason, some of the changes that I made did not get put into my Yocto image. It was odd, as I could change the&amp;nbsp;&lt;STRONG&gt;ls1028ardb.h&lt;/STRONG&gt; file and the change took effect, but changing the&amp;nbsp;&lt;STRONG&gt;fsl-ls1028a-rdb.dts&lt;/STRONG&gt; file or the&amp;nbsp;&lt;STRONG&gt;ls1028ardb_tfa_defconfig&lt;/STRONG&gt; file did not take effect.&amp;nbsp; &lt;EM&gt;The joys of Yocto&lt;/EM&gt;.&amp;nbsp; When I looked at the build/tmp/work/blah... directory, my changes to defconfig did not appear in the .config file.&amp;nbsp; To fix that, I had to abandon my changes and reset devtool.&lt;/P&gt;&lt;P&gt;From the build directory:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;devtool reset u-boot-qoriq
rm -rf ../sources/workspace/sources/u-boot-qoriq
devtool modify u-boot-qoriq --no-overrides&lt;/LI-CODE&gt;&lt;P&gt;To change the U-Boot console port, I modified this file in my workspace:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;configs/ls1028ardb_tfa_defconfig&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;and added this line at the bottom of the file to move the U-Boot console to UART2 on the dev board.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;CONFIG_CONS_INDEX=2&lt;/LI-CODE&gt;&lt;P&gt;I did a &lt;STRONG&gt;bitbake u-boot-qoriq&lt;/STRONG&gt; and then bitbaked our image.&amp;nbsp; It worked and U-Boot console was now on UART2!&lt;/P&gt;&lt;P&gt;Next, I made the changes to move the Linux console to the UART2 port on the dev board.&amp;nbsp; I edited my &lt;STRONG&gt;include/configs/ls1028ardb.h&lt;/STRONG&gt;&amp;nbsp;file in my workspace, changing:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;"bootargs=console=ttyS0,115200\0" \&lt;/LI-CODE&gt;&lt;P&gt;to be:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;"bootargs=console=ttyS1,115200 earlycon=uart8250,mmio,0x21c0600\0" \&lt;/LI-CODE&gt;&lt;P&gt;I again bitbaked u-boot-qoriq and then our image, and now both the U-Boot console and the Linux console are relocated to UART2 on the dev board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2024 17:23:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/How-to-I-change-the-u-boot-serial-port-on-the-LS1028ARDB-demo/m-p/1816746#M14018</guid>
      <dc:creator>jrevans</dc:creator>
      <dc:date>2024-02-27T17:23:20Z</dc:date>
    </item>
  </channel>
</rss>

