<?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: NAND Boot Attempt: &amp;quot;No BCB&amp;quot; Error 0x80508001 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185703#M8694</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the MT29F16G08ABACAWP-IT:C and I cannot boot from NAND.&amp;nbsp; The very same board can boot with the MT29F02G08ABABAWP-IT with different settings on the GPIO's.&amp;nbsp; We know that this isn't a board issue since we can talk to the NAND and pull the kernel from the NAND once we have booted the RAM version of u-boot via the mfgtool.&amp;nbsp; We have verified the FCB, DBBT, and the DCD prefixed U-boot.&amp;nbsp; We have double and triple checked the GPIO settings and we believe there are no issues, but we still cannot boot.&amp;nbsp; To get the NAND programmed with the correct FCB and DBBT we had to make some changes to kobs-ng.&amp;nbsp; There were a bunch of constants within kobs-ng (instead of reading the values from the NAND config and setting the appropriate variables) that were set incorrectly.&amp;nbsp; There is some concern, though that we are setting the incorrect ECC settings.&amp;nbsp; The Micron part is 4k + 224 bytes with an ECC of 8bits.&amp;nbsp; In one section of the manual, it doesn't show direct support for that particular ECC settings.&amp;nbsp; The user manual states 4k + 218bytes with ECC of 8bits.&amp;nbsp; Further within the manual they state that 4k + 224bytes is supported via the 4k + 218 settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share with me what you set the GPIO settings to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Background Info&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NAND Device:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 GiB 8-bit MLC NAND (MicronMT29F16G08ABACA)&lt;/LI&gt;&lt;LI&gt;Page size:&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; 4096 + 224&lt;/LI&gt;&lt;LI&gt;Block size:&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; 128 pages&lt;/LI&gt;&lt;LI&gt;Device size:&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; 4096 blocks (16GiB)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;GPIO Pin Settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; BOOT_CFG1[7] ==&amp;gt; "1" boot from nand&lt;BR /&gt;BOOT_CFG1[6] ==&amp;gt; "0" PATA pads&lt;BR /&gt;BOOT_CFG1[5:4] ==&amp;gt; "00" No interleaving&lt;BR /&gt;BOOT_CFG1[3:2] ==&amp;gt; "10" 5 address cycles&lt;BR /&gt;BOOT_CFG2[7:6] ==&amp;gt; "11" 4KBytes + 218 the NAND chips has 224 but this option is not available&lt;BR /&gt;BOOT_CFG2[5] ==&amp;gt; "0"&amp;nbsp; 8 bit bus width&lt;BR /&gt;BOOT_CFG2[5] ==&amp;gt; "1" AXI DDR divide by 28&lt;BR /&gt;BOOT_CFG3[7] ==&amp;gt; "0" 1 block&lt;BR /&gt;BOOT_CFG3[6] ==&amp;gt; "0" Non LBA&lt;BR /&gt;BOOT_CFG3[5] ==&amp;gt; "1" Use R/B signal&lt;BR /&gt;BOOT_CFG3[4:3] ==&amp;gt; "00" ECC 8 bits&lt;BR /&gt;BOOT_CFG3[2:1] ==&amp;gt; "10" 128 pages in block&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 16:28:31 GMT</pubDate>
    <dc:creator>DougMartens</dc:creator>
    <dc:date>2013-05-28T16:28:31Z</dc:date>
    <item>
      <title>NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185690#M8681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To IMX Community:&lt;/P&gt;&lt;P&gt;I am trying to boot Linux 2.6.35.3 (FSL 10.12.01 BSP) on i.MX28 EVK Rev D from NAND, with UBIFS root FS on NAND.&amp;nbsp; I am getting immediate &lt;SPAN style="text-decoration: underline;"&gt;0x80508001 error on boot attempt&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Background Info&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NAND Device:&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;32 GiB 8-bit MLC NAND (MicronMT29F32G08CBACA)&lt;/LI&gt;&lt;LI&gt;Page size:&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; 4096 + 224&lt;/LI&gt;&lt;LI&gt;Block size:&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; 256 pages (1 MiB + 56 KiB)&lt;/LI&gt;&lt;LI&gt;Device size:&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; 4096 blocks (32GiB)&lt;/LI&gt;&lt;LI&gt;UBIFS PEB size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024 KiB (1,048,576 bytes)&lt;/LI&gt;&lt;LI&gt;UBIFS LEB size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;1024 KiB - 2 * 4 KiB = 1016 KiB (1,040,384 bytes)&lt;/LI&gt;&lt;LI&gt;&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;&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; (256pages - 2 pages UBI overhead) * 4096 = 1,040,384 bytes&lt;/LI&gt;&lt;LI&gt;Max PEB count:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;4095 (4096 blocks - 1 for overhead)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I modified kernel MTD driver files (nand_ids.c, nand_device_info.c, nand_base.c, gpmi-nfc-hal-common.c) to support this NAND device.&amp;nbsp; &lt;SPAN style="text-decoration: underline;"&gt;Device is recognized during EVK NFS boot&lt;/SPAN&gt; and parameters are as intended.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;UBIFS for root FS seems to be working fine&lt;/SPAN&gt; using ".img" file generated by LTIB.&amp;nbsp; (Flashed using NFS rootfs export from dev host.)&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From LTIB dir:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cp rootfs ubifs.img.rootfs /tmp&lt;/LI&gt;&lt;LI&gt;From EVK debug:&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;ubiformat /dev/mtd1 -e 0 -f /tmp/rootfs.ubifs.img&lt;/LI&gt;&lt;LI&gt;To check, from EVK debug (just to observe files):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;ubiattach /dev/ubi_ctrl -m1&lt;/LI&gt;&lt;LI&gt;mkdir /mnt/ubifs&lt;/LI&gt;&lt;LI&gt;mount -t ubifs ubi0:rootfs /mnt/ubifs&lt;/LI&gt;&lt;LI&gt;ls -l /mnt/ubifs&lt;/LI&gt;&lt;LI&gt;umount /mnt/ubifs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I prepare &lt;SPAN style="text-decoration: underline;"&gt;NAND boot partition&lt;/SPAN&gt; as follows:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;From LTIB dir:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /ltib -p boot_stream.spec -f&lt;/LI&gt;&lt;LI&gt;From EVK debug:&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; flash_eraseall/dev/mtd0&lt;/LI&gt;&lt;LI&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kobs-ng init /boot/imx28_ivt_linux.sb&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I set EVK boot switches for NAND and attempt to boot EVK.&amp;nbsp;&lt;SPAN style="text-decoration: underline;"&gt;On EVK debug I&amp;nbsp;get immediate "0x80508001&lt;/SPAN&gt;", and nothing else.&amp;nbsp; From documentation this is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x80508001&amp;nbsp;&amp;nbsp;&amp;nbsp; ERROR_ROM_NAND_DRIVER_NO_BCB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unable to find one of the Boot Control Blocks (FCB or DBBT)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Troubleshooting:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Extracted 'kobs-ng-11.03.00' package from i.MX53 'L2.6.35_11.03_ER_source_bundle.tar.gz'.&amp;nbsp;&lt;BR /&gt;Required minor change to 'discover_boot_rom_version()' in 'main.c' to detect i.MX28, but exactly same results using 'init'.&lt;/LI&gt;&lt;LI&gt;Wrote EVK test program to read and analyze NAND boot partition /dev/mtd0:&lt;/LI&gt;&lt;/OL&gt;&lt;UL&gt;&lt;LI&gt;Detected 4 FCB's at expected address offsets for "stride" parameter&lt;/LI&gt;&lt;LI&gt;Verified checksum for FCB's&lt;/LI&gt;&lt;LI&gt;Verified Hamming SEC-DED 8 data + 5 parity for 512-byte FCB page&lt;/LI&gt;&lt;LI&gt;Detected 4 DBBT's at expected address offsets for "stride" parameter&lt;/LI&gt;&lt;LI&gt;Verified checksum for DBBT's&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Observations:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If I attempt to boot from NAND with erased /dev/mtd0, I get same 0x80508001 error&lt;/LI&gt;&lt;LI&gt;If I attempt to boot with no NAND device, I get 0x80508002 error&amp;nbsp;ERROR_ROM_NAND_DRIVER_NO_FCB ("Unable to find FCB")&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Questions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Does anyone have details on i.MX boot ROM conditions for generating 0x80508001 error?&lt;/LI&gt;&lt;LI&gt;Does anyone have any later kobs-ng patches that address this issue?&amp;nbsp; (It needs a lot of work, e.g., neither "dump" or "extract" work for i.MX28)&lt;/LI&gt;&lt;LI&gt;Does anyone have any other ideas or information regarding debugging this error code?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Nov 2011 21:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185690#M8681</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2011-11-10T21:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185691#M8682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you take a hexdump of /dev/mtd0 and put it here as zipped attachment? First 1MB should be fine I guess...&lt;/P&gt;&lt;P&gt;br,&lt;/P&gt;&lt;P&gt;Vladan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 20:24:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185691#M8682</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-11-11T20:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185692#M8683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladan:&lt;/P&gt;&lt;P&gt;Thanks for looking at this.&amp;nbsp; Here is the hexdump.&amp;nbsp; I had to dump 2MiB to get all 4 FCB's + all 4 DBBT's.&amp;nbsp; I used this command:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hexdump -C -n&amp;nbsp;2097152 /dev/mtd0 &amp;gt; hexdump-dev-mtd0-2M.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 21:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185692#M8683</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2011-11-11T21:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185693#M8684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vladan:&lt;/P&gt;&lt;P&gt;Looking at the hexdump you requested, I see a problem in the FCB blocks.&amp;nbsp; At the beginning of each FCB page, there should be 12 zero bytes, followed by&amp;nbsp;a&amp;nbsp;4-byte&amp;nbsp;checksum, followed by the "FCB " tag.&amp;nbsp; For all 4 FCB's shown in the dump, there are only 2 zero bytes, not 12:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From 'hexdump':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000000&amp;nbsp; 00 00 f7 fb ff ff 46 43&amp;nbsp; 42 20 00 00 00 01 50 3c&amp;nbsp; |......FCB ....P&amp;lt;|&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00000010&amp;nbsp; 19 06 00 00 00 00 00 10&amp;nbsp; 00 00 e0 10 00 00 00 01&amp;nbsp; |................|&lt;/P&gt;&lt;P&gt;Inside "kobs-ng init", however, dumping the raw buffer that is written to '/dev/mtd0' shows that the 12 zero bytes are present:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; After fcb_encrypt():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0xf7 0xfb 0xff 0xff&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x46 0x43 0x42 0x20 0x00 0x00 0x00 0x01&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x50 0x3c 0x19 0x06 0x00 0x00 0x00 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd: erasing @0:0x0-0x100000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd: Writing FCB0 @0:0x0(10e0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; After pwrite():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0xf7 0xfb 0xff 0xff&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x46 0x43 0x42 0x20 0x00 0x00 0x00 0x01&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x50 0x3c 0x19 0x06 0x00 0x00 0x00 0x00&lt;/P&gt;&lt;P&gt;This pattern is not observed for the "DBBT" blocks, however, and all 12 zero bytes are observed in both the hexdump and in the buffer dump within kobs-ng:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; From 'hexdump':&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00100000&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; 00 00 00 00 e2 fe ff ff&amp;nbsp; |................|&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00100010&amp;nbsp; 44 42 42 54 00 00 00 01&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; |DBBT............|&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00100020&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; 00 00 00 00 00 00 00 00&amp;nbsp; |................|&lt;/P&gt;&lt;P&gt;Inside "kobs-ng init" dumping the raw buffer that is written to '/dev/mtd0' shows that the 12 zero bytes are present:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd: erasing @0:0x100000-0x100000&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mtd: Writing DBBT0 @0:0x100000(1000)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; After pwrite():&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0xe2 0xfe 0xff 0xff&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x44 0x42 0x42 0x54 0x00 0x00 0x00 0x01&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00&lt;/P&gt;&lt;P&gt;&amp;nbsp;At this point, I have no idea why the 10 zero bytes are missing from the beginning of each FCB, but you have triggered a new insight into my problem and opened a new avenue of attack.&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 22:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185693#M8684</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2011-11-11T22:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185694#M8685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find out what went wrong here? It does look like an error in how data is written, but where did it come from - bug in kobs-ng for that particular NAND configuration or something else?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 08:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185694#M8685</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-11-17T08:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185695#M8686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done a little more investigation and experimentation, but still no success.&amp;nbsp; I even tried inserting the missing 10 zero bytes at the beginning of each FCB page.&amp;nbsp; This makes the hexdump appear correct, but I still get the immediate 0x80508001 error on a NAND boot attempt.&amp;nbsp; What I really need to know is what are the specific conditions within the boot ROM code that generate this error, or what conditions must be met to make it past this error.&amp;nbsp; I have had to pursue other things, but I will be returning to this soon.&amp;nbsp; Any information would be helpful.&amp;nbsp; I am considering obtaining a different NAND device to try, hopefully a part that is already present in the kernel NAND tables.&amp;nbsp; The 32 GiB part I am using is really larger than I need, which is something like 4 GiB.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your followup,&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 15:31:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185695#M8686</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2011-11-17T15:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185696#M8687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you also attach output of kobs-ng as it formats the NAND? You mention you take kobs-ng from 11.03 release for i.MX53. Have you tried using kobs-ng from 10.12.01 release for i.MX28?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 16:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185696#M8687</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2011-11-17T16:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185697#M8688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get the same results using kobs-ng from the i.MX28 10.12.01 release as from the i.MX53 11.03 release.&amp;nbsp; I just tried the latter as an experiment.&amp;nbsp; The output listed below is from the i.MX28 10.12.01 version, unmodified, with the "-v" option.&lt;/P&gt;&lt;P&gt;================================================&lt;/P&gt;&lt;P&gt;FYI, here is the output from the "NAND Scan" dring kernel booting:&lt;/P&gt;&lt;P&gt;Scanning for NAND Flash chips...&lt;BR /&gt;nand_get_flash_type ##### Micron MT29F32G08CBACA detected! #####&lt;BR /&gt;NAND device: Manufacturer ID: 0x2c, Chip ID: 0x68 (Micron NAND 512MiB 3,3V 8-bit&lt;BR /&gt;)&lt;BR /&gt;-----------------------------&lt;BR /&gt;NAND Flash Device Information&lt;BR /&gt;-----------------------------&lt;BR /&gt;Manufacturer&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Micron (0x2c)&lt;BR /&gt;Device Code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0x68&lt;BR /&gt;Cell Technology&amp;nbsp;&amp;nbsp; : MLC&lt;BR /&gt;Chip Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4 GiB&lt;BR /&gt;Pages per Block&amp;nbsp;&amp;nbsp; : 256&lt;BR /&gt;Page Geometry&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4096+224&lt;BR /&gt;ECC Strength&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 16 bits&lt;BR /&gt;ECC Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 512 B&lt;BR /&gt;Data Setup Time&amp;nbsp;&amp;nbsp; : 15 ns&lt;BR /&gt;Data Hold Time&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10 ns&lt;BR /&gt;Address Setup Time: 20 ns&lt;BR /&gt;GPMI Sample Delay : 6 ns&lt;BR /&gt;tREA&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; : 20 ns&lt;BR /&gt;tRLOH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 5 ns&lt;BR /&gt;tRHOH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 15 ns&lt;BR /&gt;Description&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : MT29F32G08CBABA (4GB, 1CE); MT29F32G08CBACA (4GB, 1CE); MT29&lt;BR /&gt;F64G08CEABA (8GB, 2CE); MT29F64G08CFABA (8GB, 2CE)&lt;BR /&gt;-----------------&lt;BR /&gt;Physical Geometry&lt;BR /&gt;-----------------&lt;BR /&gt;Chip Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;BR /&gt;Page Data Size in Bytes: 4096 (0x1000)&lt;BR /&gt;Page OOB Size in Bytes : 224&lt;BR /&gt;Block Size in Bytes&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1048576 (0x100000)&lt;BR /&gt;Block Size in Pages&amp;nbsp;&amp;nbsp;&amp;nbsp; : 256 (0x100)&lt;BR /&gt;Chip Size in Bytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4294967296 (0x100000000)&lt;BR /&gt;Chip Size in Pages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1048576 (0x100000)&lt;BR /&gt;Chip Size in Blocks&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4096 (0x1000)&lt;BR /&gt;Medium Size in Bytes&amp;nbsp;&amp;nbsp; : 4294967296 (0x100000000)&lt;BR /&gt;------------&lt;BR /&gt;NFC Geometry&lt;BR /&gt;------------&lt;BR /&gt;ECC Algorithm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : BCH&lt;BR /&gt;ECC Strength&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 16&lt;BR /&gt;Page Size in Bytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4320&lt;BR /&gt;Metadata Size in Bytes : 10&lt;BR /&gt;ECC Chunk Size in Bytes: 512&lt;BR /&gt;ECC Chunk Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 8&lt;BR /&gt;Payload Size in Bytes&amp;nbsp; : 4096&lt;BR /&gt;Auxiliary Size in Bytes: 20&lt;BR /&gt;Auxiliary Status Offset: 12&lt;BR /&gt;Block Mark Byte Offset : 3904&lt;BR /&gt;Block Mark Bit Offset&amp;nbsp; : 0&lt;BR /&gt;-----------------&lt;BR /&gt;Boot ROM Geometry&lt;BR /&gt;-----------------&lt;BR /&gt;Boot Area Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;BR /&gt;Boot Area Size in Bytes&amp;nbsp;&amp;nbsp;&amp;nbsp; : 20971520 (0x1400000)&lt;BR /&gt;Stride Size in Pages&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 64&lt;BR /&gt;Search Area Stride Exponent: 2&lt;BR /&gt;Scanning device for bad blocks&lt;BR /&gt;Bad eraseblock 90 at 0x000005a00000&lt;BR /&gt;Bad eraseblock 91 at 0x000005b00000&lt;BR /&gt;Bad eraseblock 2350 at 0x000092e00000&lt;BR /&gt;Bad eraseblock 3721 at 0x0000e8900000&lt;BR /&gt;Boot area protection is enabled.&lt;BR /&gt;Creating 2 MTD partitions on "gpmi-nfc-main":&lt;BR /&gt;0x000000000000-0x000001400000 : "gpmi-nfc-0-boot"&lt;BR /&gt;0x000001400000-0x000100000000 : "gpmi-nfc-general-use"&lt;BR /&gt;Creating 2 MTD partitions on "gpmi-nfc-general-use":&lt;BR /&gt;0x000000000000-0x000080000000 : "gpmi-nfc-ubi-0"&lt;BR /&gt;0x000080000000-0x0000fec00000 : "gpmi-nfc-ubi-1"&lt;/P&gt;&lt;P&gt;================================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is the output from flashing the NAND boot partition:&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@imx28evk"&gt;root@imx28evk&lt;/A&gt; ~$ kobs-ng init -v /boot/imx28_ivt_linux.sb&lt;BR /&gt;WARNING: Parameter 'chip_count' is no longer used, ignoring&lt;BR /&gt;MTD CONFIG:&lt;BR /&gt;&amp;nbsp; chip_0_device_path = "/dev/mtd0"&lt;BR /&gt;&amp;nbsp; chip_1_device_path = "(null)"&lt;BR /&gt;&amp;nbsp; search_exponent = 2&lt;BR /&gt;&amp;nbsp; data_setup_time = 80&lt;BR /&gt;&amp;nbsp; data_hold_time = 60&lt;BR /&gt;&amp;nbsp; address_setup_time = 25&lt;BR /&gt;&amp;nbsp; data_sample_time = 6&lt;BR /&gt;&amp;nbsp; row_address_size = 3&lt;BR /&gt;&amp;nbsp; column_address_size = 2&lt;BR /&gt;&amp;nbsp; read_command_code1 = 0&lt;BR /&gt;&amp;nbsp; read_command_code2 = 48&lt;BR /&gt;&amp;nbsp; boot_stream_major_version = 1&lt;BR /&gt;&amp;nbsp; boot_stream_minor_version = 0&lt;BR /&gt;&amp;nbsp; boot_stream_sub_version = 0&lt;BR /&gt;&amp;nbsp; ncb_version = 3&lt;BR /&gt;&amp;nbsp; boot_stream_1_address = 0&lt;BR /&gt;&amp;nbsp; boot_stream_2_address = 22020096&lt;BR /&gt;/boot/imx28_ivt_linux.sb: verifying using key '00000000000000000000000000000000'&lt;/P&gt;&lt;P&gt;boot image header:&lt;BR /&gt;&amp;nbsp; m_digest = dbd32a21925cd39866991c8645489b1140f5beca&lt;BR /&gt;&amp;nbsp; m_signature = STMP&lt;BR /&gt;&amp;nbsp; m_majorVersion = 1&lt;BR /&gt;&amp;nbsp; m_minorVersion = 1&lt;BR /&gt;&amp;nbsp; m_flags = ROM_DISPLAY_PROGRESS (1)&lt;BR /&gt;&amp;nbsp; m_imageBlocks = 158823&lt;BR /&gt;&amp;nbsp; m_firstBootTagBlock = 9&lt;BR /&gt;&amp;nbsp; m_firstBootableSectionID = 0&lt;BR /&gt;&amp;nbsp; m_keyCount = 1&lt;BR /&gt;&amp;nbsp; m_keyDictionaryBlock = 7&lt;BR /&gt;&amp;nbsp; m_headerBlocks = 6&lt;BR /&gt;&amp;nbsp; m_sectionCount = 1&lt;BR /&gt;&amp;nbsp; m_sectionHeaderSize = 1&lt;BR /&gt;&amp;nbsp; m_timestamp = Thu Nov 17 12:48:46 2011&lt;BR /&gt;&amp;nbsp; m_productVersion.m_major = 0x9909&lt;BR /&gt;&amp;nbsp; m_productVersion.m_minor = 0x9909&lt;BR /&gt;&amp;nbsp; m_productVersion.m_revision = 0x9909&lt;BR /&gt;&amp;nbsp; m_componentVersion.m_major = 0x9909&lt;BR /&gt;&amp;nbsp; m_componentVersion.m_minor = 0x9909&lt;BR /&gt;&amp;nbsp; m_componentVersion.m_revision = 0x9909&lt;BR /&gt;&amp;nbsp; m_driveTag = 0&lt;BR /&gt;* Using user supplied key='00000000000000000000000000000000'&lt;BR /&gt;section header #0:&lt;BR /&gt;&amp;nbsp; m_identifier = 0&lt;BR /&gt;&amp;nbsp; m_offset = 10&lt;BR /&gt;&amp;nbsp; m_length = 158811&lt;BR /&gt;&amp;nbsp; m_flags = ROM_SECTION_BOOTABLE (0x1)&lt;BR /&gt;* calculated-mac = ec09ba86b06b388e489db43c4e422096&lt;BR /&gt;dek dictionary entry #0:&lt;BR /&gt;&amp;nbsp; m_mac = ec09ba86b06b388e489db43c4e422096&lt;BR /&gt;&amp;nbsp; m_dek = 38fef40f4f646906803f669f30034bcd&lt;BR /&gt;* Key matched at #0&lt;BR /&gt;* session_key = 205c6c61d6a9d94053bdbaff83d3d19c&lt;BR /&gt;LOAD m_address=0x00000000 m_count=0x00000dcc&lt;BR /&gt;LOAD m_address=0x00000dcc m_count=0x00000348&lt;BR /&gt;LOAD m_address=0x00001114 m_count=0x0000004c&lt;BR /&gt;LOAD m_address=0x00001160 m_count=0x00000084&lt;BR /&gt;LOAD m_address=0x000011e4 m_count=0x000000a0&lt;BR /&gt;LOAD m_address=0x00001284 m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x000012a8 m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x000012cc m_count=0x00000008&lt;BR /&gt;LOAD m_address=0x000012d4 m_count=0x00000010&lt;BR /&gt;LOAD m_address=0x000012e4 m_count=0x0000006c&lt;BR /&gt;LOAD m_address=0x00001350 m_count=0x0000007c&lt;BR /&gt;LOAD m_address=0x000013cc m_count=0x0000000c&lt;BR /&gt;LOAD m_address=0x000013d8 m_count=0x00000064&lt;BR /&gt;LOAD m_address=0x0000143c m_count=0x00000050&lt;BR /&gt;LOAD m_address=0x0000148c m_count=0x00000134&lt;BR /&gt;LOAD m_address=0x000015c0 m_count=0x00000050&lt;BR /&gt;LOAD m_address=0x00001610 m_count=0x00000144&lt;BR /&gt;LOAD m_address=0x00001754 m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x00001784 m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x000017b4 m_count=0x0000005c&lt;BR /&gt;LOAD m_address=0x00001810 m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x00001840 m_count=0x000000c0&lt;BR /&gt;LOAD m_address=0x00001900 m_count=0x0000005c&lt;BR /&gt;LOAD m_address=0x0000195c m_count=0x00000084&lt;BR /&gt;LOAD m_address=0x000019e0 m_count=0x000000a8&lt;BR /&gt;LOAD m_address=0x00001a88 m_count=0x00000068&lt;BR /&gt;LOAD m_address=0x00001af0 m_count=0x0000001c&lt;BR /&gt;LOAD m_address=0x00001b0c m_count=0x00000028&lt;BR /&gt;LOAD m_address=0x00001b34 m_count=0x0000001c&lt;BR /&gt;LOAD m_address=0x00001b50 m_count=0x00000028&lt;BR /&gt;LOAD m_address=0x00001b78 m_count=0x00000020&lt;BR /&gt;LOAD m_address=0x00001b98 m_count=0x00000140&lt;BR /&gt;LOAD m_address=0x00001cd8 m_count=0x00000034&lt;BR /&gt;LOAD m_address=0x00001d0c m_count=0x00000014&lt;BR /&gt;LOAD m_address=0x00001d20 m_count=0x00000034&lt;BR /&gt;LOAD m_address=0x00001d54 m_count=0x00000014&lt;BR /&gt;LOAD m_address=0x00001d68 m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x00001d98 m_count=0x00000034&lt;BR /&gt;LOAD m_address=0x00001dcc m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x00001dfc m_count=0x00000004&lt;BR /&gt;LOAD m_address=0x00001e00 m_count=0x00000020&lt;BR /&gt;LOAD m_address=0x00001e20 m_count=0x0000003c&lt;BR /&gt;LOAD m_address=0x00001e5c m_count=0x00000014&lt;BR /&gt;LOAD m_address=0x00001e70 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x00001e88 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x00001ea0 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x00001eb8 m_count=0x00000020&lt;BR /&gt;LOAD m_address=0x00001ed8 m_count=0x00000020&lt;BR /&gt;LOAD m_address=0x00001ef8 m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x00001f1c m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x00001f40 m_count=0x00000054&lt;BR /&gt;LOAD m_address=0x00001f94 m_count=0x00000030&lt;BR /&gt;LOAD m_address=0x00001fc4 m_count=0x00000038&lt;BR /&gt;LOAD m_address=0x00001ffc m_count=0x000000dc&lt;BR /&gt;LOAD m_address=0x000020d8 m_count=0x00000068&lt;BR /&gt;LOAD m_address=0x00002140 m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x00002164 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x0000217c m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x000021a0 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x000021b8 m_count=0x00000024&lt;BR /&gt;LOAD m_address=0x000021dc m_count=0x00000008&lt;BR /&gt;LOAD m_address=0x000021e4 m_count=0x00000018&lt;BR /&gt;LOAD m_address=0x000021fc m_count=0x00000028&lt;BR /&gt;LOAD m_address=0x00002224 m_count=0x0000000c&lt;BR /&gt;LOAD m_address=0x00002230 m_count=0x000000d8&lt;BR /&gt;LOAD m_address=0x00002308 m_count=0x0000001c&lt;BR /&gt;LOAD m_address=0x00002324 m_count=0x00000164&lt;BR /&gt;LOAD m_address=0x00002488 m_count=0x00000078&lt;BR /&gt;LOAD m_address=0x00002500 m_count=0x00000064&lt;BR /&gt;LOAD m_address=0x00002564 m_count=0x00000038&lt;BR /&gt;LOAD m_address=0x0000259c m_count=0x00000008&lt;BR /&gt;LOAD m_address=0x000025a4 m_count=0x000000bc&lt;BR /&gt;LOAD m_address=0x00002660 m_count=0x0000008c&lt;BR /&gt;LOAD m_address=0x000026ec m_count=0x000000b0&lt;BR /&gt;LOAD m_address=0x0000279c m_count=0x00000010&lt;BR /&gt;LOAD m_address=0x000027ac m_count=0x00000048&lt;BR /&gt;LOAD m_address=0x000027f4 m_count=0x0000002c&lt;BR /&gt;LOAD m_address=0x00002820 m_count=0x00000005&lt;BR /&gt;FILL m_address=0x00002828 m_count=0x00000024 m_data=0x00000000&lt;BR /&gt;LOAD m_address=0x00008000 m_count=0x00000020&lt;BR /&gt;CALL m_address=0x00008000 m_data=0x00000000&lt;BR /&gt;LOAD m_address=0x00000000 m_count=0x000018a4&lt;BR /&gt;LOAD m_address=0x000018a4 m_count=0x000000f4&lt;BR /&gt;LOAD m_address=0x00008000 m_count=0x00000020&lt;BR /&gt;CALL m_address=0x00008000 m_data=0x00000000&lt;BR /&gt;LOAD m_address=0x00002000 m_count=0x00000144&lt;BR /&gt;LOAD m_address=0x00002160 m_count=0x0000073c&lt;BR /&gt;LOAD m_address=0x000028a0 m_count=0x00000004&lt;BR /&gt;LOAD m_address=0x000028c0 m_count=0x00000008&lt;BR /&gt;LOAD m_address=0x000028c8 m_count=0x00000028&lt;BR /&gt;LOAD m_address=0x00002900 m_count=0x0000019c&lt;BR /&gt;LOAD m_address=0x00002aa0 m_count=0x000000a8&lt;BR /&gt;FILL m_address=0x00002b60 m_count=0x00000014 m_data=0x00000000&lt;BR /&gt;LOAD m_address=0x00008000 m_count=0x00000020&lt;BR /&gt;CALL m_address=0x00008000 m_data=0x00000000&lt;BR /&gt;LOAD m_address=0x40008000 m_count=0x00267008&lt;BR /&gt;LOAD m_address=0x00008000 m_count=0x00000020&lt;BR /&gt;JUMP m_address=0x00008000 m_data=0x00000000&lt;BR /&gt;* read SHA1 = 7020718ff6dc7a53e7ce926ef819003ddb2d19c4&lt;BR /&gt;* calc SHA1 = 7020718ff6dc7a53e7ce926ef819003ddb2d19c4&lt;BR /&gt;/boot/imx28_ivt_linux.sb: is a valid bootstream for key '00000000000000000000000&lt;BR /&gt;000000000'&lt;BR /&gt;mtd: opening: "/dev/mtd0"&lt;BR /&gt;NFC Geometry&lt;BR /&gt;&amp;nbsp; ECC Algorithm&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : BCH&lt;BR /&gt;&amp;nbsp; ECC Strength&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 16&lt;BR /&gt;&amp;nbsp; Page Size in Bytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4320&lt;BR /&gt;&amp;nbsp; Metadata Size in Bytes : 10&lt;BR /&gt;&amp;nbsp; ECC Chunk Size in Bytes: 512&lt;BR /&gt;&amp;nbsp; ECC Chunk Count&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 8&lt;BR /&gt;&amp;nbsp; Payload Size in Bytes&amp;nbsp; : 4096&lt;BR /&gt;&amp;nbsp; Auxiliary Size in Bytes: 20&lt;BR /&gt;&amp;nbsp; Auxiliary Status Offset: 12&lt;BR /&gt;&amp;nbsp; Block Mark Byte Offset : 3904&lt;BR /&gt;&amp;nbsp; Block Mark Bit Offset&amp;nbsp; : 0&lt;BR /&gt;mtd: opened '/dev/mtd0' - '(null)'&lt;BR /&gt;mtd: max_boot_stream_size_in_bytes = 9437184&lt;BR /&gt;mtd: boot_stream_size_in_bytes = 2541168&lt;BR /&gt;mtd: #1 0x00200000 - 0x00b00000 (0x0046c670)&lt;BR /&gt;mtd: #2 0x00b00000 - 0x01400000 (0x00d6c670)&lt;BR /&gt;&amp;nbsp; m_u32Checksum = 0&lt;BR /&gt;&amp;nbsp; m_u32FingerPrint = 541213510&lt;BR /&gt;&amp;nbsp; m_u32Version = 16777216&lt;BR /&gt;FCB&lt;BR /&gt;&amp;nbsp; m_NANDTiming.m_u8DataSetup = 80&lt;BR /&gt;&amp;nbsp; m_NANDTiming.m_u8DataHold = 60&lt;BR /&gt;&amp;nbsp; m_NANDTiming.m_u8AddressSetup = 25&lt;BR /&gt;&amp;nbsp; m_NANDTiming.m_u8DSAMPLE_TIME = 6&lt;BR /&gt;&amp;nbsp; m_u32DataPageSize = 4096&lt;BR /&gt;&amp;nbsp; m_u32TotalPageSize = 4320&lt;BR /&gt;&amp;nbsp; m_u32SectorsPerBlock = 256&lt;BR /&gt;&amp;nbsp; m_u32NumberOfNANDs = 0&lt;BR /&gt;&amp;nbsp; m_u32TotalInternalDie = 0&lt;BR /&gt;&amp;nbsp; m_u32CellType = 0&lt;BR /&gt;&amp;nbsp; m_u32EccBlockNEccType = 0&lt;BR /&gt;&amp;nbsp; m_u32EccBlock0Size = 512&lt;BR /&gt;&amp;nbsp; m_u32EccBlockNSize = 512&lt;BR /&gt;&amp;nbsp; m_u32EccBlock0EccType = 0&lt;BR /&gt;&amp;nbsp; m_u32MetadataBytes = 10&lt;BR /&gt;&amp;nbsp; m_u32NumEccBlocksPerPage = 7&lt;BR /&gt;&amp;nbsp; m_u32EccBlockNEccLevelSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32EccBlock0SizeSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32EccBlockNSizeSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32EccBlock0EccLevelSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32NumEccBlocksPerPageSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32MetadataBytesSDK = 0&lt;BR /&gt;&amp;nbsp; m_u32EraseThreshold = 0&lt;BR /&gt;&amp;nbsp; m_u32BootPatch = 0&lt;BR /&gt;&amp;nbsp; m_u32PatchSectors = 0&lt;BR /&gt;&amp;nbsp; m_u32Firmware1_startingSector = 512&lt;BR /&gt;&amp;nbsp; m_u32Firmware2_startingSector = 2816&lt;BR /&gt;&amp;nbsp; m_u32SectorsInFirmware1 = 621&lt;BR /&gt;&amp;nbsp; m_u32SectorsInFirmware2 = 621&lt;BR /&gt;&amp;nbsp; m_u32DBBTSearchAreaStartAddress = 256&lt;BR /&gt;&amp;nbsp; m_u32BadBlockMarkerByte = 3904&lt;BR /&gt;&amp;nbsp; m_u32BadBlockMarkerStartBit = 0&lt;BR /&gt;&amp;nbsp; m_u32BBMarkerPhysicalOffset = 4096&lt;BR /&gt;&amp;nbsp; m_u32NumberBB = 102317136&lt;BR /&gt;&amp;nbsp; m_u32Number2KPagesBB = 0&lt;BR /&gt;Firmware: image #0 @ 0x200000 size 0x26d000 - available 0x900000&lt;BR /&gt;Firmware: image #1 @ 0xb00000 size 0x26d000 - available 0x900000&lt;BR /&gt;NCB versions differ, 3 is used.&lt;BR /&gt;mtd: erasing @0:0x0-0x100000&lt;BR /&gt;mtd: Writing FCB0 @0:0x0(10e0)&lt;BR /&gt;mtd: Writing FCB1 @0:0x40000(10e0)&lt;BR /&gt;mtd: Writing FCB2 @0:0x80000(10e0)&lt;BR /&gt;mtd: Writing FCB3 @0:0xc0000(10e0)&lt;BR /&gt;mtd: erasing @0:0x0-0x100000&lt;BR /&gt;mtd: Writing FCB0 @0:0x0(10e0)&lt;BR /&gt;mtd: Writing FCB1 @0:0x40000(10e0)&lt;BR /&gt;mtd: Writing FCB2 @0:0x80000(10e0)&lt;BR /&gt;mtd: Writing FCB3 @0:0xc0000(10e0)&lt;BR /&gt;mtd_commit_bcb(FCB): status 0&lt;BR /&gt;mtd: erasing @0:0x100000-0x100000&lt;BR /&gt;mtd: Writing DBBT0 @0:0x100000(1000)&lt;BR /&gt;mtd: Writing DBBT1 @0:0x140000(1000)&lt;BR /&gt;mtd: Writing DBBT2 @0:0x180000(1000)&lt;BR /&gt;mtd: Writing DBBT3 @0:0x1c0000(1000)&lt;BR /&gt;mtd: erasing @0:0x100000-0x100000&lt;BR /&gt;mtd: Writing DBBT0 @0:0x100000(1000)&lt;BR /&gt;mtd: Writing DBBT1 @0:0x140000(1000)&lt;BR /&gt;mtd: Writing DBBT2 @0:0x180000(1000)&lt;BR /&gt;mtd: Writing DBBT3 @0:0x1c0000(1000)&lt;BR /&gt;mtd_commit_bcb(DBBT): status 0&lt;BR /&gt;mtd: Writting firmware image #0 @0: 0x00200000 - 0x0046d000&lt;BR /&gt;mtd: erasing @0:0x200000-0x100000&lt;BR /&gt;mtd: erasing @0:0x300000-0x100000&lt;BR /&gt;mtd: erasing @0:0x400000-0x100000&lt;BR /&gt;mtd: Writting firmware image #1 @0: 0x00b00000 - 0x00d6d000&lt;BR /&gt;mtd: erasing @0:0xb00000-0x100000&lt;BR /&gt;mtd: erasing @0:0xc00000-0x100000&lt;BR /&gt;mtd: erasing @0:0xd00000-0x100000&lt;BR /&gt;&lt;A href="mailto:root@imx28evk"&gt;root@imx28evk&lt;/A&gt; ~$&lt;/P&gt;&lt;P&gt;================================================&lt;/P&gt;&lt;P&gt;Here is a dump of the first 32 bytes of '/dev/mtd0', with only 2 '0x00' bytes before the start of the checksum instead of the correct 12 bytes:&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@imx28evk"&gt;root@imx28evk&lt;/A&gt; ~$ hexdump -C -n 32 /dev/mtd0&lt;BR /&gt;00000000&amp;nbsp; 00 00 07 fc ff ff 46 43&amp;nbsp; 42 20 00 00 00 01 50 3c&amp;nbsp; |......FCB ....P&amp;lt;|&lt;BR /&gt;00000010&amp;nbsp; 19 06 00 00 00 00 00 10&amp;nbsp; 00 00 e0 10 00 00 00 01&amp;nbsp; |................|&lt;BR /&gt;00000020&lt;BR /&gt;================================================&lt;/P&gt;&lt;P&gt;Finally, here is the error I receive when I power down from NFS boot+root fs, reset the EVK boot switches, then attempt to boot from NAND:&lt;/P&gt;&lt;P&gt;The system is going down NOW!&lt;BR /&gt;Sent SIGTERM to all processes&lt;BR /&gt;Sent SIGKILL to all processes&lt;BR /&gt;Power down.&lt;BR /&gt;HW_RTC_PERSISTENT0 = 0x220100&lt;BR /&gt;HW_RTC_PERSISTENT0 = 0x200100&lt;BR /&gt;0x80508001&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Darrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2011 19:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185697#M8688</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2011-11-17T19:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185698#M8689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After looking into the issue it seems there's an issue with how ROM code identifies this NAND at boot and then looks for wrong data in the NAND. Detailed description:&lt;/P&gt;&lt;P&gt;This is a known issue with certain ONFI-compatible NANDs and the ROM.&lt;/P&gt;&lt;P&gt;At some point a while back, BA-NANDs were dropped from the ONFI spec. After that, Micron/ONFI made the very poor decision to reuse the "is BA-NAND" bit in the ONFI param page to mean something entirely different. Thus, when the ROM reads the param page on these newer NANDs, it sees what it thinks is the "is BA-NAND" bit set.&lt;/P&gt;&lt;P&gt;There is no workaround except to boot a patch, or to get modified NANDs from Micron that have that bit disabled in the param page.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 09:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185698#M8689</guid>
      <dc:creator>VladanJovanovic</dc:creator>
      <dc:date>2012-05-22T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185699#M8690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Vladan, for the update.&amp;nbsp; I have already moved on to another NAND chip, but it is good to know what was behind my problems.&amp;nbsp; Hopefully it will help someone else to avoid this pitfall.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 13:14:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185699#M8690</guid>
      <dc:creator>dingram1z</dc:creator>
      <dc:date>2012-05-22T13:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185700#M8691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are also using micron MT29F8G08ABABA after downloading the images using mfg tool , after power cycle the board is not at all booting. See our log while downloading the images.&lt;/P&gt;&lt;P&gt;UTP: received command '$ kobs-ng init -v --chip_0_device_path=/dev/mtd0 $FILE'&lt;BR /&gt;UTP: executing "kobs-ng init -v --chip_0_device_path=/dev/mtd0 $FILE"&lt;/P&gt;&lt;P&gt;MTD CONFIG:&lt;BR /&gt;chip_0_device_path = "/dev/mtd0"&lt;BR /&gt;chip_1_device_path = "(null)"&lt;BR /&gt;search_exponent = 2&lt;BR /&gt;data_setup_time = 80&lt;BR /&gt;data_hold_time = 60&lt;BR /&gt;address_setup_time = 25&lt;BR /&gt;data_sample_time = 6&lt;BR /&gt;row_address_size = 3&lt;BR /&gt;column_address_size = 2&lt;BR /&gt;read_command_code1 = 0&lt;BR /&gt;read_command_code2 = 48&lt;BR /&gt;boot_stream_major_version = 1&lt;BR /&gt;boot_stream_minor_version = 0&lt;BR /&gt;boot_stream_sub_version = 0&lt;BR /&gt;ncb_version = 3&lt;BR /&gt;boot_stream_1_address = 0&lt;BR /&gt;boot_stream_2_address = 0&lt;/P&gt;&lt;P&gt;/tmp/file.utp: verifying using key '00000000000000000000000000000000'&lt;BR /&gt;/tmp/file.utp: is a valid bootstream for key '00000000000000000000000000000000'&lt;/P&gt;&lt;P&gt;mtd: opening: "/dev/mtd0"&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x400000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1000000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1080000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1100000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1180000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1200000 (MTD)&lt;BR /&gt;mtd: '/dev/mtd0' bad block @ 0x1280000 (MTD)&lt;/P&gt;&lt;P&gt;mtd: opened '/dev/mtd0' - '(null)'&lt;BR /&gt;mtd: max_boot_stream_size_in_bytes = 8388608&lt;BR /&gt;mtd: boot_stream_size_in_bytes = 219148&lt;BR /&gt;mtd: #1 0x00400000 - 0x00c00000 (0x0043580c)&lt;BR /&gt;mtd: #2 0x00c00000 - 0x01400000 (0x00c3580c)&lt;/P&gt;&lt;P&gt;FCB&lt;BR /&gt;m_u32Checksum = 0&lt;BR /&gt;m_u32FingerPrint = 541213510&lt;BR /&gt;m_u32Version = 1&lt;BR /&gt;m_NANDTiming.m_u8DataSetup = 0&lt;BR /&gt;m_NANDTiming.m_u8DataHold = 0&lt;BR /&gt;m_NANDTiming.m_u8AddressSetup = 0&lt;BR /&gt;m_NANDTiming.m_u8DSAMPLE_TIME = 0&lt;BR /&gt;m_u32PageDataSize = 0&lt;BR /&gt;m_u32TotalPageSize = 0&lt;BR /&gt;m_u32SectorsPerBlock = 0&lt;BR /&gt;m_u32NumberOfNANDs = 0&lt;BR /&gt;m_u32TotalInternalDie = 0&lt;BR /&gt;m_u32CellType = 0&lt;BR /&gt;m_u32EccBlockNEccType = 0&lt;BR /&gt;m_u32EccBlock0Size = 0&lt;BR /&gt;m_u32EccBlockNSize = 0&lt;BR /&gt;m_u32EccBlock0EccType = 0&lt;BR /&gt;m_u32MetadataBytes = 0&lt;BR /&gt;m_u32NumEccBlocksPerPage = 0&lt;BR /&gt;m_u32EccBlockNEccLevelSDK = 0&lt;BR /&gt;m_u32EccBlock0SizeSDK = 0&lt;BR /&gt;m_u32EccBlockNSizeSDK = 0&lt;BR /&gt;m_u32EccBlock0EccLevelSDK = 0&lt;BR /&gt;m_u32NumEccBlocksPerPageSDK = 0&lt;BR /&gt;m_u32MetadataBytesSDK = 0&lt;BR /&gt;m_u32EraseThreshold = 0&lt;BR /&gt;m_u32BootPatch = 0&lt;BR /&gt;m_u32PatchSectors = 0&lt;BR /&gt;m_u32Firmware1_startingPage = 1024&lt;BR /&gt;m_u32Firmware2_startingPage = 3072&lt;BR /&gt;m_u32PagesInFirmware1 = 54&lt;BR /&gt;m_u32PagesInFirmware2 = 54&lt;BR /&gt;m_u32DBBTSearchAreaStartAddress = 512&lt;BR /&gt;m_u32BadBlockMarkerByte = 0&lt;BR /&gt;m_u32BadBlockMarkerStartBit = 0&lt;BR /&gt;m_u32BBMarkerPhysicalOffset = 0&lt;BR /&gt;DBBT&lt;BR /&gt;m_u32Checksum = 0&lt;BR /&gt;m_u32FingerPrint = 1413628484&lt;BR /&gt;m_u32Version = 1&lt;BR /&gt;m_u32NumberBB = 7&lt;BR /&gt;m_u32Number2KPagesBB = 1&lt;/P&gt;&lt;P&gt;Firmware: image #0 @ 0x0 size 0x0 - available 0x0&lt;BR /&gt;Firmware: image #1 @ 0x0 size 0x0 - available 0x1400000&lt;/P&gt;&lt;P&gt;nand_erase_nand: attempt to erase a bad block at page 0x00000080&lt;BR /&gt;nand_erase_nand: attempt to erase a bad block at page 0x00000100&lt;BR /&gt;nand_erase_nand: attempt to erase a bad block at page 0x00000180&lt;/P&gt;&lt;P&gt;-------------- Start to write the [ FCB ] -----&lt;BR /&gt;mtd: erasing @0:0x0-0x80000&lt;BR /&gt;mtd: device 0 fails MEMERASE (0x0 - 0x80000)&lt;BR /&gt;mtd: Failed to erase block @0x0&lt;BR /&gt;mtd: Writing FCB1 [ @0:0x40000 ] (1000) *&lt;BR /&gt;mtd: erasing @0:0x80000-0x100000&lt;BR /&gt;mtd: device 0 fails MEMERASE (0x80000 - 0x80000)&lt;BR /&gt;mtd: Failed to erase block @0x80000&lt;BR /&gt;mtd: Writing FCB3 [ @0:0xc0000 ] (1000) *&lt;BR /&gt;mtd_commit_bcb(FCB): status 2&lt;/P&gt;&lt;P&gt;-------------- Start to write the [ DBBT ] -----&lt;BR /&gt;mtd: erasing @0:0x100000-0x180000&lt;BR /&gt;mtd: device 0 fails MEMERASE (0x100000 - 0x80000)&lt;BR /&gt;mtd: Failed to erase block @0x100000&lt;BR /&gt;mtd: Writing DBBT1 [ @0:0x140000 ] (1000) *&lt;BR /&gt;mtd: erasing @0:0x180000-0x200000&lt;BR /&gt;mtd: device 0 fails MEMERASE (0x180000 - 0x80000)&lt;BR /&gt;mtd: Failed to erase block @0x180000&lt;BR /&gt;mtd: Writing DBBT3 [ @0:0x1c0000 ] (1000) *&lt;BR /&gt;mtd_commit_bcb(DBBT): status 2&lt;/P&gt;&lt;P&gt;mtd: PUTTING down DBBT0 BBTN0 @0x204000 (0x1000)&lt;BR /&gt;mtd: PUTTING down DBBT1 BBTN0 @0x284000 (0x1000)&lt;BR /&gt;mtd: PUTTING down DBBT2 BBTN0 @0x304000 (0x1000)&lt;BR /&gt;mtd: PUTTING down DBBT3 BBTN0 @0x384000 (0x1000)&lt;/P&gt;&lt;P&gt;mtd: Writting firmware image #0 @0: 0x00400000 - 0x00436000&lt;BR /&gt;mtd: Skipping bad block at 0x400000&lt;BR /&gt;mtd: erasing @0:0x480000-0x500000&lt;BR /&gt;UTP: sending Success to kernel for command $ kobs-ng init -v --chip_0_device_path=/dev/mtd0 $FILE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 11:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185700#M8691</guid>
      <dc:creator>soban</dc:creator>
      <dc:date>2012-07-17T11:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185701#M8692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this flash&amp;nbsp;&lt;/P&gt;&lt;P&gt;MT29F16G08ABACAWP-IT:C &amp;nbsp; manufactured by Micron&lt;/P&gt;&lt;P&gt;it works for me directly without anyt code or configuration change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2012 22:47:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185701#M8692</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2012-07-17T22:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185702#M8693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the i.mx287 Errata pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TKT140334 ONFI 3.0 NAND boot-up issue&lt;/P&gt;&lt;P data-canvas-width="102.10399999999998" data-font-name="g_font_p0_3" dir="ltr" style="font-size: 16px; font-family: serif;"&gt;"ROM in existing silicon (TO1.2) supports ONFI BA-NAND boot-up. During boot-up it reads Bit 7 of Byte 6-7 (1=supports Block Abstracted access mode) in ONFI NAND device’s parameter page to determine if the NAND device is ONFI BA-NAND. BA-NAND memory devices are no longer&amp;nbsp; part of the ONFI spec and memory vendors do not support these devices anymore. However in ONFI 3.0 Spec, that bit has been re-used to specify whether the NAND device supports extended parameter page"&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The MT29F32G08CBACA is an ONFI 2.2 device that implements the ONFI 3.0 "Supports extended parameter page" bit and in doing so is in conflict with the i.mx287.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 18:18:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185702#M8693</guid>
      <dc:creator>spearson</dc:creator>
      <dc:date>2013-03-22T18:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185703#M8694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the MT29F16G08ABACAWP-IT:C and I cannot boot from NAND.&amp;nbsp; The very same board can boot with the MT29F02G08ABABAWP-IT with different settings on the GPIO's.&amp;nbsp; We know that this isn't a board issue since we can talk to the NAND and pull the kernel from the NAND once we have booted the RAM version of u-boot via the mfgtool.&amp;nbsp; We have verified the FCB, DBBT, and the DCD prefixed U-boot.&amp;nbsp; We have double and triple checked the GPIO settings and we believe there are no issues, but we still cannot boot.&amp;nbsp; To get the NAND programmed with the correct FCB and DBBT we had to make some changes to kobs-ng.&amp;nbsp; There were a bunch of constants within kobs-ng (instead of reading the values from the NAND config and setting the appropriate variables) that were set incorrectly.&amp;nbsp; There is some concern, though that we are setting the incorrect ECC settings.&amp;nbsp; The Micron part is 4k + 224 bytes with an ECC of 8bits.&amp;nbsp; In one section of the manual, it doesn't show direct support for that particular ECC settings.&amp;nbsp; The user manual states 4k + 218bytes with ECC of 8bits.&amp;nbsp; Further within the manual they state that 4k + 224bytes is supported via the 4k + 218 settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please share with me what you set the GPIO settings to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Background Info&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;NAND Device:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16 GiB 8-bit MLC NAND (MicronMT29F16G08ABACA)&lt;/LI&gt;&lt;LI&gt;Page size:&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; 4096 + 224&lt;/LI&gt;&lt;LI&gt;Block size:&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; 128 pages&lt;/LI&gt;&lt;LI&gt;Device size:&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; 4096 blocks (16GiB)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;GPIO Pin Settings&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; BOOT_CFG1[7] ==&amp;gt; "1" boot from nand&lt;BR /&gt;BOOT_CFG1[6] ==&amp;gt; "0" PATA pads&lt;BR /&gt;BOOT_CFG1[5:4] ==&amp;gt; "00" No interleaving&lt;BR /&gt;BOOT_CFG1[3:2] ==&amp;gt; "10" 5 address cycles&lt;BR /&gt;BOOT_CFG2[7:6] ==&amp;gt; "11" 4KBytes + 218 the NAND chips has 224 but this option is not available&lt;BR /&gt;BOOT_CFG2[5] ==&amp;gt; "0"&amp;nbsp; 8 bit bus width&lt;BR /&gt;BOOT_CFG2[5] ==&amp;gt; "1" AXI DDR divide by 28&lt;BR /&gt;BOOT_CFG3[7] ==&amp;gt; "0" 1 block&lt;BR /&gt;BOOT_CFG3[6] ==&amp;gt; "0" Non LBA&lt;BR /&gt;BOOT_CFG3[5] ==&amp;gt; "1" Use R/B signal&lt;BR /&gt;BOOT_CFG3[4:3] ==&amp;gt; "00" ECC 8 bits&lt;BR /&gt;BOOT_CFG3[2:1] ==&amp;gt; "10" 128 pages in block&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;SPAN class="mce_paste_marker"&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 16:28:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185703#M8694</guid>
      <dc:creator>DougMartens</dc:creator>
      <dc:date>2013-05-28T16:28:31Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185704#M8695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You cannot boot from this device.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) When booting out of NAND flash, the Freescale i.MX287 mask ROM checks the NAND for BA-NAND support. &lt;/P&gt;&lt;P&gt;2) If BA-NAND support is not found, normal booting from NAND @ 0x0000 0000 commences. (good)&lt;/P&gt;&lt;P&gt;3) A chip is thought to be NAND-BA compatible if the Parameter Page 0xEC - Byte 6 - Bit 7 is set. &lt;/P&gt;&lt;P&gt;4) An ONFI 3.0 NAND reuses this bit to indicate whether extended parameter paging is supported. &lt;/P&gt;&lt;P&gt;5) An ONFI 3.0 NAND with parameter paging will hang the i.MX287 boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your MT29F16G08ABACAWP the Parameter Page (0xEC) bit is set (extended parameter page).&amp;nbsp; This means that you cannot boot from this NAND device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I got burned by this too.&amp;nbsp; I had to downgrade to a 1G SLC part to find one with the correct Parameter Page byte setting.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 16:54:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185704#M8695</guid>
      <dc:creator>spearson</dc:creator>
      <dc:date>2013-05-28T16:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185705#M8696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simon,&lt;/P&gt;&lt;P&gt;Sorry actually I should've told you that I am using the iMX536.&amp;nbsp; The Micron MT29F16G08ABACAWP does not have bit 7 set in byte 6.&amp;nbsp; Do you have a different data sheet than I have?&amp;nbsp; My datasheet states Rev. G 5/12.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 18:55:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185705#M8696</guid>
      <dc:creator>DougMartens</dc:creator>
      <dc:date>2013-05-28T18:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: NAND Boot Attempt: "No BCB" Error 0x80508001</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185706#M8697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct, Bye 6-7 is 0x58 so no issue with NAND-BA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 19:10:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-Boot-Attempt-quot-No-BCB-quot-Error-0x80508001/m-p/185706#M8697</guid>
      <dc:creator>spearson</dc:creator>
      <dc:date>2013-05-28T19:10:28Z</dc:date>
    </item>
  </channel>
</rss>

