<?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>Vybrid ProcessorsのトピックRe: Vybrid nand flash boot issue</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375033#M3902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you attend this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Aug 2014 17:10:45 GMT</pubDate>
    <dc:creator>karina_valencia</dc:creator>
    <dc:date>2014-08-25T17:10:45Z</dc:date>
    <item>
      <title>Vybrid nand flash boot issue</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375032#M3901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to load u-boot, kernel and RFS from sd card to nand flash on PHYcore-Vybrid (PCM052).&lt;/P&gt;&lt;P&gt;I've saved rootfs.jffs2 and uImage files into sd card on fat part. I boot on sd card and copy u-boot, kernel and RFS from u-boot. I've generated the rootfs.jffs2 using the timesys factory (enabling jffs2 RFS on menuconfig).&lt;/P&gt;&lt;P&gt;The u-boot, and kernel seems correctly loaded into flash, but not theRFS.&lt;/P&gt;&lt;P&gt;I used the following commands:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;u-boot :&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; nand erase 0x40000 0x40000; mw.b 0x80400000 0xff 0x40000; fatload mmc 0:2 0x80400000 u-boot.nand; nb_update 0x80400000 0x40000 0x40000&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;kernel using env variable :&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;update_kernel_from_sd=mw.b $(loadaddr) 0xff 0x400000; mmc rescan; fatload mmc 0:2 ${loadaddr} ${bootfile}; nand erase 0xA0000 0x400000; nand write.i ${loadaddr}&amp;nbsp; 0xA0000 0x400000&lt;/P&gt;&lt;P&gt;run update_kernel_from_sd&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RFS using env variable :&lt;/STRONG&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;update_rootfs_from_sd=mw.b ${loadaddr} 0xff 0x8F20000;mmc rescan; fatload mmc 0:2 ${loadaddr} ${filesys}; nand erase 0x4A0000 0x8F20000; nand write.i ${loadaddr} 0x4A0000 0x8F20000&lt;/P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/BLOCKQUOTE&gt;&lt;P&gt;I have no error after using these commands. I can boot from nand, when enterring on the u-boot, I set the 'bootcmd'&amp;nbsp; to boot on NAND. Here are my env variables for nand boot :&lt;/P&gt;&lt;PRE _modifiedtitle="true" class="jive_macro_quote jive_text_macro"&gt;&lt;P&gt;bootargs_base=setenv bootargs rw mem=256M console=ttymxc1,115200n8 init=/sbin/init&lt;/P&gt;&lt;P&gt;bootargs_mtd=setenv bootargs ${bootargs} ${mtdparts}&lt;/P&gt;&lt;P&gt;bootargs_nand=setenv bootargs ${bootargs} root=/dev/mtdblock3 rootfstype=jffs2&lt;/P&gt;&lt;P&gt;bootcmd=run bootcmd_nand&lt;/P&gt;&lt;P&gt;bootcmd_nand=run bootargs_base bootargs_nand bootargs_mtd; nand read ${loadaddr} 0x000A0000 0x400000; bootm ${loadaddr}&lt;/P&gt;&lt;P&gt;mtdids=nand0=NAND&lt;/P&gt;&lt;P&gt;mtdparts=mtdparts=NAND:256k(spare),256k(bootloader),128k(env),4m(kernel),-(rootfs)&lt;/P&gt;&amp;nbsp; &lt;/PRE&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I boot with these parameters, kernel start but I've an ECC error (I don't know the meaning of this error):&lt;/P&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;P&gt;uncorrectable error :&lt;/P&gt;&lt;P&gt;mtd_read(0x100 bytes from 0x0) returned ECC error&lt;/P&gt;&lt;P&gt;...&lt;/P&gt; &lt;/BLOCKQUOTE&gt;&lt;P&gt;(It seems i'm having some troubles with spam filter so I can't set the entire error message. Complete boot sequence is in attachments.)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me please? Any Idea?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338615" rel="nofollow noopener noreferrer" target="_blank"&gt;boot_sequence_nand_error.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Aug 2014 07:12:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375032#M3901</guid>
      <dc:creator>jeremyesquirol</dc:creator>
      <dc:date>2014-08-22T07:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid nand flash boot issue</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375033#M3902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/timesyssupport"&gt;timesyssupport&lt;/A&gt; can you attend this case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 17:10:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375033#M3902</guid>
      <dc:creator>karina_valencia</dc:creator>
      <dc:date>2014-08-25T17:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid nand flash boot issue</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375034#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="replyToName"&gt;Jérémy&lt;/SPAN&gt;&lt;SPAN class="replyToName"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Can you please try flashing the RFS using the method described here; this is applicable to the pcm052 hardware as well.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;A href="https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower#Writing-RFS-to-NAND-Flash" title="https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower#Writing-RFS-to-NAND-Flash"&gt;https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower#Writing-RFS-to-NAND-Flash&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="replyToName"&gt;Timesys Support&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Aug 2014 17:13:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-nand-flash-boot-issue/m-p/375034#M3903</guid>
      <dc:creator>timesyssupport</dc:creator>
      <dc:date>2014-08-25T17:13:56Z</dc:date>
    </item>
  </channel>
</rss>

