<?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: Issue Loading Program Image in i.MX6 NAND Boot in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Loading-Program-Image-in-i-MX6-NAND-Boot/m-p/285361#M33484</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the problem here. It turns out that the base sabrelite configuration included with the u-boot 2013.10 distribution contains a DCD entry that turns off the GPMI NAND clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configuration for generating the IMX compatible image uses the included clocks.cfg file (in boards/freescale/sabrelite). One of the entries in this file is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DATA 4, CCM_CCGR4, 0x00FFF300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this line is executed by the boot ROM from the DCD it ends up turning off the following clocks.&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_input_apb clock&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_bch_input_gpmi_io&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_bch_input_bch&lt;/P&gt;&lt;P&gt;-rawnand_u_bch_input_apb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This effectively disables any additional loading from NAND. Changing the clocks.cfg entry to&lt;/P&gt;&lt;P&gt;DATA 4, CCM_CCGR4, 0xFFFFF300&lt;/P&gt;&lt;P&gt;fixes the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jan 2014 19:51:08 GMT</pubDate>
    <dc:creator>scottkanowitz</dc:creator>
    <dc:date>2014-01-15T19:51:08Z</dc:date>
    <item>
      <title>Issue Loading Program Image in i.MX6 NAND Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Loading-Program-Image-in-i-MX6-NAND-Boot/m-p/285360#M33483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m setting up a board using an i.MX6Q to boot from NAND. I have the board booting fine from an SD card using a custom u-boot image packaged with the mkimage utility into an imx boot format (IVT and DCD added to the head).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I burn this image to NAND using the kobs-ng tool in Linux I can’t get the board to load and execute U-Boot. Using JTAG I’m able to see that the boot ROM gets to the point of loading the IVT, Boot Data and DCD and actually executing the commands in the DCD (all the MMDC values are programmed and the IVT and DCD are present in DRAM). However, the actual program binary for U-Boot is not loaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’m assuming since I got to the point of loading and executing the DCD that the FCB and DBBT are good and the NAND boot is functional. Additionally, I verified that the ROM is not reading garbage data out of NAND because I can modify the values at the program destination address and they remain unchanged following a reset.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing that is preventing the final step of loading and executing the image? If the SD card boot process succeeds with the u-boot image why wouldn’t the NAND boot process?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 19:12:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-Loading-Program-Image-in-i-MX6-NAND-Boot/m-p/285360#M33483</guid>
      <dc:creator>scottkanowitz</dc:creator>
      <dc:date>2014-01-03T19:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Loading Program Image in i.MX6 NAND Boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-Loading-Program-Image-in-i-MX6-NAND-Boot/m-p/285361#M33484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured out the problem here. It turns out that the base sabrelite configuration included with the u-boot 2013.10 distribution contains a DCD entry that turns off the GPMI NAND clocks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The configuration for generating the IMX compatible image uses the included clocks.cfg file (in boards/freescale/sabrelite). One of the entries in this file is&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;DATA 4, CCM_CCGR4, 0x00FFF300&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this line is executed by the boot ROM from the DCD it ends up turning off the following clocks.&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_input_apb clock&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_bch_input_gpmi_io&lt;/P&gt;&lt;P&gt;-rawnand_u_gpmi_bch_input_bch&lt;/P&gt;&lt;P&gt;-rawnand_u_bch_input_apb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This effectively disables any additional loading from NAND. Changing the clocks.cfg entry to&lt;/P&gt;&lt;P&gt;DATA 4, CCM_CCGR4, 0xFFFFF300&lt;/P&gt;&lt;P&gt;fixes the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jan 2014 19:51:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-Loading-Program-Image-in-i-MX6-NAND-Boot/m-p/285361#M33484</guid>
      <dc:creator>scottkanowitz</dc:creator>
      <dc:date>2014-01-15T19:51:08Z</dc:date>
    </item>
  </channel>
</rss>

