<?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: i.MX53 NAND FCB in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183148#M8118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;"Bad Block Marker Offset to Spare Byte" is the&amp;nbsp;offset in mata data place which stores thedata in Bad block marker place. if the mata data for the flash you used is 10 bytes, you can set it from 0 to 9. Usually we set it to 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2011 05:22:32 GMT</pubDate>
    <dc:creator>ShirleyYe</dc:creator>
    <dc:date>2011-11-04T05:22:32Z</dc:date>
    <item>
      <title>i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183147#M8117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anybody help me getting a correct NAND FCB (as defined on page 499/500 table 7-12 of the i.mx53 reference manual) for a 4KB Page 224B OOB NAND Flash?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My problem is the field at 0xB0 "Bad Block Marker Offset to Spare Byte", how do I set it? Better yet, how do I calculate it for an arbitrary flash chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 15:45:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183147#M8117</guid>
      <dc:creator>PlartiNuhtl</dc:creator>
      <dc:date>2011-11-02T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183148#M8118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;"Bad Block Marker Offset to Spare Byte" is the&amp;nbsp;offset in mata data place which stores thedata in Bad block marker place. if the mata data for the flash you used is 10 bytes, you can set it from 0 to 9. Usually we set it to 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2011 05:22:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183148#M8118</guid>
      <dc:creator>ShirleyYe</dc:creator>
      <dc:date>2011-11-04T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183149#M8119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this code is from kobs-ng package in LTIB &amp;nbsp;:&lt;BR /&gt; 1973 if (plat_config_data-&amp;gt;m_u32EnDISBBM) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if the bad block marker swap enabled&lt;BR /&gt;1974 unsigned int nand_sections = mtd_writesize(md) &amp;gt;&amp;gt; 9;&lt;BR /&gt;1975 unsigned int nand_oob_per_section = ((mtd_oobsize(md) / nand_sections) &amp;gt;&amp;gt; 1) &amp;lt;&amp;lt; 1; &amp;nbsp; &amp;nbsp;// figure out how many byte in one sections, note this is freescale own&amp;nbsp;define-nation&amp;nbsp;&amp;nbsp;&lt;BR /&gt;1976 unsigned int nand_trunks = mtd_writesize(md) / (512 + nand_oob_per_section);&lt;BR /&gt;1977 fcb-&amp;gt;FCB_Block.m_u32DISBBM = 1;&lt;BR /&gt;1978 fcb-&amp;gt;FCB_Block.m_u32BadBlockMarkerByte =&lt;BR /&gt;1979 mtd_writesize(md) - nand_trunks * nand_oob_per_section; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//this is freescale NFC bad block marker byte position &amp;nbsp;&lt;BR /&gt;1980 &lt;BR /&gt;1981 fcb-&amp;gt;FCB_Block.m_u32BBMarkerPhysicalOffsetInSpareData&lt;BR /&gt;1982 = (nand_sections - 1) * (512 + nand_oob_per_section) + 512 + 1;&lt;BR /&gt;1983 }&lt;/P&gt;&lt;P&gt;For detail , pls read the kobs-ng source file mtd.c ,&amp;nbsp;v2_rom_mtd_init , etc,&amp;nbsp;note for different chip this code will be different&lt;/P&gt;&lt;P&gt;Peng Fushi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2011 03:03:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183149#M8119</guid>
      <dc:creator>fushi_peng</dc:creator>
      <dc:date>2011-11-08T03:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183150#M8120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 13:25:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183150#M8120</guid>
      <dc:creator>PlartiNuhtl</dc:creator>
      <dc:date>2011-12-01T13:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183151#M8121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Peng, &lt;BR /&gt; I'm facing a problem when doing kob-ng u-boot on same board (imx53) with different nand chipset.&lt;/P&gt;&lt;P&gt;there was no problem with kobs-ng 10.11.01 with micron nand.&lt;/P&gt;&lt;P&gt;but than we changed the nand with samsung k9k8g08 u0d.&lt;/P&gt;&lt;P&gt;Now in my mfg tool,it wont boot with older kobs-ng.&lt;/P&gt;&lt;P&gt;So we tried it with newer one(kobs-ng11.01.00).&lt;/P&gt;&lt;P&gt;With new kobs-ng,we get to boot when we flash u-boot(mtd0) in the last in ucl.xml file(after kernel(mtd1) and android(mtd2) image.)&lt;/P&gt;&lt;P&gt;If we flash u-boot using kobs-ng before kernel,u-boot will boot fine,but than we get checksum error on kernel(bad data CRC.)&lt;/P&gt;&lt;P&gt;Do we need to change anything in mtd.c at bi_swap calculation?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suvir&lt;BR /&gt; &lt;CITE&gt;Peng Fushi said:&lt;/CITE&gt;&lt;/P&gt;&lt;BLOCKQUOTE cite="http://imxcommunity.org/forum/topics/i-mx53-nand-fcb?commentId=4103961%3AComment%3A43102#4103961Comment43102"&gt;&lt;DIV&gt;&lt;DIV class="xg_user_generated"&gt;&lt;P&gt;this code is from kobs-ng package in LTIB &amp;nbsp;:&lt;BR /&gt; 1973 if (plat_config_data-&amp;gt;m_u32EnDISBBM) { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //if the bad block marker swap enabled&lt;BR /&gt; 1974 unsigned int nand_sections = mtd_writesize(md) &amp;gt;&amp;gt; 9;&lt;BR /&gt; 1975 unsigned int nand_oob_per_section = ((mtd_oobsize(md) / nand_sections) &amp;gt;&amp;gt; 1) 1; &amp;nbsp; &amp;nbsp;// figure out how many byte in one sections, note this is freescale own&amp;nbsp;define-nation&amp;nbsp;&amp;nbsp;&lt;BR /&gt; 1976 unsigned int nand_trunks = mtd_writesize(md) / (512 + nand_oob_per_section);&lt;BR /&gt; 1977 fcb-&amp;gt;FCB_Block.m_u32DISBBM = 1;&lt;BR /&gt; 1978 fcb-&amp;gt;FCB_Block.m_u32BadBlockMarkerByte =&lt;BR /&gt; 1979 mtd_writesize(md) - nand_trunks * nand_oob_per_section; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//this is freescale NFC bad block marker byte position &amp;nbsp;&lt;BR /&gt; 1980 &lt;BR /&gt; 1981 fcb-&amp;gt;FCB_Block.m_u32BBMarkerPhysicalOffsetInSpareData&lt;BR /&gt; 1982 = (nand_sections - 1) * (512 + nand_oob_per_section) + 512 + 1;&lt;BR /&gt; 1983 }&lt;/P&gt;&lt;P&gt;For detail , pls read the kobs-ng source file mtd.c ,&amp;nbsp;v2_rom_mtd_init , etc,&amp;nbsp;note for different chip this code will be different&lt;/P&gt;&lt;P&gt;Peng Fushi&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 10:07:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183151#M8121</guid>
      <dc:creator>hitlin37</dc:creator>
      <dc:date>2012-02-29T10:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX53 NAND FCB</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183152#M8122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where to find a RECENT kobs-ng source ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm was using kobs-ng-11.01.00 but there seem to be a lof of bugs into this version .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(uboot image is written 'strange' offsets due to uninitialezed variables ..&amp;nbsp; DDBT not initialized correctly... etc....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Noel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2012 11:56:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX53-NAND-FCB/m-p/183152#M8122</guid>
      <dc:creator>Noel_V</dc:creator>
      <dc:date>2012-06-20T11:56:52Z</dc:date>
    </item>
  </channel>
</rss>

