<?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: sabre SD eMMC</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279570#M32018</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried flashing the boot through the manufacturing tool? it is the easiest way to flash an eMMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Nov 2013 00:49:07 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-11-15T00:49:07Z</dc:date>
    <item>
      <title>sabre SD eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279569#M32017</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 just received a Sabre SD board and trying to access the 8GB eMMC chip (I think it is connected on SD4).&lt;/P&gt;&lt;P&gt;First I notice I can't boot from the eMMC, only from the SD card slots.&lt;/P&gt;&lt;P&gt;When I boot on the SD card, I can't find the eMMC.&lt;/P&gt;&lt;P&gt;I'm pretty sure it is a small detail I have missed.&lt;/P&gt;&lt;P&gt;I have been trying the Linux image that was provided with the board (not sure what environment they used to build that one) and I have also tried the image I build in the Yocto environment.&lt;/P&gt;&lt;P&gt;But I can't see the eMMC.&lt;/P&gt;&lt;P&gt;My question is what device (/dev/...) I need to mount to access that chip?&lt;/P&gt;&lt;P&gt;When I start u-boot only I can see the eMMC chip.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 00:42:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279569#M32017</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2013-11-15T00:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: sabre SD eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279570#M32018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;have you tried flashing the boot through the manufacturing tool? it is the easiest way to flash an eMMC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 00:49:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279570#M32018</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-11-15T00:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: sabre SD eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279571#M32019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't tried that.&lt;/P&gt;&lt;P&gt;First I was just trying to figure out how to find the eMMC device when running the Linux image.&lt;/P&gt;&lt;P&gt;I think it put is as /dev/mmcblk1, but I also have /dev/mmcblk1boot0 and /dev/mmcblk1boot1.&lt;/P&gt;&lt;P&gt;But when I check this device with fdisk, it doesn't have any partitions and "file -s" says it's just data.&lt;/P&gt;&lt;P&gt;First I just want to make sure I accessing the right device, before I do anything.&lt;/P&gt;&lt;P&gt;Should there be any image pre-loaded in the eMMC when the boards comes out from the manufacturing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Niklas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 01:04:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279571#M32019</guid>
      <dc:creator>niklasmolin</dc:creator>
      <dc:date>2013-11-15T01:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: sabre SD eMMC</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279572#M32020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Niklas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I got these type of questions, I look at how MFGtool does the flashing. Inspecting this file, the fist task is booting a temporal u-boot and kernel,&amp;nbsp; using a ram filesystem (initramfs). Then it 'dd' u-boot and kernel to /dev/mmcblk0 (/dev/mmcblk1 is for the SD card), then in creates a partition on that device, /dev/mmcblk0p1, and untar the real filesystem there. here are the details:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;&amp;lt;LIST name="SabreSD-eMMC" desc="Choose eMMC Linux as media"&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="boot" body="BootStrap" file ="u-boot-mx6q-sabresd.bin" &amp;gt;Loading U-boot&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="uImage" address="0x10800000" &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Kernel.&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="load" file="initramfs.cpio.gz.uboot" address="0x10C00000" &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; loadSection="OTH" setSection="OTH" HasFlashHeader="FALSE" &amp;gt;Loading Initramfs.&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="BootStrap" type="jump" &amp;gt; Jumping to OS image. &amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ ls /dev/*"/&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ dd if=/dev/zero of=/dev/mmcblk0 bs=512 seek=1536 count=16"&amp;gt;clean up u-boot parameter&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ echo 1 &amp;gt; /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config"&amp;gt;access boot partition 1&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="files/u-boot-mx6q-sabresd.bin"&amp;gt;Sending U-Boot&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=512 seek=2 skip=2"&amp;gt;write U-Boot to sd card&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ echo 8 &amp;gt; /sys/devices/platform/sdhci-esdhc-imx.3/mmc_host/mmc0/mmc0:0001/boot_config"&amp;gt;access user partition and enable boot partion 1 to boot&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="files/uImage"&amp;gt;Sending kernel uImage&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk0 bs=1M seek=1 conv=fsync"&amp;gt;write kernel image to sd card&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="send" file="mksdcard.sh.tar"&amp;gt;Sending partition shell&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ tar xf $FILE "&amp;gt; Partitioning...&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ sh mksdcard.sh /dev/mmcblk0"&amp;gt; Partitioning...&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkfs.ext3 -j /dev/mmcblk0p1"&amp;gt;Formatting rootfs partition&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk0p1"/&amp;gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk0p1 /mnt/mmcblk0p1"/&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk0p1" file="files/rootfs.tar.bz2"&amp;gt;Sending and writting rootfs&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="frf"&amp;gt;Finishing rootfs write&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ umount /mnt/mmcblk0p1"&amp;gt;Unmounting rootfs partition&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;CMD state="Updater" type="push" body="$ echo Update Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt; &lt;/P&gt;
&lt;P&gt;&amp;lt;/LIST&amp;gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 16:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/sabre-SD-eMMC/m-p/279572#M32020</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-11-15T16:16:53Z</dc:date>
    </item>
  </channel>
</rss>

