<?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: Flashing fuses on custom imx6 board in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230008#M17100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it to work flashing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imxotp blow --force 5 0x3040&lt;/P&gt;&lt;P&gt;imxotp blow --force 6 0x10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the u-boot using tables 5-7 and 8-15 in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 18:21:19 GMT</pubDate>
    <dc:creator>kylekenj</dc:creator>
    <dc:date>2013-12-12T18:21:19Z</dc:date>
    <item>
      <title>Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230003#M17095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;We are trying to bring up our custom board (based upon i.MX6 and the SABRE Lite schematic). We have made substantial progress, and have been able to flash to RAM and to the SD card using the mfgtool, but are having trouble now booting off of the SD card (specifically trying to boot off of the SD3 slot). We need to be able to change the boot mode to boot from the sd card.&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our board has pins BOOT_MODE0 and BOOT_MODE1, but no additional pins for setting up boot modes (as are available in the SABRE SD design) without flashing fuses. So our way forward is to flash fuses, but we want to make sure we are doing it correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have found two ways of flashing fuses:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 1 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;From "Manufacturing Tool V2 Quick Start Guide" associated with the mfgtool documents, we found the following three suggested lines of code (to be added to the configuration file ucl2.xml):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Trebuchet MS'; color: #00000a;"&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;lt;CMD state="Updater" type="push" body="$ ls /sys/fsl_otp "&amp;gt;Showing HW_OCOTP fuse bank&amp;lt;/CMD&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Trebuchet MS'; color: #00000a;"&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;lt;CMD state="Updater" type="push" body="$ echo 0x11204154 &amp;gt; /sys/fsl_otp/HW_OCOTP_CFG1"&amp;gt;write 0x11204154 to HW_OCOTP_CFG1 fuse bank&amp;lt;/CMD&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Trebuchet MS'; color: #00000a;"&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;lt;CMD state="Updater" type="push" body="$ cat /sys/fsl_otp/HW_OCOTP_CFG1"&amp;gt;Read value from HW_OCOTP_CFG1 fuse bank&amp;lt;/CMD&amp;gt; &lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 11px; font-family: 'Trebuchet MS'; color: #00000a;"&gt;&lt;STRONG&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NOTE: we believe (and added to the above lines of code) that “HW_OCOTP_CFG1” is the fuse bank we need to change (IMX6DQRM chapter 8 table 8-8.) We also believe that the fuse value is 0x11204154 (according to the same table, based upon the returned cat value on CFG1 fuse bank of 0x112041d4.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Question&lt;/SPAN&gt;: can you confirm this fuse bank and value (HW_OCOTP_CFG1,&amp;nbsp; 0x11204154)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The other option is to use the uboot to flash the fuses. This is done as show on this link &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-95458"&gt;&lt;SPAN style="color: #021eaa;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://community.freescale.com/docs/DOC-95458" target="test_blank"&gt;https://community.freescale.com/docs/DOC-95458&lt;/A&gt;. This link indicates that we should run imxotp from uboot as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imxotp blow [--force] &amp;lt;index&amp;gt; &amp;lt;value&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: the “&amp;lt;index&amp;gt;” is the hex representation for the fuse name. We think that the “&amp;lt;value&amp;gt;” is the fuse value 0x11204154 (also according to Reference Manual, chapter 8 table 8-8).&lt;/P&gt;&lt;P&gt;We do not know the hex value for the “&amp;lt;index&amp;gt;”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;Questions&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;(1) Are we correct in trying thus to change “&amp;lt;index&amp;gt;” and “&amp;lt;value&amp;gt;” in order to boot from the SD card?&lt;/P&gt;&lt;P&gt;(2) Is the fuse value 0x11204154 correct?&lt;/P&gt;&lt;P&gt;(3) Is CFG1 the correct fuse bank for us to use, and if so what is the correct “&amp;lt;index&amp;gt;” hex value?&lt;/P&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 20:32:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230003#M17095</guid>
      <dc:creator>kylekenj</dc:creator>
      <dc:date>2013-11-26T20:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230004#M17096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Kyle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt; I think the fuse you said is incorrect, please double check carefully.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTION1:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I saw from our i.MX6Q SabreSD board, if want to boot from SD3, then below setting is needed:&lt;/P&gt;&lt;P&gt;BT_CFG1_7:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;BT_CFG1_6:&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;BT_CFG1_5:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;BT_CFG1_4:&amp;nbsp; X&lt;/P&gt;&lt;P&gt;BT_CFG2_4:&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;BT_CFG2_3:&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This BT_CFG means BOOT_CFG, in the fuse map, so it should be BOOT_CFG1 and BOOT_CFG2, it should be mapped to address 0x21bc450, but you said HW_OCOTP_CFG1, its address is 0x21bc420, it is for SJC_CHALL/UNIQUE_ID, it is incorrect. Please read 0x21bc450, it should be matching the current boot mode of your board, then try to modify it to SD3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OPTION2:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline;"&gt;Questions&lt;/SPAN&gt;:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(1) Are we correct in trying thus to change “&amp;lt;index&amp;gt;” and “&amp;lt;value&amp;gt;” in order to boot from the SD card?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Anson] Yes, you can just program the fuse using imxotp command in uboot, just make sure the index and value is correct.&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(2) Is the fuse value 0x11204154 correct?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Anson] I don't think so, as the fuse address you read is incorrect, you read OCOTP_CFG1, it is not BOOT_CFG1, you should read 0x21bc450, please double check. You can also get description of OCOTP_CFG1 in RM, 46.4.11, it is not for configuring boot mode!&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(3) Is CFG1 the correct fuse bank for us to use, and if so what is the correct “&amp;lt;index&amp;gt;” hex value?&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[Anson] index means the address minus 0x21bc400, and then divided by 0x10, for example, if the fuse address is 0x21bc450, the offset is '50', so the index is 5, if the address is 0x21bc420, then the index is 2. You can use imxotp read 2 to get the value of 0x21bc420, it should be equal to the value you got from OCOTP_CFG1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 03:20:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230004#M17096</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2013-11-27T03:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230005#M17097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help. Just trying to make sure before I do anything. When I read in index 2 I get the same value as HW_OCOTP_CFG1. Index 5 is the value I should be looking at and there I get a value of 0x0. What should I change the value to? When I look at the RM, 46.4.11 is not there is says to ask a freescale rep for fuse map. Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kyle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 19:53:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230005#M17097</guid>
      <dc:creator>kylekenj</dc:creator>
      <dc:date>2013-11-27T19:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230006#M17098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please use Chapter 5 (Fusemap) of the Reference Manual.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2013 06:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230006#M17098</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-11-28T06:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230007#M17099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the fuse map we flashed 0x104 to index 5. We believe this sets the board to boot off the sd card and port sd3. Are we missing anything and does this sound correct. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Dec 2013 23:34:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230007#M17099</guid>
      <dc:creator>kylekenj</dc:creator>
      <dc:date>2013-12-02T23:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230008#M17100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it to work flashing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imxotp blow --force 5 0x3040&lt;/P&gt;&lt;P&gt;imxotp blow --force 6 0x10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the u-boot using tables 5-7 and 8-15 in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 18:21:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230008#M17100</guid>
      <dc:creator>kylekenj</dc:creator>
      <dc:date>2013-12-12T18:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230009#M17101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you,. what you said is really helpful..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And &lt;/P&gt;&lt;P&gt;From platform-imx-ocotp.c, we have code as follows, but how do we know the relationship between BANK in code and the bank in RM?&lt;/P&gt;&lt;P&gt;Anyway, seems my questioin is answered in this post.&lt;/P&gt;&lt;P&gt;Thank you again.&lt;/P&gt;&lt;P&gt;=============================================================================&lt;/P&gt;&lt;P&gt;#ifdef CONFIG_SOC_IMX6Q&lt;/P&gt;&lt;P&gt;#define BANK(a, b, c, d, e, f, g, h)&amp;nbsp;&amp;nbsp; \&lt;/P&gt;&lt;P&gt;&amp;nbsp; {\&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("HW_OCOTP_"#a), ("HW_OCOTP_"#b), ("HW_OCOTP_"#c), ("HW_OCOTP_"#d), \&lt;/P&gt;&lt;P&gt;&amp;nbsp; ("HW_OCOTP_"#e), ("HW_OCOTP_"#f), ("HW_OCOTP_"#g), ("HW_OCOTP_"#h) \&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#define BANKS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (16)&lt;/P&gt;&lt;P&gt;#define BANK_ITEMS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (8)&lt;/P&gt;&lt;P&gt;static const char *bank_reg_desc[BANKS][BANK_ITEMS] = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(LOCK, CFG0, CFG1, CFG2, CFG3, CFG4, CFG5, CFG6),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(MEM0, MEM1, MEM2, MEM3, MEM4, ANA0, ANA1, ANA2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(OTPMK0, OTPMK1, OTPMK2, OTPMK3, OTPMK4, OTPMK5, OTPMK6, OTPMK7),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(SRK0, SRK1, SRK2, SRK3, SRK4, SRK5, SRK6, SRK7),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(RESP0, HSJC_RESP1, MAC0, MAC1, HDCP_KSV0, HDCP_KSV1, GP1, GP2),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(DTCP_KEY0,&amp;nbsp; DTCP_KEY1,&amp;nbsp; DTCP_KEY2,&amp;nbsp; DTCP_KEY3,&amp;nbsp; DTCP_KEY4,&amp;nbsp; MISC_CONF,&amp;nbsp; FIELD_RETURN, SRK_REVOKE),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY0,&amp;nbsp; HDCP_KEY1,&amp;nbsp; HDCP_KEY2,&amp;nbsp; HDCP_KEY3,&amp;nbsp; HDCP_KEY4,&amp;nbsp; HDCP_KEY5,&amp;nbsp; HDCP_KEY6,&amp;nbsp; HDCP_KEY7),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY8,&amp;nbsp; HDCP_KEY9,&amp;nbsp; HDCP_KEY10, HDCP_KEY11, HDCP_KEY12, HDCP_KEY13, HDCP_KEY14, HDCP_KEY15),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY16, HDCP_KEY17, HDCP_KEY18, HDCP_KEY19, HDCP_KEY20, HDCP_KEY21, HDCP_KEY22, HDCP_KEY23),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY24, HDCP_KEY25, HDCP_KEY26, HDCP_KEY27, HDCP_KEY28, HDCP_KEY29, HDCP_KEY30, HDCP_KEY31),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY32, HDCP_KEY33, HDCP_KEY34, HDCP_KEY35, HDCP_KEY36, HDCP_KEY37, HDCP_KEY38, HDCP_KEY39),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY40, HDCP_KEY41, HDCP_KEY42, HDCP_KEY43, HDCP_KEY44, HDCP_KEY45, HDCP_KEY46, HDCP_KEY47),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY48, HDCP_KEY49, HDCP_KEY50, HDCP_KEY51, HDCP_KEY52, HDCP_KEY53, HDCP_KEY54, HDCP_KEY55),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY56, HDCP_KEY57, HDCP_KEY58, HDCP_KEY59, HDCP_KEY60, HDCP_KEY61, HDCP_KEY62, HDCP_KEY63),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(HDCP_KEY64, HDCP_KEY65, HDCP_KEY66, HDCP_KEY67, HDCP_KEY68, HDCP_KEY69, HDCP_KEY70, HDCP_KEY71),&lt;/P&gt;&lt;P&gt;&amp;nbsp; BANK(CRC0, CRC1, CRC2, CRC3, CRC4, CRC5, CRC6, CRC7),&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static const struct mxc_otp_platform_data imx6q_otp_platform_data = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .fuse_name = (char **)bank_reg_desc,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .clock_name = "iim_clk",&lt;/P&gt;&lt;P&gt;&amp;nbsp; .fuse_num = BANKS * BANK_ITEMS,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;const struct imx_otp_data imx6q_otp_data = {&lt;/P&gt;&lt;P&gt;&amp;nbsp; .iobase = OCOTP_BASE_ADDR,&lt;/P&gt;&lt;P&gt;&amp;nbsp; .pdata = (struct mxc_otp_platform_data *)&amp;amp;imx6q_otp_platform_data,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;#undef BANK&lt;/P&gt;&lt;P&gt;#undef BANKS&lt;/P&gt;&lt;P&gt;#undef BANK_ITEMS&lt;/P&gt;&lt;P&gt;#endif /* ifdef CONFIG_SOC_IMX6Q */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=============================================================================&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 07:29:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230009#M17101</guid>
      <dc:creator>ShawnBai</dc:creator>
      <dc:date>2014-11-21T07:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230010#M17102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/kylekenj"&gt;kylekenj&lt;/A&gt; Similar to your board, our board (IMX6DL) only has &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;BOOT_MODE0 and BOOT_MODE1 and needs to boot off SD3. Blowing the fuses in u-boot as you describe works for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;From my understanding, the command "&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;imxotp blow --force 5 0x3040" does the following.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="5.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50727iC16F5C91BF056461/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.JPG.jpg" alt="5.JPG.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The command "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;imxotp blow --force 6 0x10" does the following:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50728iF9D255C4FE781BAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.JPG.jpg" alt="6.JPG.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;But now I would like to add this to my MFGtool process. &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/AnsonHuang"&gt;AnsonHuang&lt;/A&gt; says that &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; /sys/fsl_otp/HW_OCOTP_CFG1 is not BOOT_CFG1. How do I write to the correct addresses if I don't have BOOT_CFG1/2 in my filesystem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Feb 2015 16:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230010#M17102</guid>
      <dc:creator>mukelarvin</dc:creator>
      <dc:date>2015-02-24T16:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230011#M17103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;We're trying to program OTP bits using MFgtool with kernel &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;4.1.15-1.1.0 in order to boot from fuses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;We have followed the steps found in &lt;EM&gt;&lt;SPAN lang="EN-US" style="font-family: 'Trebuchet MS', sans-serif;"&gt;Manufacturing Tool V2 (MFGTool2) Quick Start Guide&lt;/SPAN&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Trebuchet MS', sans-serif;"&gt; &lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Trebuchet MS', sans-serif;"&gt;so we added the next lines to our ucl2.xml file:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;lt;CMD state="Updater" type="push" body="$ ls /sys/fsl_otp "&amp;gt;Showing HW_OCOTP fuse bank&amp;lt;/CMD&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;CMD state="Updater" type="push" body="$ cat /sys/fsl_otp/HW_OCOTP_CFG4"&amp;gt;Read the BOOT_CFG fuses&amp;lt;/CMD&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;lt;CMD state="Updater" type="push" body="$ cat /sys/fsl_otp/HW_OCOTP_CFG5"&amp;gt;Read the BT_FUSE_SEL fuse&amp;lt;/CMD&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;lt;CMD state="Updater" type="push" body="$ echo 0x00002840 &amp;gt; /sys/fsl_otp/HW_OCOTP_CFG4"&amp;gt;Burn BOOT_CFG fuses&amp;lt;/CMD&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;&amp;lt;CMD state="Updater" type="push" body="$ echo 0x00000010 &amp;gt; /sys/fsl_otp/HW_OCOTP_CFG5"&amp;gt;Burn BT_FUSE_SEL fuse&amp;lt;/CMD&lt;/STRONG&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It didn´t work and the next errors were showed in the MfgTool.log:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;ModuleID[2] LevelID[10]: ExecuteCommand--Push[WndIndex:0], Body is $ ls /sys/fsl_otp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;ModuleID[2] LevelID[1]: PortMgrDlg(0)--MSCDevice--Command Push(no file) excute failed&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;ModuleID[2] LevelID[10]: CmdOperation[0], current command executed failed, so SetEvent(hDevCanDeleteEvent)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;We also used TeraTerm and it showed the next:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;UTP: received command '$ ls /sys/fsl_otp '&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;UTP: executing "ls /sys/fsl_otp "&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;ls: cannot access /sys/fsl_otp: No such file or directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;UTP: sending Non-success to kernel for command $ ls /sys/fsl_otp .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;utp_poll: exit with status 512&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;We checked and the folder /sys exists but not &lt;SPAN style="font-size: 16px;"&gt;/sys&lt;/SPAN&gt;/fsl_otp at least in ramfs_mfg because we are able to access this directory when we boot from Flash. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Could you help us with this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 10:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230011#M17103</guid>
      <dc:creator>monicaruiz</dc:creator>
      <dc:date>2016-06-09T10:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Flashing fuses on custom imx6 board</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230012#M17104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the reason might be CONFIG_FSL_OTP was not added in imx_v7_mfg_defconfig, please change the config and rebuild the kernel for mfg purpose, then copy the zImage to mfgtools/Profiles/Linux/OS Firmware/firmware folder and try again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jun 2016 15:42:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flashing-fuses-on-custom-imx6-board/m-p/230012#M17104</guid>
      <dc:creator>han_xu</dc:creator>
      <dc:date>2016-06-09T15:42:49Z</dc:date>
    </item>
  </channel>
</rss>

