<?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: Use switched debug console port, the OS is hung. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300949#M37832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Please refer to the attached on how to customize UART port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Linda&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2014 04:08:31 GMT</pubDate>
    <dc:creator>xiaoqianlin</dc:creator>
    <dc:date>2014-04-03T04:08:31Z</dc:date>
    <item>
      <title>Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300944#M37827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The default debug console is ttymxc0.&lt;/P&gt;&lt;P&gt;Modify console port to ttymxc1 in bootargs_base variable of uboot environmental configure, as follow:&lt;/P&gt;&lt;P&gt;setenv bootargs_base 'setenv bootargs console=ttymxc1,115200 enable_wait_mode=off video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24'&lt;/P&gt;&lt;P&gt;The OS is hung after “cat /dev/ttymxc0”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could I switch the debug console port without modifying these code, as follow.&lt;/P&gt;&lt;P&gt;In uboot:&lt;/P&gt;&lt;P&gt;1. #define CONFIG_UART_BASE_ADDR&amp;nbsp;&amp;nbsp; UART1_BASE_ADDR&lt;/P&gt;&lt;P&gt;2. static void setup_uart(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* UART1 TXD */&lt;/P&gt;&lt;P&gt;&amp;nbsp; mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT10__UART1_TXD);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* UART1 RXD */&lt;/P&gt;&lt;P&gt;&amp;nbsp; mxc_iomux_v3_setup_pad(MX6Q_PAD_CSI0_DAT11__UART1_RXD); &lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;In Kernel:&lt;/P&gt;&lt;P&gt;3. uart_clk = clk_get_sys("imx-uart.0", NULL);&lt;/P&gt;&lt;P&gt;4. early_console_setup(UART1_BASE_ADDR, uart_clk);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 03:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300944#M37827</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-03-21T03:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300945#M37828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ttymxc0 is UART1&lt;/P&gt;&lt;P&gt;ttymxc1 is UART2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 04:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300945#M37828</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2014-03-21T04:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300946#M37829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Jimmy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, not only uboot environment variables need to be adjusted, but also some codes for debug console port switch should be modified , is it right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 08:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300946#M37829</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-03-24T08:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300947#M37830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;right. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 10:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300947#M37830</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2014-03-24T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300948#M37831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can I not switch consoles by uboot environment variables?&lt;/P&gt;&lt;P&gt;I think consoles would be reinitialized in the kernel. &lt;/P&gt;&lt;P&gt;Do you have any idea about this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 03:41:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300948#M37831</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-04-03T03:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300949#M37832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Please refer to the attached on how to customize UART port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Linda&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 04:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300949#M37832</guid>
      <dc:creator>xiaoqianlin</dc:creator>
      <dc:date>2014-04-03T04:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300950#M37833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it is necessary to modifying the code, what is variable "console=" used for?&lt;/P&gt;&lt;P&gt;It has decided the used UART port in the begin of u-boot and kernel&lt;/P&gt;&lt;P&gt;It seems redundant about passing "console=" to kernel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2014 07:25:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300950#M37833</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-04-22T07:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300951#M37834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jun 2014 08:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300951#M37834</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-16T08:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300952#M37835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think my question get really solved.&lt;/P&gt;&lt;P&gt;The solution Linda supplied is work, but it still need to modify code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know if I could switch console(uart) via the setting of the variable "console=" &lt;STRONG&gt;without&lt;/STRONG&gt; modifying any code.&lt;/P&gt;&lt;P&gt;I tried it before, I set "console=ttymxc1", but the OS is hung after“cat /dev/ttymxc0”.&lt;/P&gt;&lt;P&gt;So, I think ttymxc0 driver is not relly released while the setting is "console=ttymxc1"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 03:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300952#M37835</guid>
      <dc:creator>charleshuang</dc:creator>
      <dc:date>2014-06-20T03:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300953#M37836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;I will ask one of Freescale AE to help you.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2014 03:54:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300953#M37836</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-20T03:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300954#M37837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/JiangJustin"&gt;JiangJustin&lt;/A&gt;, could you please help this customer?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 06:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300954#M37837</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-06-25T06:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300955#M37838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Base on my knowledge. The number of console is related to your HW UART port and kernel load sequency.&lt;/P&gt;&lt;P&gt;So the code midification is needed. It can't be changed just by the u-boot parameters.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 06:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300955#M37838</guid>
      <dc:creator>justin_jiang</dc:creator>
      <dc:date>2014-06-25T06:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300956#M37839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help, please feel free to reply with an update to this discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jul 2014 06:45:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300956#M37839</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-07-08T06:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use switched debug console port, the OS is hung.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300957#M37840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;P&gt;This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 06:34:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Use-switched-debug-console-port-the-OS-is-hung/m-p/300957#M37840</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-07-15T06:34:45Z</dc:date>
    </item>
  </channel>
</rss>

