<?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>topic Re: u-boot for eMMC programming and img boot on iMX8QM MEK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-for-eMMC-programming-and-img-boot-on-iMX8QM-MEK/m-p/1191596#M165775</link>
    <description>&lt;P&gt;I am able to program eMMC using the "emmc read/write/erase" commands. The issue I ran into was picking the right block size (512). That is needed otherwise I saw CRC errors. I will mark this thread closed. Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Dec 2020 11:38:47 GMT</pubDate>
    <dc:creator>ravi_kohli</dc:creator>
    <dc:date>2020-12-01T11:38:47Z</dc:date>
    <item>
      <title>u-boot for eMMC programming and img boot on iMX8QM MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-for-eMMC-programming-and-img-boot-on-iMX8QM-MEK/m-p/1190574#M165673</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I can program u-boot.bin to eMMC using "uuu" on my iMX8QM MEK. Then boot my test image via tftpboot/bootm commands.&lt;/P&gt;&lt;PRE&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;=&amp;gt; tftpboot 0xf0000000 App.bin&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Using ethernet@5b040000 device&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;TFTP from server 192.168.86.43; our IP address is 192.168.86.44 Filename 'App.bin'.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Load address: 0xf0000000&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Loading: #################################################################&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #################################################################&lt;BR /&gt;&lt;/FONT&gt;...&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ################&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.6 MiB/s&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;done&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="1 2 3 4 5 6 7"&gt;Bytes transferred = &lt;STRONG&gt;9767696&lt;/STRONG&gt; (950b10 hex) &lt;BR /&gt;&lt;STRONG&gt;==&amp;gt;bootm 0xf0000000&lt;BR /&gt;=&amp;gt; mmc info&lt;BR /&gt;Device: FSL_SDHC&lt;BR /&gt;Manufacturer ID: 13&lt;BR /&gt;OEM: 14e&lt;BR /&gt;Name: R1J57&lt;BR /&gt;Bus Speed: 200000000&lt;BR /&gt;Mode : HS400 (200MHz)&lt;BR /&gt;Rd Block Len: 512&lt;BR /&gt;MMC version 5.0&lt;BR /&gt;High Capacity: Yes&lt;BR /&gt;Capacity: 29.1 GiB&lt;BR /&gt;Bus Width: 8-bit DDR&lt;BR /&gt;Erase Group Size: 512 KiB&lt;BR /&gt;HC WP Group Size: 8 MiB&lt;BR /&gt;User Capacity: 29.1 GiB WRREL&lt;BR /&gt;Boot Capacity: 8 MiB ENH&lt;BR /&gt;RPMB Capacity: 4 MiB ENH&lt;BR /&gt;=&amp;gt; mmc dev 0&lt;BR /&gt;switch to partitions #0, OK&lt;BR /&gt;mmc0(part 0) is current device&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/PRE&gt;&lt;P&gt;I'd like to use u-boot to program the test image (A53 bare metal)&amp;nbsp; into &lt;STRONG&gt;eMMC&lt;/STRONG&gt; at a given location 0xf0000000.&amp;nbsp;Thanks to rweiss for sharing this option in uboot.&lt;/P&gt;&lt;P&gt;Can someone please share what u-boot instructions are needed to program App.bin to eMMC and load it to RAM at address 0xf0000000 ? Example, mmc write&lt;/P&gt;&lt;P&gt;I am trying to use "bootm 0xf0000000" to boot this eMMC image.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 04:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-for-eMMC-programming-and-img-boot-on-iMX8QM-MEK/m-p/1190574#M165673</guid>
      <dc:creator>rkohli2000</dc:creator>
      <dc:date>2020-11-30T04:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: u-boot for eMMC programming and img boot on iMX8QM MEK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/u-boot-for-eMMC-programming-and-img-boot-on-iMX8QM-MEK/m-p/1191596#M165775</link>
      <description>&lt;P&gt;I am able to program eMMC using the "emmc read/write/erase" commands. The issue I ran into was picking the right block size (512). That is needed otherwise I saw CRC errors. I will mark this thread closed. Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 11:38:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/u-boot-for-eMMC-programming-and-img-boot-on-iMX8QM-MEK/m-p/1191596#M165775</guid>
      <dc:creator>ravi_kohli</dc:creator>
      <dc:date>2020-12-01T11:38:47Z</dc:date>
    </item>
  </channel>
</rss>

