<?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: How to burn Uboot   Linux on SD Card?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354679#M49609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using the command:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sudo dd if=u-boot-imx6qsabresd_sd.imx of=/dev/mmcblk0 bs=512 seek=2 conv=fsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my sd card is available on /dev/mmcblk0 instead of /dev/sdX, is this a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: So i used your command and now I do manage to get the U-boot prompt.&lt;/P&gt;&lt;P&gt;I typed the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv loadaddr 0x12000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv fdt_addr 0x18000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv fdt_high 0xffffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmcblk0p2 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1920x1080M@60,if=RGB24'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x2000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{fdt_addr}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootcmd 'run bootcmd_mmc'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; saveenv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; run bootcmd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here's what i get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc1 is current device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc - MMC sub system&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Usage:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc read addr blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc write addr blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc erase blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc rescan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc part - lists available partition on current mmc device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc dev [dev] [part] - show or set current mmc device [partition]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc list - lists available devices&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i get to the linux prompt now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT 2: thanks to another post i figured out i had to change 2 things in the u-boot commands:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;root=/dev/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;mmcblk0p2 -&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;root=/dev/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;mmcblk0p1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x2000 -&amp;gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x3000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;The kernel is now loading but fails to complete. The board just stops running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I'm pretty sure i'm having troubles with my SD card partitions but i don't understand why it doesn't work when i follow the documentation steps by steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 06:10:32 GMT</pubDate>
    <dc:creator>philippeballeyd</dc:creator>
    <dc:date>2014-09-11T06:10:32Z</dc:date>
    <item>
      <title>How to burn Uboot   Linux on SD Card?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354677#M49607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a Sabre for smart devices board and i can't manage to boot from a SD Card. I'm following every steps of part 7 (Using a Linux Host to Set Up an SD/MMC Card) in i.MX_6_SABRE-SD_Linux_User's_Guide.pdf. Everything seems to go as planned. But when i put the SD Card in the SD3 slot, nothing happens. I can't get to the u-boot prompt. Nothing appears on the terminal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had an older SD Card made by one of my coworker and it seems to work fine. I can get the u-boot prompt on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm pretty sure i'm failing to setup my SD Card but i have no idea what does not work.&lt;/P&gt;&lt;P&gt;I just saw this thread ( &lt;A href="https://community.nxp.com/thread/327786"&gt;i.MX6Q-SDB board bringup with Linux&lt;/A&gt; ) and i used the same command as yuri did. I still get the same problem. Nothing appears on the Terminal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Files are properly pasted in the SD Card since i can see them on my host Linux. But when i start up the board, nothing appears on the terminal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks by advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Philippe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:06:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354677#M49607</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-09-10T15:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to burn Uboot   Linux on SD Card?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354678#M49608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sudo dd if=u-boot.imx of=/dev/sbX bs=512 seek=2; sync&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should do the work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:51:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354678#M49608</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-09-10T15:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to burn Uboot   Linux on SD Card?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354679#M49609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using the command:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sudo dd if=u-boot-imx6qsabresd_sd.imx of=/dev/mmcblk0 bs=512 seek=2 conv=fsync&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since my sd card is available on /dev/mmcblk0 instead of /dev/sdX, is this a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: So i used your command and now I do manage to get the U-boot prompt.&lt;/P&gt;&lt;P&gt;I typed the following commands:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv loadaddr 0x12000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv fdt_addr 0x18000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv fdt_high 0xffffffff&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootargs_mmc 'setenv bootargs ${bootargs} root=/dev/&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmcblk0p2 rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;1920x1080M@60,if=RGB24'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootcmd_mmc 'run bootargs_base bootargs_mmc;mmc dev 1;mmc read $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x2000;mmc read ${fdt_addr} 0x5000 0x800;bootm ${loadaddr} - $&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;{fdt_addr}'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; setenv bootcmd 'run bootcmd_mmc'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; saveenv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; run bootcmd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But here's what i get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Hit any key to stop autoboot:&amp;nbsp; 0 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc1 is current device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc - MMC sub system&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Usage:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc read addr blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc write addr blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc erase blk# cnt&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc rescan&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc part - lists available partition on current mmc device&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc dev [dev] [part] - show or set current mmc device [partition]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;mmc list - lists available devices&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;U-Boot &amp;gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i get to the linux prompt now?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT 2: thanks to another post i figured out i had to change 2 things in the u-boot commands:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;root=/dev/&lt;/SPAN&gt;&lt;SPAN style="font-family: 'courier new', courier; font-size: 10pt; line-height: 1.5em;"&gt;mmcblk0p2 -&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;root=/dev/&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: 'courier new', courier;"&gt;mmcblk0p1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x2000 -&amp;gt; &lt;SPAN style="font-family: 'courier new', courier;"&gt;{loadaddr} 0x800 0x3000&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: calibri, verdana, arial, sans-serif;"&gt;The kernel is now loading but fails to complete. The board just stops running.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.5em; font-size: 10pt; font-family: 'courier new', courier;"&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I'm pretty sure i'm having troubles with my SD card partitions but i don't understand why it doesn't work when i follow the documentation steps by steps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 06:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354679#M49609</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-09-11T06:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to burn Uboot   Linux on SD Card?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354680#M49610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't using Ubuntu 12.04 a this time, so i believe it's why nothing was working properly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:47:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-burn-Uboot-Linux-on-SD-Card/m-p/354680#M49610</guid>
      <dc:creator>philippeballeyd</dc:creator>
      <dc:date>2014-10-08T13:47:48Z</dc:date>
    </item>
  </channel>
</rss>

