<?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: Mfg-tools burning nandflash failure</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879376#M133343</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Bad block table found at page 524032, version 0x01&lt;BR /&gt;Bad block table found at page 523776, version 0x01&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b400000&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b600000&lt;BR /&gt;5 cmdlinepart partitions found on MTD device gpmi-nand&lt;BR /&gt;Creating 5 MTD partitions on "gpmi-nand":&lt;BR /&gt;0x000000000000-0x000004000000 : "boot"&lt;BR /&gt;0x000004000000-0x000005000000 : "kernel"&lt;BR /&gt;0x000005000000-0x000006000000 : "dtb"&lt;BR /&gt;0x000006000000-0x000006100000 : "misc"&lt;BR /&gt;mtd: partition "misc" doesn't end on an erase block -- force read-only&lt;BR /&gt;0x000006100000-0x000100000000 : "rootfs"&lt;BR /&gt;mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only&lt;BR /&gt;gpmi-nand 1806000.gpmi-nand: driver registered.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found these msg. and in the uboot env&amp;nbsp;:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),1m(misc),-(rootfs)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Partitions should be integers of erasable block size&lt;/STRONG&gt;(分区应该是可擦出块大小的整数倍)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2019 10:16:19 GMT</pubDate>
    <dc:creator>zhangbin_eos</dc:creator>
    <dc:date>2019-03-08T10:16:19Z</dc:date>
    <item>
      <title>Mfg-tools burning nandflash failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879373#M133340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I refer to &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-236994"&gt;How-To use NAND boot on i.MX6UL EVK board&lt;/A&gt;&amp;nbsp;and solder U302 NAND FLASH on EVK board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;NAND FLASH is&amp;nbsp;MT29F32G08CBADBWP-12IT:D (Same as on the schematic )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;I downloaded L4.1.15_2.0.0-ga_mfg-tools.tar.gz,and run the `mfgtool2-yocto-mx-evk-nand.vbs`,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;U-Boot 2016.03-imx_v2016.03_4.1.15_2.0.0_ga+g0ec2a01 (Sep 16 2016 - 18:36:22 -0500)&lt;/P&gt;&lt;P&gt;CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz)&lt;BR /&gt;CPU: Industrial temperature grade (-40C to 105C) at 43C&lt;BR /&gt;Reset cause: POR&lt;BR /&gt;Board: MX6UL 14x14 EVK&lt;BR /&gt;I2C: ready&lt;BR /&gt;DRAM: 512 MiB&lt;BR /&gt;force_idle_bus: sda=1 scl=0 sda.gp=0x1d scl.gp=0x1c&lt;BR /&gt;MMC: FSL_SDHC: 0, FSL_SDHC: 1&lt;BR /&gt;SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff&lt;BR /&gt;*** Warning - spi_flash_probe() failed, using default environment&lt;/P&gt;&lt;P&gt;Display: TFT43AB (480x272)&lt;BR /&gt;Video: 480x272x24&lt;BR /&gt;In: serial&lt;BR /&gt;Out: serial&lt;BR /&gt;Err: serial&lt;BR /&gt;Net: FEC1&lt;BR /&gt;Boot from USB for mfgtools&lt;BR /&gt;Use default environment for mfgtools&lt;BR /&gt;Run bootcmd_mfg: run mfgtool_args;bootz ${loadaddr} ${initrd_addr} ${fdt_addr};&lt;BR /&gt;Hit any key to stop autoboot: 0 &lt;BR /&gt;Kernel image @ 0x80800000 [ 0x000000 - 0x554130 ]&lt;BR /&gt;## Loading init Ramdisk from Legacy Image at 83800000 ...&lt;BR /&gt; Image Name: fsl-image-mfgtool-initramfs-imx6&lt;BR /&gt; Image Type: ARM Linux RAMDisk Image (gzip compressed)&lt;BR /&gt; Data Size: 8591032 Bytes = 8.2 MiB&lt;BR /&gt; Load Address: 00000000&lt;BR /&gt; Entry Point: 00000000&lt;BR /&gt; Verifying Checksum ... OK&lt;BR /&gt;## Flattened Device Tree blob at 83000000&lt;BR /&gt; Booting using the fdt blob at 0x83000000&lt;BR /&gt; Using Device Tree in place at 83000000, end 8300beef&lt;BR /&gt;Modify /soc/aips-bus@02000000/bee@02044000:status disabled&lt;BR /&gt;ft_system_setup for mx6&lt;/P&gt;&lt;P&gt;.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;brd: module loaded&lt;BR /&gt;loop: module loaded&lt;BR /&gt;nand: device found, Manufacturer ID: 0x2c, Chip ID: 0x44&lt;BR /&gt;nand: Micron MT29F32G08CBADBWP&lt;BR /&gt;nand: 4096 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 744&lt;BR /&gt;gpmi-nand 1806000.gpmi-nand: enable the asynchronous EDO mode 5&lt;BR /&gt;Bad block table found at page 524032, version 0x01&lt;BR /&gt;Bad block table found at page 523776, version 0x01&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b400000&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b600000&lt;BR /&gt;gpmi-nand 1806000.gpmi-nand: driver registered.&lt;BR /&gt;20b4000.ethernet supply phy not found, using dummy regulator&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UTP: received command '$ mount -t debugfs debugfs /sys/kernel/debug'&lt;BR /&gt;UTP: executing "mount -t debugfs debugfs /sys/kernel/debug"&lt;BR /&gt;UTP: sending Success to kernel for command $ mount -t debugfs debugfs /sys/kernel/debug.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command '$ flash_erase /dev/mtd0 0 0'&lt;BR /&gt;UTP: executing "flash_erase /dev/mtd0 0 0"&lt;BR /&gt;Erasing 2048 Kibyte @ b200000 -- 4 % complete flash_erase: Skipping bad block at 0b400000&lt;BR /&gt;flash_erase: Skipping bad block at 0b600000&lt;BR /&gt;Erasing 2048 Kibyte @ 65800000 -- 39 % random: nonblocking pool is initialized&lt;BR /&gt;Erasing 2048 Kibyte @ ff600000 -- 99 % complete flash_erase: Skipping bad block at ff800000&lt;BR /&gt;flash_erase: Skipping bad block at ffa00000&lt;BR /&gt;flash_erase: Skipping bad block at ffc00000&lt;BR /&gt;flash_erase: Skipping bad block at ffe00000&lt;BR /&gt;Erasing 2048 Kibyte @ ffe00000 -- 100 % complete &lt;BR /&gt;UTP: sending Success to kernel for command $ flash_erase /dev/mtd0 0 0.&lt;BR /&gt;utp_poll: pass returned.&lt;BR /&gt;UTP: received command 'send'&lt;BR /&gt;UTP: sending Success to kernel for command send.&lt;BR /&gt;UTP: received command '$ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE'&lt;BR /&gt;UTP: executing "kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE"&lt;BR /&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;BR /&gt; -- We add the 1k-padding to the uboot.&lt;BR /&gt;.tmp_kobs_ng: verifying using key '00000000000000000000000000000000'&lt;BR /&gt;.tmp_kobs_ng: is a valid bootstream for key '00000000000000000000000000000000'&lt;BR /&gt;mtd: use new bch layout raw access mode&lt;BR /&gt;mtd: opening: "/dev/mtd0"&lt;BR /&gt;NFC geometry :&lt;BR /&gt; ECC Strength : 40&lt;BR /&gt; Page Size in Bytes : 8762&lt;BR /&gt; Metadata size : 10&lt;BR /&gt; ECC Chunk Size in byte : 1024&lt;BR /&gt; ECC Chunk count : 8&lt;BR /&gt; Block Mark Byte Offset : 7692&lt;BR /&gt; Block Mark Bit Offset : 0&lt;BR /&gt;====================================================&lt;BR /&gt;mtd: opened '/dev/mtd0' - '(null)'&lt;BR /&gt;mtd: mtd size too small&lt;BR /&gt;mtd_init failed!&lt;BR /&gt;UTP: sending Non-success to kernel for command $ kobs-ng init -x -v --chip_0_device_path=/dev/mtd0 $FILE.&lt;BR /&gt;utp_poll: exit with status 1280&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Can't&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mfgtool2-yocto-mx-evk-nand.vbs&amp;nbsp;&lt;/SPAN&gt; in &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;L4.1.15_2.0.0-ga_mfg-tools&lt;/SPAN&gt;&amp;nbsp;be used directly?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 06:28:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879373#M133340</guid>
      <dc:creator>zhangbin_eos</dc:creator>
      <dc:date>2019-03-08T06:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mfg-tools burning nandflash failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879374#M133341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi 斌 张&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems mentioned link produced files for L3.14.38&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/?h=imx_3.14.38_6ul_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/?h=imx_3.14.38_6ul_ga"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2015.04_3.14.38_6ul_ga" title="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6ul_14x14_evk.h?h=imx_v2015.04_3.14.38_6ul_ga"&gt;uboot-imx.git - Freescale i.MX u-boot Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so one can compare mx6ul_14x14_evk_nand_defconfig, mx6ul_14x14_evk.h&lt;/P&gt;&lt;P&gt;with original ones and make the same changes for &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;L4.1.15_2.0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=nxp/imx_v2016.03_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/uboot-imx/tree/include/configs/mx6ul_14x14_evk.h?h=nxp/imx_v2016.03_4.1.15_2.0.0_ga"&gt;mx6ul_14x14_evk.h\configs\include - uboot-imx - i.MX U-Boot&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.1.15_2.0.0_ga" title="https://source.codeaurora.org/external/imx/linux-imx/tree/?h=imx_4.1.15_2.0.0_ga"&gt;linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then perform steps described as "&lt;STRONG&gt;Software Modification&lt;/STRONG&gt;" for &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;L4.1.15_2.0&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;so new u-boot-imx6ulevk_nand.imx, zImage-imx6ul-14x14-evk-gpmi-weim.dtb&lt;/P&gt;&lt;P&gt;(for &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;L4.1.15_2.0&lt;/SPAN&gt;&lt;/SPAN&gt;) were generated and copied to MFGTOOL\Profiles..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:09:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879374#M133341</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-03-08T10:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: Mfg-tools burning nandflash failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879375#M133342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;I replace the &lt;STRONG&gt;Profiles\Linux\OS Firmware\firmware\u-boot-imx6ul14x14evk_nand.imx,&amp;nbsp;&lt;/STRONG&gt;then&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mfg-tools can burn the uboot and kernel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;But&amp;nbsp;burnning the rootfs to NAND&amp;nbsp; is faile&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;UTP: received command '$ flash_erase /dev/mtd3 0 0'&lt;BR /&gt;UTP: executing "flash_erase /dev/mtd3 0 0"&lt;BR /&gt;flash_erase: error!: /dev/mtd3&lt;BR /&gt; error 13 (Permission denied)&lt;BR /&gt;UTP: sending Non-success to kernel for command $ flash_erase /dev/mtd3 0 0.&lt;BR /&gt;utp_poll: exit with status 65280&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;and I change the&amp;nbsp;mfgtool2-yocto-mx-evk-nand.vbs :&amp;nbsp;&amp;nbsp;""part_rootfs=4"" , no better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879375#M133342</guid>
      <dc:creator>zhangbin_eos</dc:creator>
      <dc:date>2019-03-08T10:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: Mfg-tools burning nandflash failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879376#M133343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Bad block table found at page 524032, version 0x01&lt;BR /&gt;Bad block table found at page 523776, version 0x01&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b400000&lt;BR /&gt;nand_read_bbt: bad block at 0x00000b600000&lt;BR /&gt;5 cmdlinepart partitions found on MTD device gpmi-nand&lt;BR /&gt;Creating 5 MTD partitions on "gpmi-nand":&lt;BR /&gt;0x000000000000-0x000004000000 : "boot"&lt;BR /&gt;0x000004000000-0x000005000000 : "kernel"&lt;BR /&gt;0x000005000000-0x000006000000 : "dtb"&lt;BR /&gt;0x000006000000-0x000006100000 : "misc"&lt;BR /&gt;mtd: partition "misc" doesn't end on an erase block -- force read-only&lt;BR /&gt;0x000006100000-0x000100000000 : "rootfs"&lt;BR /&gt;mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only&lt;BR /&gt;gpmi-nand 1806000.gpmi-nand: driver registered.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I found these msg. and in the uboot env&amp;nbsp;:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),1m(misc),-(rootfs)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Partitions should be integers of erasable block size&lt;/STRONG&gt;(分区应该是可擦出块大小的整数倍)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879376#M133343</guid>
      <dc:creator>zhangbin_eos</dc:creator>
      <dc:date>2019-03-08T10:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Mfg-tools burning nandflash failure</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879377#M133344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hi,igor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Thank you very much.&amp;nbsp;I'm going to screenshot to make sure I don't forget it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2019 10:19:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Mfg-tools-burning-nandflash-failure/m-p/879377#M133344</guid>
      <dc:creator>zhangbin_eos</dc:creator>
      <dc:date>2019-03-08T10:19:40Z</dc:date>
    </item>
  </channel>
</rss>

