<?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 boot</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285233#M2124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bill.&amp;nbsp; We got it working with our x8 NAND!&amp;nbsp; Thanks for pointing us in the FCB direction...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had to do a few things to get the x8 NAND boot working:&lt;/P&gt;&lt;P&gt;1) RCON2 = 0 at power up (boot from 8-bit NAND)&lt;/P&gt;&lt;P&gt;2) modify the fsl_nfc.c driver (NFC_FLASH_CONFIG register, bit-7 = 0) for 8-bit NAND operation (modify both drivers - u-boot and the kernel)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;3) use the nb_update &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;command to write u-boot into NAND in order for it to write the FCB blocks:&lt;/SPAN&gt;&amp;nbsp; nb_update &amp;lt;image addr&amp;gt; &amp;lt;size&amp;gt; &amp;lt;dest flash addr&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;And the last stumbling block that we ran across (obvious now in hindsight) is that the FCB block has to be erased before the nb_update is called...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;nand erase 0 0x800&lt;BR /&gt;nand erase 0x40000 0x40000&lt;BR /&gt;mw.b 0x80400000 0xff 0x40000&lt;BR /&gt;fatload mmc 0:2 0x80400000 u-boot.nand&lt;BR /&gt;nb_update 0x80400000 0x40000 0x40000&lt;BR /&gt; &lt;BR /&gt;After that, we successfully booted u-boot and a kernel from the NAND - no SD card inserted.&amp;nbsp; We are checking on the other FBC locations now and we have to work on loading the rootfs too...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Rod&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 22:00:55 GMT</pubDate>
    <dc:creator>rod_k</dc:creator>
    <dc:date>2013-11-20T22:00:55Z</dc:date>
    <item>
      <title>Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285224#M2115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Im trying to get some information on how to flash u-boot, Linux kernel and rootFS onto nand chip for the Freescale Vybrid Tower module.&lt;/P&gt;&lt;P&gt;I found a document on the timesys website with instructions on how to flash the u-boot to NAND. However im looking for more information on how to boot the whole system from NAND.&lt;/P&gt;&lt;P&gt;Any help would be really appriciated.&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jul 2013 17:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285224#M2115</guid>
      <dc:creator>igor-imx</dc:creator>
      <dc:date>2013-07-22T17:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285225#M2116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any help will be really appriciated.&lt;/P&gt;&lt;P&gt;Cant seem to find any documentation on this topic.&lt;/P&gt;&lt;P&gt;Please help :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 17:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285225#M2116</guid>
      <dc:creator>igor-imx</dc:creator>
      <dc:date>2013-07-23T17:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285226#M2117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be updating the instructions on the Timesys website to include information about booting a kernel and RFS image from NAND. This should be finished by tomorrow - I will let you know when the document has been updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 23:03:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285226#M2117</guid>
      <dc:creator>tony_f123</dc:creator>
      <dc:date>2013-07-23T23:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285227#M2118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is great. Thanx so much&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jul 2013 23:11:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285227#M2118</guid>
      <dc:creator>igor-imx</dc:creator>
      <dc:date>2013-07-23T23:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285228#M2119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have updated the NAND boot document: &lt;A href="https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower" title="https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower"&gt;https://linuxlink.timesys.com/docs/projects/engineering/wiki/NAND_Boot_for_Vybrid_Tower&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you have any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 14:59:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285228#M2119</guid>
      <dc:creator>tony_f123</dc:creator>
      <dc:date>2013-07-25T14:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285229#M2120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Tony.&lt;/P&gt;&lt;P&gt;I will try it today and will post the results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jul 2013 15:22:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285229#M2120</guid>
      <dc:creator>igor-imx</dc:creator>
      <dc:date>2013-07-25T15:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285230#M2121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does work.&amp;nbsp; However, you should ensure you have the &lt;STRONG&gt;right&lt;/STRONG&gt; u-boot (explained in the Wiki).&amp;nbsp; One way to tell is to type &lt;EM&gt;help nb_update&lt;/EM&gt;.&amp;nbsp; The correct version will give three parameters.&amp;nbsp; I did a &lt;EM&gt;flash_erase&lt;/EM&gt; on the boot partition from &lt;STRONG&gt;Linux&lt;/STRONG&gt; and this also seems to work (as opposed to the u-boot &lt;EM&gt;nand erase.chip)&lt;/EM&gt;.&amp;nbsp; This let me erase the partition, but preserve the rest of the &lt;STRONG&gt;NAND&lt;/STRONG&gt; device.&amp;nbsp; However, I have two issue with this mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Need MMC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After this was working, I have removed the &lt;STRONG&gt;mmc&lt;/STRONG&gt; card.&amp;nbsp; Then the version of &lt;EM&gt;u-boot&lt;/EM&gt; for the &lt;STRONG&gt;Linux-link&lt;/STRONG&gt; seems to not allow the &lt;EM&gt;saveenv&lt;/EM&gt; command.&amp;nbsp; You can load an environment over the network with a &lt;EM&gt;u-boot&lt;/EM&gt; script, but it would be considerably easier if the &lt;EM&gt;u-boot&lt;/EM&gt; supported saving an environment to the &lt;STRONG&gt;NAND&lt;/STRONG&gt; as opposed to the &lt;STRONG&gt;mmc&lt;/STRONG&gt;.&amp;nbsp; People may wish to develop &lt;EM&gt;SDHC&lt;/EM&gt; drivers from something other than &lt;EM&gt;mmc&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Compiling the NAND u-boot?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I have difficulty getting the code to compile so that I can boot from &lt;STRONG&gt;NAND.&lt;/STRONG&gt;&amp;nbsp; I have compiled an image that boots from &lt;STRONG&gt;mmc&lt;/STRONG&gt;, with the updated &lt;EM&gt;nb_update&lt;/EM&gt;, but for some reason it doesn't seem to boot and goes to &lt;EM&gt;serial download mode&lt;/EM&gt; when I flash my own image?&amp;nbsp; Being able to compile my own image, would allow fixing the &lt;EM&gt;saveenv&lt;/EM&gt; area for instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ git remote -v
