<?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のトピックNAND boot in IMX7D</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692805#M107398</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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;On default i.MX7D sabreSD board, does not have NAND flash. &amp;nbsp;So we mounted MT29F32G08CBADB 4GB nand in the device footprint. After adding NAND support in linux kernel and u-boot, I am able to detect, read and write to the NAND flash. Now I want to boot from this NAND flash. For this I am trying to flash the u-boot to NAND flash using below command in kernel.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;kobs-ng init -x -v /boot/u-boot.imx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But I am getting below error.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;root@imx7:~# kobs-ng init -x -v&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;unable to create a temporary file&lt;BR /&gt;root@esomimx7:~# kobs-ng init -x -v u-boot&lt;BR /&gt;u-boot-nand.imx u-boot.imx &lt;BR /&gt;root@esomimx7:~# kobs-ng init -x -v u-boot.imx &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;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I referred &amp;nbsp;this &amp;nbsp;&lt;A href="https://community.nxp.com/thread/430107"&gt;https://community.nxp.com/thread/430107&lt;/A&gt;&amp;nbsp;&amp;nbsp;link with similar issue. But that solution was not help full for me. Can anyone help me on this issue? Also May I know how to flash to NAND using MFG tool? Is there any other support to be added for this too? Your suggestions are greatly appreciated.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Gopinath S&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 07:12:10 GMT</pubDate>
    <dc:creator>gopinathsriniva</dc:creator>
    <dc:date>2017-08-03T07:12:10Z</dc:date>
    <item>
      <title>NAND boot in IMX7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692805#M107398</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 style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;On default i.MX7D sabreSD board, does not have NAND flash. &amp;nbsp;So we mounted MT29F32G08CBADB 4GB nand in the device footprint. After adding NAND support in linux kernel and u-boot, I am able to detect, read and write to the NAND flash. Now I want to boot from this NAND flash. For this I am trying to flash the u-boot to NAND flash using below command in kernel.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;STRONG&gt;kobs-ng init -x -v /boot/u-boot.imx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;But I am getting below error.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;root@imx7:~# kobs-ng init -x -v&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;unable to create a temporary file&lt;BR /&gt;root@esomimx7:~# kobs-ng init -x -v u-boot&lt;BR /&gt;u-boot-nand.imx u-boot.imx &lt;BR /&gt;root@esomimx7:~# kobs-ng init -x -v u-boot.imx &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;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;I referred &amp;nbsp;this &amp;nbsp;&lt;A href="https://community.nxp.com/thread/430107"&gt;https://community.nxp.com/thread/430107&lt;/A&gt;&amp;nbsp;&amp;nbsp;link with similar issue. But that solution was not help full for me. Can anyone help me on this issue? Also May I know how to flash to NAND using MFG tool? Is there any other support to be added for this too? Your suggestions are greatly appreciated.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Gopinath S&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:12:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692805#M107398</guid>
      <dc:creator>gopinathsriniva</dc:creator>
      <dc:date>2017-08-03T07:12:10Z</dc:date>
    </item>
    <item>
      <title>Re: NAND boot in IMX7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692806#M107399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopinath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please use mfg tools for programming bootable nand image,&lt;/P&gt;&lt;P&gt;use mfgtool2-yocto-mx-sabresd-nand.vbs script.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=IMX6_L4-1-15_2-0-0_MFG-TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=IMX6_L4-1-15_2-0-0_MFG-TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=IMX6_L4-1-15_2-0-0_MFG-TOOL&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=13376…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;one can try with Demo Images&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_iMX7D&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_iMX7D&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.nxp.com/webapp/Download?colCode=L4.1.15_2.0.0_iMX7D&amp;amp;appType=license&amp;amp;location=null&amp;amp;Parent_nodeId=1337699481071…&lt;/A&gt;&amp;nbsp;&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>Thu, 03 Aug 2017 10:26:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692806#M107399</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-08-03T10:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: NAND boot in IMX7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692807#M107400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You for your reply. &amp;nbsp;I can flash the demo images from that&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;mfgtool2-yocto-mx-sabresd-nand.vbs script. I have other two questions.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;1. After I flashed using MFG tools, how can I update u-boot or zimage or dtb alone from the&amp;nbsp;u-boot itself ? &amp;nbsp;For example, In case of eMMC and SD I can copy the files to boot partition using &lt;STRONG&gt;ums&lt;/STRONG&gt; command. I guess here&amp;nbsp;need to use "nand write" command. But not sure about the offset details. Can you please give me the steps for this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;2. How can I build the mfg tool u-boot, kernel and dtb images by myself? Also is this MFG tool binaries vary for each boot device?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Gopinath&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 12:15:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692807#M107400</guid>
      <dc:creator>gopinathsriniva</dc:creator>
      <dc:date>2017-08-03T12:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: NAND boot in IMX7D</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692808#M107401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gopinath&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for uboot nand commands one can look at denx help: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.denx.de%2Fwiki%2FDULG%2FUBootCmdGroupNand" rel="nofollow" target="_blank"&gt;https://www.denx.de/wiki/DULG/UBootCmdGroupNand&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or for example: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fvariwiki.com%2Findex.php%3Ftitle%3DVAR-SOM-MX6_NAND_Flash_Burning_Jethro" rel="nofollow" target="_blank"&gt;http://variwiki.com/index.php?title=VAR-SOM-MX6_NAND_Flash_Burning_Jethro&lt;/A&gt;&lt;BR /&gt;for building mfg tool u-boot, kernel and dtb images one can follow attached Yocto Guide&lt;BR /&gt;sect.6.2 Manufacturing Tool, MFGTool&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 23:23:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NAND-boot-in-IMX7D/m-p/692808#M107401</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-08-03T23:23:45Z</dc:date>
    </item>
  </channel>
</rss>

