<?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 earlycon on imx6sx Linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/earlycon-on-imx6sx-Linux/m-p/891111#M134731</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to enable earlycon on imx6sx. I appended "earlycon=ec_imx21,0x02020000,1152008n" string to the kernel parameter passed from uboot to the kernel.&amp;nbsp; Indeed, this enabled the early console, but unfortunately, text output became garbled on my terminal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setenv mmcargs setenv bootargs console=\${console},\${baudrate} root=/dev/mmcblk3p2 rootwait rw earlycon=ec_imx21,0x02020000,115200n8&lt;/STRONG&gt;&lt;BR /&gt;=&amp;gt; saveenv&lt;BR /&gt;Saving Environment to MMC...&lt;BR /&gt;Writing to MMC(2)... done&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; boot&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;Kernel image @ 0x80800000 [ 0x000000 - 0x458180 ]&lt;BR /&gt;## Flattened Device Tree blob at 83000000&lt;BR /&gt; Booting using the fdt blob at 0x83000000&lt;BR /&gt; Using Device Tree in place at 83000000, end 8300f6fb&lt;BR /&gt;switch to ldo_bypass mode!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncompressing Linux... done, booting the kernel.&lt;BR /&gt;[ 0.000000] Booting Linux on physical CPU 0x0&lt;BR /&gt;[ 0.000000] Linux version 4.9.88-rt66-gf5546cd-dirty (warkene@lbnidevlinux01) (gcc version 7.3.0 (GCC) ) #9 SMP PREEMPT RT Tue Apr 23 16:08:54 CDT 2019&lt;BR /&gt;[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d&lt;BR /&gt;[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache&lt;BR /&gt;[ 0.000000] OF: fdt:Machine model: Freescale i.MX6 SoloX SDB RevB Board (Shure Blackhawk DSM eval)&lt;BR /&gt;[ 0.000000]&lt;STRONG&gt; earlycon: ec_imx21 at MMIO 0x02020000 (options '115200n8')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ûÂðôo9!Dé`Û&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ÿ&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; / Éâýä'»?K¡º(?Û&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[ 5.679913] console [ttymxc0] enabled&lt;/STRONG&gt;&lt;BR /&gt;[ 5.684709] bootconsole [ec_imx21] disabled&lt;BR /&gt;[ 5.684709] bootconsole [ec_imx21] disabled&lt;BR /&gt;[ 5.709531] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 71, base_baud = 5000000) is a IMX&lt;BR /&gt;[ 5.752225] imx sema4 driver is registered.&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like baud rate was not set correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Any help you can give will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Eugen W.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 24 Apr 2019 22:24:15 GMT</pubDate>
    <dc:creator>eugenwarkentin</dc:creator>
    <dc:date>2019-04-24T22:24:15Z</dc:date>
    <item>
      <title>earlycon on imx6sx Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/earlycon-on-imx6sx-Linux/m-p/891111#M134731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to enable earlycon on imx6sx. I appended "earlycon=ec_imx21,0x02020000,1152008n" string to the kernel parameter passed from uboot to the kernel.&amp;nbsp; Indeed, this enabled the early console, but unfortunately, text output became garbled on my terminal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;setenv mmcargs setenv bootargs console=\${console},\${baudrate} root=/dev/mmcblk3p2 rootwait rw earlycon=ec_imx21,0x02020000,115200n8&lt;/STRONG&gt;&lt;BR /&gt;=&amp;gt; saveenv&lt;BR /&gt;Saving Environment to MMC...&lt;BR /&gt;Writing to MMC(2)... done&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;=&amp;gt; boot&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;Kernel image @ 0x80800000 [ 0x000000 - 0x458180 ]&lt;BR /&gt;## Flattened Device Tree blob at 83000000&lt;BR /&gt; Booting using the fdt blob at 0x83000000&lt;BR /&gt; Using Device Tree in place at 83000000, end 8300f6fb&lt;BR /&gt;switch to ldo_bypass mode!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Uncompressing Linux... done, booting the kernel.&lt;BR /&gt;[ 0.000000] Booting Linux on physical CPU 0x0&lt;BR /&gt;[ 0.000000] Linux version 4.9.88-rt66-gf5546cd-dirty (warkene@lbnidevlinux01) (gcc version 7.3.0 (GCC) ) #9 SMP PREEMPT RT Tue Apr 23 16:08:54 CDT 2019&lt;BR /&gt;[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d&lt;BR /&gt;[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache&lt;BR /&gt;[ 0.000000] OF: fdt:Machine model: Freescale i.MX6 SoloX SDB RevB Board (Shure Blackhawk DSM eval)&lt;BR /&gt;[ 0.000000]&lt;STRONG&gt; earlycon: ec_imx21 at MMIO 0x02020000 (options '115200n8')&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;ûÂðôo9!Dé`Û&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; ÿ&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; / Éâýä'»?K¡º(?Û&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----------------------------------&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[ 5.679913] console [ttymxc0] enabled&lt;/STRONG&gt;&lt;BR /&gt;[ 5.684709] bootconsole [ec_imx21] disabled&lt;BR /&gt;[ 5.684709] bootconsole [ec_imx21] disabled&lt;BR /&gt;[ 5.709531] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 71, base_baud = 5000000) is a IMX&lt;BR /&gt;[ 5.752225] imx sema4 driver is registered.&lt;/P&gt;&lt;P&gt;------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like baud rate was not set correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Any help you can give will be greatly appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff;"&gt;Eugen W.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 22:24:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/earlycon-on-imx6sx-Linux/m-p/891111#M134731</guid>
      <dc:creator>eugenwarkentin</dc:creator>
      <dc:date>2019-04-24T22:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: earlycon on imx6sx Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/earlycon-on-imx6sx-Linux/m-p/891112#M134732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There should be nothing special to earlycon.&lt;BR /&gt;Please make sure that you are set the same serial port options (baud rate, flow control, etc) in bootargs and terminal running on the PC.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Have a great day,&lt;BR /&gt;Victor&lt;BR /&gt; &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>Thu, 25 Apr 2019 02:01:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/earlycon-on-imx6sx-Linux/m-p/891112#M134732</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2019-04-25T02:01:34Z</dc:date>
    </item>
  </channel>
</rss>

