<?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>Vybrid ProcessorsのトピックU-Boot 2013.07  - Command Line Length Limit?</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366871#M3779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using U-Boot 2013.07. It seems to work except.....there seems to be a command line length limit of maybe 80 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot set long environment variable names. For instance, the default bootcmd env that comes out of the box (Vybrid Tower) is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is entered into the U-Boot environment by entering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootcmd mmc dev ${mmcdev}\; if mmc rescan\; then if run loadbootscript\; then run bootscript\; else if run loaduimage\; then run mmcboot\; else run netboot\; fi\; fi\; else run netboot\; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is ABSOLUTELY NO WAY to enter this on the command line. Beyond a certain length (maybe about 80 characters), trying to enter this env var results in this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;P&gt;setenv [-f] name value ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - [forcibly] set environment variable 'name' to 'value ...'&lt;/P&gt;&lt;P&gt;setenv [-f] name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - [forcibly] delete environment variable 'name'&lt;/P&gt;&lt;P&gt;=&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can sucessfully enter env vars that are shorter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did Freescale install the 'bootcmd' env var?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Dec 2014 21:26:35 GMT</pubDate>
    <dc:creator>jackblather</dc:creator>
    <dc:date>2014-12-19T21:26:35Z</dc:date>
    <item>
      <title>U-Boot 2013.07  - Command Line Length Limit?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366871#M3779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using U-Boot 2013.07. It seems to work except.....there seems to be a command line length limit of maybe 80 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot set long environment variable names. For instance, the default bootcmd env that comes out of the box (Vybrid Tower) is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bootcmd=mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is entered into the U-Boot environment by entering:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootcmd mmc dev ${mmcdev}\; if mmc rescan\; then if run loadbootscript\; then run bootscript\; else if run loaduimage\; then run mmcboot\; else run netboot\; fi\; fi\; else run netboot\; fi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, this is ABSOLUTELY NO WAY to enter this on the command line. Beyond a certain length (maybe about 80 characters), trying to enter this env var results in this error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usage:&lt;/P&gt;&lt;P&gt;setenv [-f] name value ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - [forcibly] set environment variable 'name' to 'value ...'&lt;/P&gt;&lt;P&gt;setenv [-f] name&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; - [forcibly] delete environment variable 'name'&lt;/P&gt;&lt;P&gt;=&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can sucessfully enter env vars that are shorter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How did Freescale install the 'bootcmd' env var?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to fix?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Dec 2014 21:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366871#M3779</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-12-19T21:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 2013.07  - Command Line Length Limit?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366872#M3780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jack,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; To store the env variables, you can enclose the whole text in single apostrophes(').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;setenv bootcmd 'mmc dev ${mmcdev}; if mmc rescan; then if run loadbootscript; then run bootscript; else if run loaduimage; then run mmcboot; else run netboot; fi; fi; else run netboot; fi'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Timesys Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2014 11:09:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366872#M3780</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-12-22T11:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: U-Boot 2013.07  - Command Line Length Limit?</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366873#M3781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked! Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jan 2015 20:27:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/U-Boot-2013-07-Command-Line-Length-Limit/m-p/366873#M3781</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2015-01-07T20:27:53Z</dc:date>
    </item>
  </channel>
</rss>

