<?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: Change debug UART in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253599#M23651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for asking this question again.&lt;/P&gt;&lt;P&gt;I wanna know where is the machine.conf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 02:57:47 GMT</pubDate>
    <dc:creator>wangvictor</dc:creator>
    <dc:date>2017-06-22T02:57:47Z</dc:date>
    <item>
      <title>Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253595#M23647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a custom board, based on the SabreSD image.&lt;/P&gt;&lt;P&gt;I need to change the debug UART from UART1 to UART2 and wonder how I do this in an easy way (using Yocto)?&lt;/P&gt;&lt;P&gt;This also includes changing the UART when starting uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done following changes (u-boot):&lt;/P&gt;&lt;P&gt;mx6sabresd.h:&lt;/P&gt;&lt;P&gt;Changed CONFIG_MXC_UART_BASE -&amp;gt; UART2_BASE&lt;/P&gt;&lt;P&gt;CONFIG_CONSOLE&amp;gt;_DEV -&amp;gt; "ttymxc1"&lt;/P&gt;&lt;P&gt;What is CONFIG_MACH_TYPE used for, do I need to change this if I have a i.mx6D instead of Q?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In defconfig I changed &lt;/P&gt;&lt;P&gt;CONFIG_DEBUG_IMX_UART_PORT=2&lt;/P&gt;&lt;P&gt;and CONFIG_CMDLINE to use ttymxc1 instead of ttymxc0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 01:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253595#M23647</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-02-24T01:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253596#M23648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I managed to fix the uboot.&lt;/P&gt;&lt;P&gt;Did the changes in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mx6sabresd.h&lt;/SPAN&gt; and also added iomux for UART2.&lt;/P&gt;&lt;P&gt;Now the u-boot is using UART2 instead of UART1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 04:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253596#M23648</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-02-25T04:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253597#M23649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I change in &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;mx6sabresd.h&lt;/SPAN&gt; (UART base to 1 and CONSOLE_DEV to ttymxc1) I can see the u-boot on UART2.&lt;/P&gt;&lt;P&gt;But as soon as the Linux image starts, I can't see anything in the console.&lt;/P&gt;&lt;P&gt;If I change the cable to UART1, I can eventually see the login: prompt (I also get: "Poky (Yocto Project Reference Distro) 1.5.1 imx6qsabresd /dev/ttymxc0" before the login prompt ).&lt;/P&gt;&lt;P&gt;But I won't see the Linux boot up in the prompt.&lt;/P&gt;&lt;P&gt;If I change the UART base to 2 and CONSOLE_DEV ttymxc0, then I won't see anything from u-boot, but I soon as the Linux image starts, then I can see the bootup sequence from from the Linux image..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like it still uses /dev/ttymxc0 in the Linux image.&lt;/P&gt;&lt;P&gt;Where do I change which ttymxc port it should use in the Linux image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;If I change the UART base to 1 and CONSOLE_DEV ttymxc0, then I can see the whole Linux boot sequence on UART1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What needs to be changed to be able to see the Linux bootup sequence in UART2 and that ttymcx is changed to 1 in the linux image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 01:48:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253597#M23649</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-02-28T01:48:27Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253598#M23650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First I have a to change the SERIAL_CONSOLE in the machine.conf file.&lt;/P&gt;&lt;P&gt;But I also had a problem when setting up my iomux (there was a conflict when setting up the pin for the UART, some old stuff that was using the same pin was also setup).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now it's working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 18:48:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253598#M23650</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2014-02-28T18:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253599#M23651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for asking this question again.&lt;/P&gt;&lt;P&gt;I wanna know where is the machine.conf.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 02:57:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253599#M23651</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-06-22T02:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253600#M23652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which build trees are you using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you think that you can help me with this, using imx6ul?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 19:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253600#M23652</guid>
      <dc:creator>pyraohms</dc:creator>
      <dc:date>2017-06-30T19:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253601#M23653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not quite sure the meaning of build tree.&lt;/P&gt;&lt;P&gt;I think i'm using imx6sabresd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i believe that it has the same path to modify the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had change some files here.&lt;/P&gt;&lt;P&gt;1. &amp;lt;yocto&amp;gt;/source/meta-fsl-arm/conf/machine/include/imx6sabresd-common.inc&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; SERIAL_CONSOLE = "115200 ttymxc1"&lt;/P&gt;&lt;P&gt;2.&amp;lt;Your Project&amp;gt;/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/include/configs/imx6sabresd.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_MXC_UART_BASE &amp;nbsp;UART2_BASE&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_CONSOLE_DEV&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;"ttymxc1"&lt;/P&gt;&lt;P&gt;3.&lt;SPAN&gt;&amp;lt;Your Project&amp;gt;/&lt;/SPAN&gt;&lt;SPAN&gt;tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/include/configs/i&lt;/SPAN&gt;mx6sabre_common.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_CONS_INDEX &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/P&gt;&lt;P&gt;4.&lt;SPAN&gt;&amp;lt;Your Project&amp;gt;&lt;/SPAN&gt;/tmp/work/imx6qsabresd-poky-linux-gnueabi/u-boot-imx/2015.04-r0/git/board/freescale/mx6sabresd/mx6sabresd.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;static iomux_v3_cfg_t const uart1_pads[]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S You have to change the ping define of your TX and RX in step 4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jul 2017 02:56:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253601#M23653</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-07-03T02:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253602#M23654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do i go about compiling the manually edited files to create a .sdcard file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 08:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253602#M23654</guid>
      <dc:creator>pyraohms</dc:creator>
      <dc:date>2017-08-09T08:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change debug UART</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253603#M23655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, where is the machine.conf?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Aug 2017 09:24:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Change-debug-UART/m-p/253603#M23655</guid>
      <dc:creator>pyraohms</dc:creator>
      <dc:date>2017-08-09T09:24:20Z</dc:date>
    </item>
  </channel>
</rss>

