<?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: How to setup MMC card to load the kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216213#M13656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;I got the similar&amp;nbsp;problem.My board is I.MX6Quad.I try to loading zImage by the command "mmc read" from eMMc.And the following error shows to me:&lt;/P&gt;&lt;P&gt;MMC read: dev # 2, block # 4096, count 8192 ... MMC: block number 0x3000 exceeds max(0x2000)&lt;BR /&gt;0 blocks read: ERROR&lt;/P&gt;&lt;P&gt;Bad Linux ARM zImage magic!&lt;/P&gt;&lt;P&gt;My bootcmd is as follow:&lt;/P&gt;&lt;P&gt;#define CONFIG_BOOTCOMMAND \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} rootfstype=ext4&amp;nbsp;video=mxcfb0:dev=lcd,CLAA-WVGA@60,bpp=32,if=RGB24;" \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc dev ${mmcdev} ${mmcpart};"\&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc read ${fdt_addr} 0x800 0x80;"\&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc read ${loadaddr} 0x1000 0x2000;" \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"bootz ${loadaddr} - ${fdt_addr};"&lt;/P&gt;&lt;P&gt;I have read the user_guide before,but there is nothing can help me.Could you tell me how to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phoenix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Oct 2016 09:10:45 GMT</pubDate>
    <dc:creator>zhaojiawei</dc:creator>
    <dc:date>2016-10-18T09:10:45Z</dc:date>
    <item>
      <title>How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216207#M13650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I wrote some wrong commands to load my custom built kernel image on MMC/SD card and it destroyed the partition of MMC/SD card. My u-boot is is working through which I can boot my kernel with NFS server. Now, I would like to know the procedure to set up MMC/SD card so that I can boot my kernel from MMC/SD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Syed Rafiul Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:35:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216207#M13650</guid>
      <dc:creator>SyedRafiulHussa</dc:creator>
      <dc:date>2012-03-01T20:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216208#M13651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Download the Linux docs bundle from freescale website (&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab"&gt;http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&amp;amp;fpsp=1&amp;amp;tab=Documentation_Tab&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;Extract the archive&lt;/P&gt;&lt;P&gt;Open the PDF file doc\mx5\i.MX53_START_Linux_BSP_UserGuide.pdf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow the section 7 Using a Linux Host to Set Up an SD/MMC Card&lt;/P&gt;&lt;P&gt;This will guide you to flash u-boot, kernel, rootfs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow the section 8.2 Run the Image from MMC/SD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 20:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216208#M13651</guid>
      <dc:creator>PrabhuSundarara</dc:creator>
      <dc:date>2012-03-01T20:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216209#M13652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed R H,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing you should remember is that there is a Switch Configuration also in the initial pages/sections.&lt;/P&gt;&lt;P&gt;Do follow the instructions as posted by Prabhu Sundararaj very clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards :: Krishna Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 04:15:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216209#M13652</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2012-03-02T04:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216210#M13653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I followed every steps of the&amp;nbsp;i.MX53_START_Linux_BSP_UserGuide.pdf to setup the SD/MMC card.&amp;nbsp;However, when I tried to boot, the following error shows to me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MMC read: dev # 0, block # 1887436800, count 2048 ... MMC: block number 0x70800800 exceeds max(0x75c000)&lt;/P&gt;&lt;P&gt;0 blocks read: ERROR&lt;BR /&gt;Wrong Image Format for bootm command&lt;BR /&gt;ERROR: can't get kernel image!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@K. Pavan: Would you please be tell me more specifically about the Switch Configuration. I didn't do any switch configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Syed Rafiul Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Mar 2012 16:13:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216210#M13653</guid>
      <dc:creator>SyedRafiulHussa</dc:creator>
      <dc:date>2012-03-02T16:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216211#M13654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;can you please post the output of "printenv" when you are in u-boot login?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Mar 2012 17:01:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216211#M13654</guid>
      <dc:creator>MarioMedinaArza</dc:creator>
      <dc:date>2012-03-04T17:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216212#M13655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your board has some Switches, then you have set them, so that the SD/MMC boot mode is enabled.&lt;/P&gt;&lt;P&gt;Find Configuration switch setup for SD boot, in your board related User_guide, as it differs from EVK/ARD/START etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your log, it seems, the switch configuration for boot from SD/MMC is set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the error :: MMC: block number 0x70800800 exceeds max(0x75c000), I think you need to check your environment variables with that given in the user_guide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"printenv" as told by Mario Medina Arzate, will help the check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Regards :: Krishna Pavan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2012 06:46:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216212#M13655</guid>
      <dc:creator>KrishnaPavan</dc:creator>
      <dc:date>2012-03-05T06:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to setup MMC card to load the kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216213#M13656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Krishna,&lt;/P&gt;&lt;P&gt;I got the similar&amp;nbsp;problem.My board is I.MX6Quad.I try to loading zImage by the command "mmc read" from eMMc.And the following error shows to me:&lt;/P&gt;&lt;P&gt;MMC read: dev # 2, block # 4096, count 8192 ... MMC: block number 0x3000 exceeds max(0x2000)&lt;BR /&gt;0 blocks read: ERROR&lt;/P&gt;&lt;P&gt;Bad Linux ARM zImage magic!&lt;/P&gt;&lt;P&gt;My bootcmd is as follow:&lt;/P&gt;&lt;P&gt;#define CONFIG_BOOTCOMMAND \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} rootfstype=ext4&amp;nbsp;video=mxcfb0:dev=lcd,CLAA-WVGA@60,bpp=32,if=RGB24;" \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc dev ${mmcdev} ${mmcpart};"\&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc read ${fdt_addr} 0x800 0x80;"\&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"mmc read ${loadaddr} 0x1000 0x2000;" \&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;"bootz ${loadaddr} - ${fdt_addr};"&lt;/P&gt;&lt;P&gt;I have read the user_guide before,but there is nothing can help me.Could you tell me how to solve this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Phoenix&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Oct 2016 09:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-setup-MMC-card-to-load-the-kernel/m-p/216213#M13656</guid>
      <dc:creator>zhaojiawei</dc:creator>
      <dc:date>2016-10-18T09:10:45Z</dc:date>
    </item>
  </channel>
</rss>

