<?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 LX2160a linux UART configuration in Layerscape</title>
    <link>https://community.nxp.com/t5/Layerscape/LX2160a-linux-UART-configuration/m-p/1522691#M11161</link>
    <description>&lt;P&gt;I noticed, that linux is not able to configure the UART interface. (arm,pl011 driver) using LSDK 21.08&lt;/P&gt;&lt;P&gt;I'm able to configure the interface in bootloader environment (u-boot 2021-04)&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Bootlader is using UART1 (0x21c0000) with baudrate 115200&lt;/P&gt;&lt;P&gt;If I configure the linux boot commands to&amp;nbsp;console=ttyAMA0,57600 it does not change during linux boot and the login prompt will still be disabled (With a baudrate of 115200)&lt;/P&gt;&lt;P&gt;I'm also not able to modify the settings on other UART (2-4) interfaces if i do not set them up during bootloader.&lt;/P&gt;&lt;P&gt;[ 0.000000] earlycon: pl11 at MMIO32 0x00000000021c0000 (options '9600n8')&lt;BR /&gt;[ 0.000000] printk: bootconsole [pl11] enabled&lt;/P&gt;&lt;P&gt;(earlycon settings are also not applied)&lt;/P&gt;&lt;P&gt;stty -F /dev/ttyAMA0 57600&lt;BR /&gt;stty: /dev/ttyAMA0: cannot perform all requested operations&lt;/P&gt;&lt;P&gt;stty fails to change baud rate&lt;/P&gt;&lt;P&gt;Does anybody else have the same issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exists there a bugfix for the pl011 driver)&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 07:56:12 GMT</pubDate>
    <dc:creator>Takarth</dc:creator>
    <dc:date>2022-09-15T07:56:12Z</dc:date>
    <item>
      <title>LX2160a linux UART configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160a-linux-UART-configuration/m-p/1522691#M11161</link>
      <description>&lt;P&gt;I noticed, that linux is not able to configure the UART interface. (arm,pl011 driver) using LSDK 21.08&lt;/P&gt;&lt;P&gt;I'm able to configure the interface in bootloader environment (u-boot 2021-04)&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Bootlader is using UART1 (0x21c0000) with baudrate 115200&lt;/P&gt;&lt;P&gt;If I configure the linux boot commands to&amp;nbsp;console=ttyAMA0,57600 it does not change during linux boot and the login prompt will still be disabled (With a baudrate of 115200)&lt;/P&gt;&lt;P&gt;I'm also not able to modify the settings on other UART (2-4) interfaces if i do not set them up during bootloader.&lt;/P&gt;&lt;P&gt;[ 0.000000] earlycon: pl11 at MMIO32 0x00000000021c0000 (options '9600n8')&lt;BR /&gt;[ 0.000000] printk: bootconsole [pl11] enabled&lt;/P&gt;&lt;P&gt;(earlycon settings are also not applied)&lt;/P&gt;&lt;P&gt;stty -F /dev/ttyAMA0 57600&lt;BR /&gt;stty: /dev/ttyAMA0: cannot perform all requested operations&lt;/P&gt;&lt;P&gt;stty fails to change baud rate&lt;/P&gt;&lt;P&gt;Does anybody else have the same issue?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exists there a bugfix for the pl011 driver)&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 07:56:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160a-linux-UART-configuration/m-p/1522691#M11161</guid>
      <dc:creator>Takarth</dc:creator>
      <dc:date>2022-09-15T07:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: LX2160a linux UART configuration</title>
      <link>https://community.nxp.com/t5/Layerscape/LX2160a-linux-UART-configuration/m-p/1523541#M11176</link>
      <description>&lt;P&gt;The SBSA UART has a fixed baud rate and flow control setting which cannot be changed by user space software.&lt;/P&gt;
&lt;P&gt;Changes to be done in firmware for changing baud rate.&lt;/P&gt;
&lt;P&gt;In atf source code&amp;nbsp;plat/nxp/soc-lx2160a/lx2160ardb/plat_def.h, please do the following modification.&lt;/P&gt;
&lt;P&gt;#define NXP_CONSOLE_BAUDRATE 115200&lt;/P&gt;
&lt;P&gt;=&amp;gt;&lt;/P&gt;
&lt;P&gt;#define NXP_CONSOLE_BAUDRATE&amp;nbsp;&lt;SPAN&gt;57600&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;=&amp;gt; printenv bootargs&lt;/P&gt;
&lt;P&gt;bootargs=console=ttyAMA0,115200 root=/dev/ram0 rw rootdelay=10 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024m hugepages=2 pci=pcie_bus_perf iommu.passthrough=1&lt;/P&gt;
&lt;P&gt;=&amp;gt; editenv bootargs&lt;/P&gt;
&lt;P&gt;edit: console=ttyAMA0,57600 root=/dev/ram0 rw rootdelay=10 earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=1024m hugepagesz=1024&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:14:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Layerscape/LX2160a-linux-UART-configuration/m-p/1523541#M11176</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2022-09-16T09:14:27Z</dc:date>
    </item>
  </channel>
</rss>

