<?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: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260697#M26009</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;I have tested on my board with the same environment with you, It works OK. But I download the image to board by MFGTool&amp;nbsp; not dd commends. I think the problem happened when you downloaded image to your board. When you download by dd commends, you missed sync. Maybe you can try the following to download again.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=u-boot-6q.bin of=/dev/sdb bs=1K skip=1 seek=1; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=SD/boot.img of=/dev/sdb1;&lt;SPAN style="font-size: 10pt;"&gt;sync&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=SD/system.img of=/dev/sdb5; &lt;SPAN style="font-size: 10pt;"&gt;sync&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dd if=SD/recovery.img of=/dev/sdb2;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sync&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;By the way, I recommend you to use the MFGTool to download, I think it's more convenient. Which you can download from freescale for free, the link is &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en"&gt;SABRE Platform for Smart Devices Based on the i.MX 6 Series&lt;/A&gt; and it's under &lt;STRONG&gt;Programmers&lt;/STRONG&gt;, the name is&lt;STRONG&gt; &lt;/STRONG&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en" style="color: #017bba; font-family: arial, sans-serif; font-size: 11.818181991577148px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; background-color: #cccccc;"&gt;IMX_6DQ_MFG_TOOL&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope this can help you. If any question contact us~~&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 08:27:20 GMT</pubDate>
    <dc:creator>Rita_Wang</dc:creator>
    <dc:date>2014-03-04T08:27:20Z</dc:date>
    <item>
      <title>bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260690#M26002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By using "setenv bootcmd booti mmc2" followed by a successful "saveenv", we can boot the droid JB demo binary successful w/ the iMX6Q-SD board.&lt;/P&gt;&lt;P&gt;However, after doing "reset" or power on again, we found that the env variable "bootcmd" has been changed to some other value and device can't boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the successful boot case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MX6Q SABRESD U-Boot &amp;gt; setenv bootcmd booti mmc2&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MX6Q SABRESD U-Boot &amp;gt; saveenv&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Saving Environment to MMC...&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Writing to MMC(2)... done&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MX6Q SABRESD U-Boot &amp;gt; boot&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;kernel&amp;nbsp;&amp;nbsp; @ 10808000 (4724232)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;Here is the env after "reset" or reboot, the boot will fail (w/ a droid icon with a&amp;nbsp; !! mark shown on the screen):&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 style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;MX6Q SABRESD U-Boot &amp;gt; printenv&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;bootcmd=run bootcmd_android_recovery&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;bootcmd_android_recovery=booti mmc2 recovery&lt;/SPAN&gt;&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;It seems that the successful boot was from boot partition of mmc2 (SD3 on the board), but the changed value is from recovery partition.&lt;/SPAN&gt;&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;Hope someone can give some pointers here about how to fix it.&lt;/SPAN&gt;&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;I am using the following commands to prepare the 8GB SD card:&lt;/SPAN&gt;&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 style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;dd if=u-boot-6q.bin of=/dev/sdb bs=1K skip=1 seek=1&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;dd if=SD/boot.img of=/dev/sdb1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;dd if=SD/system.img of=/dev/sdb5; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;dd if=SD/recovery.img of=/dev/sdb2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&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;The image I am using is "android_jb4.3_1.1.0-ga_image_6qsabresd.tgz"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2014 07:58:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260690#M26002</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-02-26T07:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260691#M26003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;Can you attach your whole uboot environment? And how do you create your SD card partitions?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 02:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260691#M26003</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-02-27T02:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260692#M26004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the "printenv" dump, the boot log is also attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;MX6Q SABRESD U-Boot &amp;gt; printenv&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;bootdelay=3&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;baudrate=115200&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ipaddr=192.168.1.103&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;serverip=192.168.1.101&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;netmask=255.255.255.0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;loadaddr=0x10800000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;rd_loadaddr=0x11000000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;netdev=eth0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ethprime=FEC0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;splashimage=0x30000000&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;splashpos=m,m&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;lvds_num=1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;bootcmd_android_recovery=booti mmc2 recovery&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;ethact=FEC0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;fastboot_dev=mmc2&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;bootargs=console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=28M androidboot.hardware=freescale androidboot.console=ttymxc0 vmalloc=400M no_console_suspend=1&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;stdin=serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;stdout=serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;stderr=serial&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;bootcmd=run bootcmd_android_recovery&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the SD card partition, I did it using the "mksdcard-android.sh" tool within the MGFtools tarball got from freescale site.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 02:56:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260692#M26004</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-02-27T02:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260693#M26005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;When you power on the board ,set the uboot environment&amp;nbsp; the bootcmd should be set ''setenv bootcmd booti mmc2'. You can have a try~~&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 06:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260693#M26005</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-02-27T06:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260694#M26006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I know that setenv thing, but my question was after using the "setenv bootargs ..." and "saveenv", the device can boot successfully once, then upon another reboot, the param changed back to the recovery I shared with you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any hints about why the param changed to recovery mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 06:31:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260694#M26006</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-02-27T06:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260695#M26007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;Bootargs env is an optional setting for booti. The boot.img includes a default bootargs, which will be used if there is no definition of the bootargs env.&lt;/P&gt;&lt;P&gt;To clear the bootargs env and set up&lt;/P&gt;&lt;P&gt;the booting from SD card in SD slot 3, you can use the following command:&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv fastboot_dev mmc2 [eMMC as fastboot deivce]&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootcmd booti mmc2 [Load the boot.img from SD card]&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32&lt;/P&gt;&lt;P&gt;video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M&lt;/P&gt;&lt;P&gt;androidboot.console=ttymxc0 androidboot.hardware=freescale&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; saveenv&lt;/P&gt;&lt;P&gt;When you boot the board, the default environment in boot.img is booting from eMMC. So I suggest you to boot from eMMC first. &lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260695#M26007</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-02-27T08:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260696#M26008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;I will try to the boot&amp;nbsp; JB4.3 on the iMX6Q-SD board from SD card. Then I will give you reply.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 08:09:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260696#M26008</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-02-27T08:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260697#M26009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;I have tested on my board with the same environment with you, It works OK. But I download the image to board by MFGTool&amp;nbsp; not dd commends. I think the problem happened when you downloaded image to your board. When you download by dd commends, you missed sync. Maybe you can try the following to download again.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=u-boot-6q.bin of=/dev/sdb bs=1K skip=1 seek=1; sync&lt;/STRONG&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=SD/boot.img of=/dev/sdb1;&lt;SPAN style="font-size: 10pt;"&gt;sync&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;dd if=SD/system.img of=/dev/sdb5; &lt;SPAN style="font-size: 10pt;"&gt;sync&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dd if=SD/recovery.img of=/dev/sdb2;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;sync&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;By the way, I recommend you to use the MFGTool to download, I think it's more convenient. Which you can download from freescale for free, the link is &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en"&gt;SABRE Platform for Smart Devices Based on the i.MX 6 Series&lt;/A&gt; and it's under &lt;STRONG&gt;Programmers&lt;/STRONG&gt;, the name is&lt;STRONG&gt; &lt;/STRONG&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREPLAT&amp;amp;fpsp=1&amp;amp;tab=Design_Tools_Tab&amp;amp;uc=true&amp;amp;lang_cd=en" style="color: #017bba; font-family: arial, sans-serif; font-size: 11.818181991577148px; font-style: normal; font-weight: normal; text-align: start; text-indent: 0px; background-color: #cccccc;"&gt;IMX_6DQ_MFG_TOOL&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Hope this can help you. If any question contact us~~&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 08:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260697#M26009</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-04T08:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260698#M26010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.  I did use "sync" after each dd command but I didn’t put it on the ticket for simplicity.&lt;/P&gt;&lt;P&gt;I will retry later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 13:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260698#M26010</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-04T13:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260699#M26011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;Have you solved your problem?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260699#M26011</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-06T02:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260700#M26012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry I haven’t got a chance to try it again yet. I will update later when there is a chance for it.&lt;/P&gt;&lt;P&gt;Thank you for querying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 02:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260700#M26012</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-06T02:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260701#M26013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found in my log that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i2c: I2C3 SDA is low, start i2c recovery...&lt;/P&gt;&lt;P&gt;I2C3 Recovery success&lt;/P&gt;&lt;P&gt;Found PFUZE100! deviceid=10,revid=11&lt;/P&gt;&lt;P&gt;Recovery key pressed&lt;/P&gt;&lt;P&gt;Recovery command file founded!&lt;/P&gt;&lt;P&gt;recovery on bootdev: 6&lt;/P&gt;&lt;P&gt;setup env for recovery..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This probably tells that the boot loader detects that "recovery key pressed" thus it enters recovery mode.  Maybe your device doesn’t have this behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 04:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260701#M26013</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-06T04:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260702#M26014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;Which board are you using? You designed?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 05:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260702#M26014</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-06T05:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260703#M26015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The model is "MCIMX6Q-SDB", looks like a standard one from freescale. It has an on-board built-in SanDisk 8GB storage as mmc:0 but I am using a SD card which is mmc:2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The boot DIP is set as 01000010 which means to boot from the SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried again with a newly prepared SD card, the situation is still the same. I guess somehow my card is entering "recovery" mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:07:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260703#M26015</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-06T06:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260704#M26016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;It's strange, I can see that your setting is correct. Have you tried to download the android demo image to your board by MFGTool ? &lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:23:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260704#M26016</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-06T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260705#M26017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not yet. I though "dd" is direct and simple than such tools so I didn’t try it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that MFGtool trying to download image files to the internal eMMC, or the SD card?&lt;/P&gt;&lt;P&gt;Should I adjust the boot DIP to something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:40:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260705#M26017</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-06T06:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260706#M26018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;You can download image to both eMMC and SD card. It depends on your setting. It's easy and exact clearly to watch the download process.&lt;/P&gt;&lt;P&gt;When you want to download, you should change the SW6 to00001100 (from 1-8 bit) download mode. And when you want to boot, you have to change it to boot mode.&lt;/P&gt;&lt;P&gt;You can refer to the file I attached you.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 06:56:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260706#M26018</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-06T06:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260707#M26019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using the uboot that comes with the JB 4.2 you will find that it always overwrites the bootcmd&amp;nbsp; with the string booti mmc3. I had to change uboot to stop this behavior. I dont know if this is the same in JB 4.3 or if there is a similar thing when booting in recovery mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look in the file /bootable/bootloader/uboot-imx/board/freescale/mx6q_sabresd/mx6q_sabresd.c around line 1900, you can see it forces the env variable every board init.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int board_late_init(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; int ret = 0;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifdef MX6Q_SABRESD_ANDROID_H&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; switch (get_boot_device()) {&lt;/P&gt;&lt;P&gt;&amp;nbsp; case SD_BOOT:&lt;/P&gt;&lt;P&gt;&amp;nbsp; setenv("fastboot_dev", "mmc2");&lt;/P&gt;&lt;P&gt;&amp;nbsp; setenv("bootcmd", "booti mmc2");&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp; case MMC_BOOT:&lt;/P&gt;&lt;P&gt;&amp;nbsp; setenv("fastboot_dev", "mmc3");&lt;/P&gt;&lt;P&gt;&amp;nbsp; setenv("bootcmd", "booti mmc3");&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp; default:&lt;/P&gt;&lt;P&gt;&amp;nbsp; printf("unsupported boot devices\n");&lt;/P&gt;&lt;P&gt;&amp;nbsp; break;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#ifdef CONFIG_I2C_MXC&lt;/P&gt;&lt;P&gt;&amp;nbsp; setup_i2c(CONFIG_SYS_I2C_PORT);&lt;/P&gt;&lt;P&gt;&amp;nbsp; i2c_bus_recovery();&lt;/P&gt;&lt;P&gt;&amp;nbsp; ret = setup_pmic_voltages();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if (ret)&lt;/P&gt;&lt;P&gt;&amp;nbsp; return -1;&lt;/P&gt;&lt;P&gt;#endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260707#M26019</guid>
      <dc:creator>martinhowell</dc:creator>
      <dc:date>2014-03-06T16:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260708#M26020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Feng,&lt;/P&gt;&lt;P&gt;Have you solved your problem now ?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 05:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260708#M26020</guid>
      <dc:creator>Rita_Wang</dc:creator>
      <dc:date>2014-03-10T05:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: bootcmd env changed after a successful boot of JB4.3 demo binary w/ iMX6Q-SD board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260709#M26021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately no.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've given up this since it is only for a POC project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yanfeng&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2014 05:54:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bootcmd-env-changed-after-a-successful-boot-of-JB4-3-demo-binary/m-p/260709#M26021</guid>
      <dc:creator>yanfengliu</dc:creator>
      <dc:date>2014-03-10T05:54:54Z</dc:date>
    </item>
  </channel>
</rss>

