<?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>i.MX Processors中的主题 Re: Debugging early kernel hangs on i.MX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610800#M92170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;with&amp;nbsp;CONFIG_DEBUG_IMX_UART_PORT=1 (ttymxc0), which is the console&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also tried setting this to each of 1-5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2016 15:47:57 GMT</pubDate>
    <dc:creator>cblack</dc:creator>
    <dc:date>2016-09-14T15:47:57Z</dc:date>
    <item>
      <title>Debugging early kernel hangs on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610798#M92168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an issue where sometimes I get the dreaded hang at "Starting kernel..." &amp;nbsp;This only happens on certain &lt;EM&gt;builds&lt;/EM&gt; of the kernel itself, and seems to be triggered by nothing more than adding some dummy lines of code. &amp;nbsp;At first, this seemed like some kind of alignment/padding or size issue. &amp;nbsp;However, I can not think of any reason this would occur.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I am trying to enable early_printk but having no success. &amp;nbsp;I have enabled CONFIG_DEBUG_LL and EARLY_PRINTK, with&amp;nbsp;CONFIG_DEBUG_IMX_UART_PORT=1 (ttymxc0), which is the console. &amp;nbsp;I have also tried to add early_printk to the bootargs in uboot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, I have restored the kernel to a state that fully boots, and still I see no additional debug at boot time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kernel: &amp;nbsp;Freescale 3.10.17_ga&lt;/P&gt;&lt;P&gt;Board: Custom based on i.MX6 SABRESD&lt;/P&gt;&lt;P&gt;Media: NAND boot&lt;/P&gt;&lt;P&gt;Console: ttymxc0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610798#M92168</guid>
      <dc:creator>cblack</dc:creator>
      <dc:date>2016-09-12T19:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging early kernel hangs on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610799#M92169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure that CONFIG_DEBUG_IMX_UART_PORT option is configured to right port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&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>Tue, 13 Sep 2016 08:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610799#M92169</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2016-09-13T08:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging early kernel hangs on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610800#M92170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;with&amp;nbsp;CONFIG_DEBUG_IMX_UART_PORT=1 (ttymxc0), which is the console&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I also tried setting this to each of 1-5&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2016 15:47:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610800#M92170</guid>
      <dc:creator>cblack</dc:creator>
      <dc:date>2016-09-14T15:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging early kernel hangs on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610801#M92171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keep&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;console=ttymxc0, 115200&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;in kernel boot arguments.&lt;/P&gt;&lt;P&gt;On sabresd add these in your imx_v7_android_defconfig,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CONFIG_DEBUG_LL=y&lt;BR /&gt;CONFIG_DEBUG_LL_INCLUDE="mach/imx.S"&lt;BR /&gt;CONFIG_DEBUG_IMX6Q_UART=y&lt;BR /&gt;CONFIG_DEBUG_IMX_UART_PORT=1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This will enable&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;printascii(const char *);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So this much should come on console,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Starting kernel ...&lt;/P&gt;&lt;P&gt;Uncompressing Linux... done, booting the kernel.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2018 07:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Debugging-early-kernel-hangs-on-i-MX6/m-p/610801#M92171</guid>
      <dc:creator>mrigendra_chaub</dc:creator>
      <dc:date>2018-12-24T07:51:24Z</dc:date>
    </item>
  </channel>
</rss>

