<?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中的主题 User tip:  a better bootargs_mmc env variable in u-boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/User-tip-a-better-bootargs-mmc-env-variable-in-u-boot/m-p/185912#M8729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to section 8.2 of this document: &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i.MX53_START_Linux_BSP_UserGuide.pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that section there is a recommended setting for the variable: &amp;nbsp;bootargs_mmc.&lt;/P&gt;&lt;P&gt;Adding: &amp;nbsp; &amp;nbsp;ip=dhcp&lt;/P&gt;&lt;P&gt;will get u-boot to initialize eth0 and get an IP address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I did not have that parameter set, I found that I had to manually perform an ifconfig in order to bring up eth0 and assign an ip address (all after the system had come up and I logged in)&lt;/P&gt;&lt;P&gt;The other thing to note is that I'm running on a pretty minimal build. &amp;nbsp;Not quite the bare minimum, but almost. &amp;nbsp; &amp;nbsp; &amp;nbsp;See my earlier post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/group/imx53quickstartboard/forum/topics/user-experience-with-1109-binaries-warning-bad-crc-or-mmc"&gt;http://imxcommunity.org/group/imx53quickstartboard/forum/topics/user-experience-with-1109-binaries-warning-bad-crc-or-mmc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my setting so you can use copy/paste:&lt;/P&gt;&lt;P&gt;setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 ip=dhcp rootwait rw video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Nov 2011 18:24:25 GMT</pubDate>
    <dc:creator>JohnReed</dc:creator>
    <dc:date>2011-11-11T18:24:25Z</dc:date>
    <item>
      <title>User tip:  a better bootargs_mmc env variable in u-boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/User-tip-a-better-bootargs-mmc-env-variable-in-u-boot/m-p/185912#M8729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to section 8.2 of this document: &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;i.MX53_START_Linux_BSP_UserGuide.pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that section there is a recommended setting for the variable: &amp;nbsp;bootargs_mmc.&lt;/P&gt;&lt;P&gt;Adding: &amp;nbsp; &amp;nbsp;ip=dhcp&lt;/P&gt;&lt;P&gt;will get u-boot to initialize eth0 and get an IP address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I did not have that parameter set, I found that I had to manually perform an ifconfig in order to bring up eth0 and assign an ip address (all after the system had come up and I logged in)&lt;/P&gt;&lt;P&gt;The other thing to note is that I'm running on a pretty minimal build. &amp;nbsp;Not quite the bare minimum, but almost. &amp;nbsp; &amp;nbsp; &amp;nbsp;See my earlier post:&lt;/P&gt;&lt;P&gt;&lt;A href="http://imxcommunity.org/group/imx53quickstartboard/forum/topics/user-experience-with-1109-binaries-warning-bad-crc-or-mmc"&gt;http://imxcommunity.org/group/imx53quickstartboard/forum/topics/user-experience-with-1109-binaries-warning-bad-crc-or-mmc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my setting so you can use copy/paste:&lt;/P&gt;&lt;P&gt;setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/mmcblk0p1 ip=dhcp rootwait rw video=mxcdi1fb:GBR24,VGA-XGA di1_primary vga'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 18:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/User-tip-a-better-bootargs-mmc-env-variable-in-u-boot/m-p/185912#M8729</guid>
      <dc:creator>JohnReed</dc:creator>
      <dc:date>2011-11-11T18:24:25Z</dc:date>
    </item>
  </channel>
</rss>

