<?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: Linux early hang (Starting Kernel) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243592#M20727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I will try recompiling with LTIB. thanks for the suggestion&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 May 2013 15:14:36 GMT</pubDate>
    <dc:creator>jfsimon</dc:creator>
    <dc:date>2013-05-21T15:14:36Z</dc:date>
    <item>
      <title>Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243586#M20721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a new board that uses a i.mx6 dual lite CPU. u-boot was ported ok, but I have some problem with linux. When I do a :&lt;/P&gt;&lt;P&gt;u-boot&amp;gt; tftp &amp;lt;uImage&amp;gt;&lt;/P&gt;&lt;P&gt;u-boot&amp;gt; bootm &amp;lt;load address&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the "Starting kernel" message and that's it. It hangs here. I have traced the bootm command and I can tell it does its job and "jumps" in the linux kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made sure that the "MACH_IDs" are the same in u-boot and in linux. I have enabled DEBUG_LL...to no avail.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Also here is the bootargs I am passing to linux:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;setenv ipaddr 192.168.45.222; setenv ethaddr 0:80:b6:1:1:22; setenv serverip 192.168.45.125; setenv bootargs $bootargs console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait ; setenv loadaddr 11000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas on what to try next? &lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 May 2013 18:42:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243586#M20721</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-05-16T18:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243587#M20722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you compiled your u-boot and Linux with Ltib ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 07:14:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243587#M20722</guid>
      <dc:creator>AlbertT</dc:creator>
      <dc:date>2013-05-17T07:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243588#M20723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Albert,&lt;/P&gt;&lt;P&gt;No I am using buildroot toolchain. I will try LTIB. Do you think it could make a difference?&lt;/P&gt;&lt;P&gt;-jf simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 08:02:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243588#M20723</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-05-21T08:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243589#M20724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, it could.&lt;/P&gt;&lt;P&gt;Firstly, you could to boot from a sd card. (if you don't know how, refer to the document of the next point)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I would recommend you to follow the steps from the User guide to make sure you're not forgetting something when you boot from network. You can find the document at this page : &lt;A href="https://community.nxp.com/thread/303342"&gt;i.MX 6 Q/D L3.0.35_1.1.0 GA release&lt;/A&gt;, download &lt;SPAN style="font-size: 8.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;A class="jive-link-external-small" href="https://www.freescale.com/webapp/Download?colCode=L3.0.35_1.1.0_LINUXDOCS_BUNDLE&amp;amp;location=null&amp;amp;fpsp=1&amp;amp;Parent_nodeId=1337694700967726419044&amp;amp;Parent_pageType=product"&gt;L3.0.35_1.1.0_LINUXDOCS_BUNDLE&lt;/A&gt;&lt;/SPAN&gt; and look into BSP_Documents. This explains how to boot from network. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this doesn't work, then you should install Ltib and compile everything with it, try to boot from sd card and then from network.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 09:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243589#M20724</guid>
      <dc:creator>AlbertT</dc:creator>
      <dc:date>2013-05-21T09:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243590#M20725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Acording to your u-boot variables, you want to get the kernel from a server and boot from the eMMC, right? Set the bootars like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;setenv bootargs 'console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Save and boot again. Follow the User and Release Guides for info of these parameters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Leo&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 14:59:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243590#M20725</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-05-21T14:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243591#M20726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the answer&lt;/P&gt;&lt;P&gt;At this point I just want to solve that issue where u-boot can't start linux. All I want to see are characters coming from the serial port console. So I guess the only variable in botargs of importance is&amp;nbsp; "console".&amp;nbsp; I don't really want to boot from eMMC, that will come later. I agree my bootargs are misleading.&lt;/P&gt;&lt;P&gt;-jf simon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 15:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243591#M20726</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-05-21T15:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Linux early hang (Starting Kernel)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243592#M20727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I will try recompiling with LTIB. thanks for the suggestion&lt;/P&gt;&lt;P&gt;-jfs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 15:14:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Linux-early-hang-Starting-Kernel/m-p/243592#M20727</guid>
      <dc:creator>jfsimon</dc:creator>
      <dc:date>2013-05-21T15:14:36Z</dc:date>
    </item>
  </channel>
</rss>