&amp;nbsp;&amp;nbsp;&amp;nbsp; origin&amp;nbsp; &lt;A href="https://github.com/Timesys/u-boot-timesys.git" rel="nofollow noopener noreferrer" target="test_blank"&gt;https://github.com/Timesys/u-boot-timesys.git&lt;/A&gt; (fetch)
&amp;nbsp;&amp;nbsp;&amp;nbsp; origin&amp;nbsp; &lt;A href="https://github.com/Timesys/u-boot-timesys.git" rel="nofollow noopener noreferrer" target="test_blank"&gt;https://github.com/Timesys/u-boot-timesys.git&lt;/A&gt; (push)
&amp;nbsp;&amp;nbsp;&amp;nbsp; $ git branch
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2011.12-mvf
&amp;nbsp;&amp;nbsp;&amp;nbsp; * 2011.12-pcm052
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt; &lt;EM&gt;Compiling the NAND u-boot&lt;/EM&gt; is a tool issue.&amp;nbsp; Rebuilding source with the &lt;EM&gt;TimeSys&lt;/EM&gt; armv7l gcc/binutils does boot from &lt;STRONG&gt;NAND.&amp;nbsp; &lt;/STRONG&gt;Strange my 4.8.1 gcc+binutils does not boot from &lt;STRONG&gt;NAND&lt;/STRONG&gt;, but does boot from &lt;STRONG&gt;mmc&lt;/STRONG&gt;.&amp;nbsp; The &lt;EM&gt; 2011.12-pcm052&lt;/EM&gt; is the correct branch to use for a &lt;STRONG&gt;NAND&lt;/STRONG&gt; boot build.&amp;nbsp; An update to gcc 4.8.2 also allows a boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyways, thanks again (to you, Dan Douglass and Russell Robinson) for the initial difficult hurdle of getting this to work at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, &lt;A _jive_internal="true" href="https://community.nxp.com/thread/312248" rel="nofollow noopener noreferrer" target="_blank"&gt;this thread&lt;/A&gt; may be useful for others to understand the details of &lt;EM&gt;drivers/mtd/nand/fsl_nfc.c&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE:&amp;nbsp; &lt;/STRONG&gt;The &lt;A href="http://www.phytec.com/wiki/index.php/PhyCORE-Vybrid_Quickstart-QS1.0#Bootloader" rel="nofollow noopener noreferrer" title="http://www.phytec.com/wiki/index.php/PhyCORE-Vybrid_Quickstart-QS1.0#Bootloader" target="_blank"&gt;PHYTEC Wiki&lt;/A&gt; has a better sequence for updating the &lt;STRONG&gt;NAND&lt;/STRONG&gt; u-boot from the &lt;STRONG&gt;eMMC&lt;/STRONG&gt; u-boot.&amp;nbsp; The key is to pad the u-boot memory with all &lt;STRONG&gt;FF&lt;/STRONG&gt;s before using &lt;STRONG&gt;nb_update&lt;/STRONG&gt;.&amp;nbsp; I use a Linux &lt;EM&gt;flash_eraseall&lt;/EM&gt; to ensure my partitions are erased.&amp;nbsp; Without the &lt;EM&gt;mw.b 0x80400000 0xff 0x40000,&lt;/EM&gt; to pad the image with &lt;STRONG&gt;FF&lt;/STRONG&gt;s whenever I changed the u-boot configuration the image size changed and the &lt;STRONG&gt;NAND&lt;/STRONG&gt; image fails to boot.&amp;nbsp; I also recommend a direct serial connection on the &lt;STRONG&gt;TWR-SER&lt;/STRONG&gt; board as the USB serial is very buggy when switching between &lt;STRONG&gt;NAND&lt;/STRONG&gt; and &lt;STRONG&gt;eMMC&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:28:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285230#M2121</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2013-10-25T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285231#M2122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know how to change the u-boot so that it understands that the actual physical NAND flash device is connected as a x8 device, not a x16 device?&amp;nbsp; We can NAND boot the Phytec SoM using its on board flash NAND (x16) but we have not been able to boot another design yet which contains a x8 NAND device.&amp;nbsp; I know the TWR also contains a x16 NAND device.&amp;nbsp; We have the correct RCON2 setting = "0" at reset (NAND bit width set to 8-bit NAND).&amp;nbsp; We are just starting to dig in, but thought others out there may have solved this x* NAND boot already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 19:00:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285231#M2122</guid>
      <dc:creator>rod_k</dc:creator>
      <dc:date>2013-11-14T19:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285232#M2123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I have &lt;STRONG&gt;not&lt;/STRONG&gt; booted with a x8 device.&amp;nbsp; However, I found it useful to use &lt;EM&gt;nanddump -o -n -p&lt;/EM&gt; to see what is actually written to flash.&amp;nbsp; The &lt;EM&gt;u-boot nb_update&lt;/EM&gt; appears to be writing OOB data to the sector containing the &lt;STRONG&gt;FCB&lt;/STRONG&gt;.&amp;nbsp; I still don't understand the &lt;EM&gt;stride&lt;/EM&gt; comment in the document.&amp;nbsp; I guess that 0x40000 is the 2&lt;SUP&gt;nd&lt;/SUP&gt; stride.&amp;nbsp; However, this &lt;STRONG&gt;FCB&lt;/STRONG&gt; is the first thing read by the ROM bootloader and it uses it to configure the NAND controller.&amp;nbsp; If you can connect a logic analyzer or multi-channel scope to the x8 &lt;STRONG&gt;NAND&lt;/STRONG&gt; device you will probably be able to get it working; you will see the address and data the the bootloader is getting.&amp;nbsp; The ROM boot loader puts the NAND controller into boot mode and reads raw sectors without the OOB correction.&amp;nbsp; This is why the duplicate &lt;EM&gt;hamming ECC&lt;/EM&gt; is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like a lot of people have looked at the documentation and it isn't quite clear.&amp;nbsp; You need to figure out where the ROM boot loader will read from and put the &lt;STRONG&gt;FCB&lt;/STRONG&gt; there with the hamming ECC.&amp;nbsp; I would suggest looking at the addresses using a blank flash.&amp;nbsp; Then, if you get the &lt;STRONG&gt;FCB&lt;/STRONG&gt; considered valid, the ROM code should try to read other sectors.&amp;nbsp; You may then be able to fix the &lt;STRONG&gt;FCB&lt;/STRONG&gt; or it may work the first time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Nov 2013 14:51:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285232#M2123</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2013-11-15T14:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285233#M2124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Bill.&amp;nbsp; We got it working with our x8 NAND!&amp;nbsp; Thanks for pointing us in the FCB direction...&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We had to do a few things to get the x8 NAND boot working:&lt;/P&gt;&lt;P&gt;1) RCON2 = 0 at power up (boot from 8-bit NAND)&lt;/P&gt;&lt;P&gt;2) modify the fsl_nfc.c driver (NFC_FLASH_CONFIG register, bit-7 = 0) for 8-bit NAND operation (modify both drivers - u-boot and the kernel)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;3) use the nb_update &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;command to write u-boot into NAND in order for it to write the FCB blocks:&lt;/SPAN&gt;&amp;nbsp; nb_update &amp;lt;image addr&amp;gt; &amp;lt;size&amp;gt; &amp;lt;dest flash addr&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"&gt;And the last stumbling block that we ran across (obvious now in hindsight) is that the FCB block has to be erased before the nb_update is called...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;nand erase 0 0x800&lt;BR /&gt;nand erase 0x40000 0x40000&lt;BR /&gt;mw.b 0x80400000 0xff 0x40000&lt;BR /&gt;fatload mmc 0:2 0x80400000 u-boot.nand&lt;BR /&gt;nb_update 0x80400000 0x40000 0x40000&lt;BR /&gt; &lt;BR /&gt;After that, we successfully booted u-boot and a kernel from the NAND - no SD card inserted.&amp;nbsp; We are checking on the other FBC locations now and we have to work on loading the rootfs too...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Thanks again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black; font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;Rod&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:00:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285233#M2124</guid>
      <dc:creator>rod_k</dc:creator>
      <dc:date>2013-11-20T22:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285234#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When using x8 NAND, can I save NF_IO[8..15] for alternate functions ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Emmanuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 09:06:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285234#M2125</guid>
      <dc:creator>Nouchi</dc:creator>
      <dc:date>2013-11-26T09:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285235#M2126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Emmanuel&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;Yes, you can, just "route" them for the desired functions using the IOMUX mechanism.&lt;/P&gt;&lt;P&gt;Regards, Naoum Gitnik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 20:39:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285235#M2126</guid>
      <dc:creator>naoumgitnik</dc:creator>
      <dc:date>2013-11-26T20:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285236#M2127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By this way, we can rescue FTM3, but FTM2 is definitively lost if NFC is used :smileycry:.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 Nov 2013 19:24:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285236#M2127</guid>
      <dc:creator>Nouchi</dc:creator>
      <dc:date>2013-11-30T19:24:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285237#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can always use an FTM as a timer, even if the pins are not used.&amp;nbsp; That said, the NAND will ignore the &lt;EM&gt;NF_IOxx&lt;/EM&gt;&amp;nbsp; lines as long as the &lt;EM&gt;CE&lt;/EM&gt; line is not asserted.&amp;nbsp; You could even possibly dynamically use the &lt;STRONG&gt;two channel&lt;/STRONG&gt; FTM2 even with an 8bit NAND flash (your peripherals also need activation lines).&amp;nbsp; As the FTM module has a common time base, it may have been better to have put one channel of FTM2 on the higher bits.&amp;nbsp; I guess the Vybrid designers thought an 8channel motor control was more important.&amp;nbsp; If you are capturing, I think you want the channels on the same time base.&amp;nbsp;&amp;nbsp; What sort of application do you have where this is a limitation?&amp;nbsp; It must be multiple outputs with different time bases?&amp;nbsp; Ie , audio beep, a back-light PWM,&amp;nbsp; motor control, 1-wire emulation, laser scanner, etc.&amp;nbsp; Even if the time bases are different, you can use multiple channels as outputs as long as the end devices are not used at the same time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 19:10:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285237#M2128</guid>
      <dc:creator>billpringlemeir</dc:creator>
      <dc:date>2014-01-15T19:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285238#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling trying to boot u-boot from NAND. Im working in TWR&lt;/P&gt;&lt;P&gt;I'm able to write in the NAND with the nb_update but not able to boot from NAND yet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this branch also applies for TWR board?&lt;/P&gt;&lt;P&gt;How do you build it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; make vybrid_nand_config&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; make u-boot.imx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any additional steps before padding the binary?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you share your nand u-boot binary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:52:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285238#M2129</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2014-02-19T17:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285239#M2130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind. I was able to boot :smileyhappy:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Moving the proper branch and building in the next way &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;git checkout -b nand remotes/origin/2011.120-pcm052&lt;/P&gt;&lt;P&gt;make vybrid_config&lt;/P&gt;&lt;P&gt;make u-boot.imx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dd if=/dev/zero of=u-boot-pad bs=1024 count=1&lt;/P&gt;&lt;P&gt;cat u-boot-pad u-boot.imx &amp;gt; u-boot.nand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;key, was the branch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:05:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285239#M2130</guid>
      <dc:creator>juangutierrez</dc:creator>
      <dc:date>2014-02-19T18:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vybrid NAND boot</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285240#M2131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tony Felice,&lt;/P&gt;&lt;P&gt;can you please recheck NAND boot document link as I am getting "Page not found" error.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 15:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Vybrid-NAND-boot/m-p/285240#M2131</guid>
      <dc:creator>milicavukajlovi</dc:creator>
      <dc:date>2017-07-24T15:31:31Z</dc:date>
    </item>
  </channel>
</rss>

