<?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のトピックimx6q ecspi flash boot</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-ecspi-flash-boot/m-p/673362#M103749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;i burn the u-boot.imx(verified on board by mfgtool) to flash by command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;dd if=u-boot.imx of=/dev/mtdblock0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;it return right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;then at u-boot shell, i use fuse comand to burn the efuse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;fuse prog 0 0 5 28000030&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;fuse prog 0 0 6 00000010&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;It means use ECSPI1 SS2 to boot and set&amp;nbsp;BT_FUSE_SEL to 1。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the chip boot from ecsp1 now. i watched the right read timing on ecspi1 pins by&amp;nbsp;Oscilloscope. it fetchs 4-kbytes from ecspi flash and i verified the data is right.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the following is the descripion from "IMX6DQPRM.pdf":&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The boot ROM will copy 4Kbyte of data from Serial ROM device to internal RAM. After&lt;BR /&gt;checking the Image Vector Table header value (0xD1) from Program Image, the ROM&lt;BR /&gt;code performs a DCD check. After successful DCD extraction, the ROM code extracts&lt;BR /&gt;from Boot Data Structure the destination pointer and length of image to be copied to&lt;BR /&gt;RAM device from where code execution occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the first byte of u-boot.imx is 0xd1 for the IVT header. up to now, it seems all right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Then&amp;nbsp;&lt;SPAN&gt;the ROM&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;code performs a DCD check.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;but i don't find any output on console and mfgtool find a hid-compliance device. &amp;nbsp;it seems u-boot hang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;so it maybe hang at DCD check?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&lt;SPAN&gt;what's a right DCD? what's the requirement for DCD? is there length limitation for DCD?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Jun 2017 11:39:33 GMT</pubDate>
    <dc:creator>jameshe1</dc:creator>
    <dc:date>2017-06-02T11:39:33Z</dc:date>
    <item>
      <title>imx6q ecspi flash boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-ecspi-flash-boot/m-p/673362#M103749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;i burn the u-boot.imx(verified on board by mfgtool) to flash by command:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;dd if=u-boot.imx of=/dev/mtdblock0&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;it return right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;then at u-boot shell, i use fuse comand to burn the efuse.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;fuse prog 0 0 5 28000030&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;fuse prog 0 0 6 00000010&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;It means use ECSPI1 SS2 to boot and set&amp;nbsp;BT_FUSE_SEL to 1。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the chip boot from ecsp1 now. i watched the right read timing on ecspi1 pins by&amp;nbsp;Oscilloscope. it fetchs 4-kbytes from ecspi flash and i verified the data is right.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the following is the descripion from "IMX6DQPRM.pdf":&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The boot ROM will copy 4Kbyte of data from Serial ROM device to internal RAM. After&lt;BR /&gt;checking the Image Vector Table header value (0xD1) from Program Image, the ROM&lt;BR /&gt;code performs a DCD check. After successful DCD extraction, the ROM code extracts&lt;BR /&gt;from Boot Data Structure the destination pointer and length of image to be copied to&lt;BR /&gt;RAM device from where code execution occurs.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;the first byte of u-boot.imx is 0xd1 for the IVT header. up to now, it seems all right.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;Then&amp;nbsp;&lt;SPAN&gt;the ROM&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;code performs a DCD check.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;but i don't find any output on console and mfgtool find a hid-compliance device. &amp;nbsp;it seems u-boot hang.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;so it maybe hang at DCD check?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in; line-height: 13pt; font-family: 'Helvetica Neue'; font-size: 10.5pt; color: #51626f;"&gt;&lt;SPAN style="background: white;"&gt;&lt;SPAN&gt;what's a right DCD? what's the requirement for DCD? is there length limitation for DCD?&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Jun 2017 11:39:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-ecspi-flash-boot/m-p/673362#M103749</guid>
      <dc:creator>jameshe1</dc:creator>
      <dc:date>2017-06-02T11:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: imx6q ecspi flash boot</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6q-ecspi-flash-boot/m-p/673363#M103750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can try procedure described in attached Linux Guide&lt;/P&gt;&lt;P&gt;sect.4.3.4 Copying a bootloader image. After boot fail attach the board with any&lt;/P&gt;&lt;P&gt;JTAG debugger, such as RV-ICE or Lauterbach and dump 0x907400 (ROM uses&lt;/P&gt;&lt;P&gt;0x907000 as starting address), you should see your IVT header here if the access is ok.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fthread%2F307723" rel="nofollow" target="_blank"&gt;https://community.freescale.com/thread/307723&lt;/A&gt;&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, 02 Jun 2017 23:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6q-ecspi-flash-boot/m-p/673363#M103750</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-06-02T23:28:54Z</dc:date>
    </item>
  </channel>
</rss>

