<?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>i.MX ProcessorsのトピックRe: i.MX6 NAND boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159523#M3000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I dont have a working kernel but am able to start uboot by means of the MFG tool, is there a way to have the card boot from NAND without the kobs-ng tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Sep 2013 16:33:43 GMT</pubDate>
    <dc:creator>rp123</dc:creator>
    <dc:date>2013-09-23T16:33:43Z</dc:date>
    <item>
      <title>i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159518#M2995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;L3.0.15 BSP of i.MX6 and our goal is to boot u-boot from NAND flash in our custom board.&lt;/P&gt;&lt;P&gt;As per data sheet we need to write FCB in first block of nand to boot from NAND.&lt;/P&gt;&lt;P&gt;I have checked the u-boot code and not sure how to create u-boot image with FCB data. Also how to generate the FCB data for i.MX6.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2012 13:32:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159518#M2995</guid>
      <dc:creator>VinodChaudhary</dc:creator>
      <dc:date>2012-05-05T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159519#M2996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, we now have a&amp;nbsp;&lt;A href="http://imxcommunity.org/group/i-mx-6-series-processors" rel="nofollow" target="_self"&gt;i.MX 6 Series Processors&lt;/A&gt; group. Maybe you like to join it for i.MX6 related questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question: I'm not sure if the i.MX6 NAND FCB is different to the one used for NOR or SD boot (besides the offset). At least for NOR or SD, the U-Boot from Freescale's BSP creates the necessary header by default in front of the U-Boot image. Have a look to&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6q_arm2/flash_header.S?h=imx_v2009.08" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6q_arm2.h?h=imx_v2009.08#n33" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/includ...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I would check the manual if the NAND uses an other format than the NOR or SD, adapt the &lt;CODE&gt;CONFIG_FLASH_HEADER_OFFSET&lt;/CODE&gt; if necessary and try to write the resulting image to the NAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;People might correct me if this is wrong ;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 May 2012 18:46:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159519#M2996</guid>
      <dc:creator>DirkBehme</dc:creator>
      <dc:date>2012-05-05T18:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159520#M2997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dirk,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply, future question i will post&amp;nbsp;on&amp;nbsp;&lt;A href="http://imxcommunity.org/group/i-mx-6-series-processors" rel="nofollow" target="_self"&gt;i.MX 6 Series Processors&lt;/A&gt; group. Just for your information i am replying here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As per i.MX6 datasheet&amp;nbsp;section 7.5.2.2 "NAND Flash Boot Flow and Boot Control Blocks (BCB)", ROM bootloader&amp;nbsp;read the FCB and DBBT information from NAND.&lt;/P&gt;&lt;P&gt;The link you provided&amp;nbsp;is&amp;nbsp;u-boot implementation as&amp;nbsp;described section 7.6 "Program Image" of datasheet.&lt;/P&gt;&lt;P&gt;Also the BSP provide the tool call kobs-ng which can be used from running linux on board, But im my case i want to&amp;nbsp;first bring up u-boot&amp;nbsp;from NAND then linux kernel.&lt;/P&gt;&lt;P&gt;I&amp;nbsp;am not sure how to generate&amp;nbsp;the FCB and DBBT information to meet the requirement of section 7.5.2.2 and append to u-boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest whether my understandig from datasheet is correct or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt; &lt;CITE&gt;Dirk Behme said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/i-mx6-nand-boot?commentId=4103961%3AComment%3A68878&amp;amp;xg_source=msg_com_forum#4103961Comment68878"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;First of all, we now have a&amp;nbsp;&lt;A href="http://imxcommunity.org/group/i-mx-6-series-processors" rel="nofollow" target="_self"&gt;i.MX 6 Series Processors&lt;/A&gt; group. Maybe you like to join it for i.MX6 related questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your question: I'm not sure if the i.MX6 NAND FCB is different to the one used for NOR or SD boot (besides the offset). At least for NOR or SD, the U-Boot from Freescale's BSP creates the necessary header by default in front of the U-Boot image. Have a look to&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx6q_arm2/flash_header.S?h=imx_v2009.08" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6q_arm2.h?h=imx_v2009.08#n33" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/includ...&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I would check the manual if the NAND uses an other format than the NOR or SD, adapt the &lt;CODE&gt;CONFIG_FLASH_HEADER_OFFSET&lt;/CODE&gt; if necessary and try to write the resulting image to the NAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;People might correct me if this is wrong ;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 13:23:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159520#M2997</guid>
      <dc:creator>VinodChaudhary</dc:creator>
      <dc:date>2012-05-07T13:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159521#M2998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I understood is that the kobs-ng tool will create/write the correct FCB and DBBT information.&lt;/P&gt;&lt;P&gt;You have to write the (empty) NAND with the kobs-ng tool. I.e. you have to boot Linux to use the tool. If your NAND is empty, boot the system with the manufacturing tool and then write the NAND with the manufacturing tool.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 08:09:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159521#M2998</guid>
      <dc:creator>DirkBehme</dc:creator>
      <dc:date>2012-05-08T08:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159522#M2999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My working approach was:&lt;/P&gt;&lt;P&gt;Boot the board using the mfg tool via USB.&lt;/P&gt;&lt;P&gt;This requires a working linux kernel, so you would need to make the kernel recognizing your nand.&lt;/P&gt;&lt;P&gt;This kernel is then able to run the kobs-ng. This tools reads the bad sector table from the nand and patches "u-boot.bin" (the one with the standard sd-card headers) with the correct nand headers.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It also immediatly writes the u-boot to a proper nand-location.&lt;/P&gt;&lt;P&gt;The tool also has a help page for the options.&lt;/P&gt;&lt;P&gt;Currently I have not come across a working tool that creates this header (except the binary kobs-ng). The imximage in u-boot was (at least in 2011.12) broken.&lt;/P&gt;&lt;P&gt;The other issue I see, is that the bad-block information needs to come from the nand itself, so the first boot cannot come from the nand but only from other sources.&lt;/P&gt;&lt;P&gt;One catch: there is/was a kobs-ng that does not support 8k pages nand flash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 08:17:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159522#M2999</guid>
      <dc:creator>ThiloJeremias</dc:creator>
      <dc:date>2012-05-08T08:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159523#M3000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I dont have a working kernel but am able to start uboot by means of the MFG tool, is there a way to have the card boot from NAND without the kobs-ng tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Sep 2013 16:33:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159523#M3000</guid>
      <dc:creator>rp123</dc:creator>
      <dc:date>2013-09-23T16:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6 NAND boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159524#M3001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking at the mx28 mxsboot.c and have modified it to produce the structures for the imx6. It is not documented in the mx6 manual whether the 32-bit quantities in the FCB and DBBT data are supposed to be little or big endian. Are the "FCB " and "DBBT" supposed to be string (no-endian)? The imx6 manual says the FCB should be "0x4E434220", if using little endian native then the signature in the NAND would be " BCF". The mxsboot.c also has confusion about the version number for FCB, 0x01000000 in the source file, yet the manual says that the 32-bit data should be 0x00000001?. Does anyone have a dump of the first 512 bytes of data from properly configured NAND that I could look at (this would answer questions very quickly)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2013 17:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6-NAND-boot/m-p/159524#M3001</guid>
      <dc:creator>jamesulrich</dc:creator>
      <dc:date>2013-09-24T17:35:39Z</dc:date>
    </item>
  </channel>
</rss>

