<?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: imx8mini emmc efuse</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932910#M139892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX8_and_i.MX8x_families/" title="https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX8_and_i.MX8x_families/"&gt;Understanding how to burn eFuses on i.MX8 and i.MX8x families - i.MXDev Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Sep 2019 05:38:37 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2019-09-19T05:38:37Z</dc:date>
    <item>
      <title>imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932906#M139888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i want burn efuse on imx8mini for emmc boot, emmc connected exactly like EVK board (SD3 8 bit on NAND pins), can you tell me arguments of uboot like:&lt;/P&gt;&lt;P&gt;fuse prog [-y] &amp;lt;bank&amp;gt; &amp;lt;word&amp;gt; &amp;lt;hexval&amp;gt; [&amp;lt;hexval&amp;gt;...]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2019 09:48:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932906#M139888</guid>
      <dc:creator>tarterkit_ru</dc:creator>
      <dc:date>2019-05-31T09:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932907#M139889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way that you are going to program the efuses depends on several things. Principally by the specs of your memory. However, to make boot from the eMMC you need to make sure that the BOOT_CFG[14:12] registers are configured as below to boot from MMC/eMMC:&lt;/P&gt;&lt;P&gt;BOOT_CFG[14:12] = 010&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other configurations like I said before, depends on your memory configuration. You can find the description of the register description of the efuses on chapter 6.2 of the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information can help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Diego.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2019 22:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932907#M139889</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2019-06-03T22:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932908#M139890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, thanks.&lt;/P&gt;&lt;P&gt;I see this chapter, in this chpater desctibe&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;BOOT_CFG,&amp;nbsp;&lt;SPAN&gt;BOOT_CFG1 etc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;But uboot requre "&lt;SPAN style="background-color: #ffffff;"&gt;&amp;lt;bank&amp;gt; &amp;lt;word&amp;gt;",&amp;nbsp;i need to figure out the&amp;nbsp;&lt;SPAN style="color: #000000; font-size: 16px;"&gt;accordance between&amp;nbsp;"&lt;SPAN style="background-color: #ffffff;"&gt;&amp;lt;bank&amp;gt; &amp;lt;word&amp;gt;" and&amp;nbsp;&lt;SPAN style="color: #51626f;"&gt;BOOT_CFG registers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2019 04:51:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932908#M139890</guid>
      <dc:creator>tarterkit_ru</dc:creator>
      <dc:date>2019-06-04T04:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932909#M139891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Diego Adrian Cuevas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to this patch and processor manual&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://patchwork.kernel.org/patch/10929005/" rel="nofollow noopener noreferrer" target="test_blank"&gt;https://patchwork.kernel.org/patch/10929005/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"The i.MX8MM is similar to i.MX6 processors in terms of addressing and clock&lt;BR /&gt;setup."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.MX 8M Mini Applications Processor Reference Manual, Rev. 1, 03/2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 6-49. Fusemap Descriptions, page 823&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;0x470[15:0] BOOT_CFG&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eFuse burning manual for i.mx6 &lt;/P&gt;&lt;P&gt;&lt;A href="https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX/#calculating-fuse-bank-and-word" rel="nofollow noopener noreferrer" target="test_blank"&gt;https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX/#calculating-fuse-bank-and-word&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;(0x470 - 0x400) / 0x10 = 7
7 / 8 = 0 and the remainder is 7

Bank = 0
Word = 7&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is correct for i.MX8MM BOOT_CFG?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2019 23:49:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932909#M139891</guid>
      <dc:creator>Sasamy</dc:creator>
      <dc:date>2019-06-05T23:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932910#M139892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX8_and_i.MX8x_families/" title="https://imxdev.gitlab.io/tutorial/Burning_eFuses_on_i.MX8_and_i.MX8x_families/"&gt;Understanding how to burn eFuses on i.MX8 and i.MX8x families - i.MXDev Blog&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 05:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932910#M139892</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-09-19T05:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932911#M139893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems to me that both articles are not suitable for i.MX8M Mini.&lt;BR /&gt;We used the Bank and Word values from the processor manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we wanted to burn:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0x470 [14-12] 010 - MMC / eMMC&lt;BR /&gt;0x470 [11-10] 10 - SD3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;i.MX 8M Mini Applications Processor Reference Manual, Rev. 2, 08/2019&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;6.3.4.16 Value of OTP Bank1 Word3 (Boot Configuration Info.)&lt;BR /&gt;(OCOTP_HW_OCOTP_BOOT_CFG00)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shadowed memory mapped access to OTP Bank 1, word 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Address: 3035_0000h base + 470h offset = 3035_0470h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, we used this command in u-boot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;u-boot=&amp;gt; fuse prog 1 3 0x00002800&lt;/P&gt;&lt;P&gt;rogramming bank 1 word 0x00000003 to 0x00002800...&lt;BR /&gt;Warning: Programming fuses is an irreversible operation!&lt;BR /&gt;This may brick your system.&lt;BR /&gt;Use this command only if you are sure of what you are doing!&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Sep 2019 08:18:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932911#M139893</guid>
      <dc:creator>Sasamy</dc:creator>
      <dc:date>2019-09-19T08:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932912#M139894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;To understand how to calculate the bank and word, using address: look at OCOTP memory map in &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;section 6.3.4 (OCOTP Memory Map/Register Definition) of i.MX 8M Mini Reference Manual, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Rev. 2, 08/2019 :&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;3035_0400 - Bank 0 Word 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;3035_0410 - Bank 0 Word 1&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;3035_0440 - Bank 1 Word 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; So, formula is as following: &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Bank = (address - 0x400) / 0x40 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; Word = [(address - 0x400) % 0x40] / 0x10 ;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 06:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/932912#M139894</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2019-10-03T06:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mini emmc efuse</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/1542501#M196753</link>
      <description>&lt;P&gt;Good day,&lt;/P&gt;&lt;P&gt;Have you managed to solve your e-Fuse boot problem?&lt;/P&gt;&lt;P&gt;I'm successfully using the Super Root Key to boot a signed u-boot. I'm trying to lock down the boot sequence to only use the eMMC. There's also a fallback to SD if the DISABLE_SDMMC_MFG bit is left at 0.&lt;/P&gt;&lt;P&gt;Before setting the fuses I've used the development kits external boot select switches to successfully boot from SD and eMMC.&lt;/P&gt;&lt;P&gt;The iMX 8M Mini application processor reference manual was used to look up the&lt;BR /&gt;meaning of the register definitions.&lt;/P&gt;&lt;P&gt;OCOTP_HW_OCOTP_BOOT_CFG0 register:&lt;BR /&gt;3035_0470 Value of OTP Bank1 Word3&lt;/P&gt;&lt;P&gt;Register fields defined on page 823 &amp;amp; p824&lt;BR /&gt;[15: 0] BOOT_CFG&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Page 816: Boot fusemap : eMMC&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[0] - IO voltage selection (Manufacture mode) : 0=3V3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[1] - IO voltage selection (Normal boot mode) : 0=3V3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[3:2] - Speed : 00=Normal&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[6:4] - Bus width : 010=8-bit&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[7] - Fast boot: 0=Regular&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[8] - SD loopback : 0=Through SD pad&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[9] - Power cycle : 0=Disable&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[11:10]- Port select : 10=uSDHC3&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[14:12]- Boot device select : 010=eMMC (According to p815, Table 6-41)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;[15] - Reserved&lt;BR /&gt;[24:16] Reserverd&lt;BR /&gt;[25] SEC_CONFIG[1] : 1x - Closed (HAB Security On)&lt;BR /&gt;[27:26] Reserved&lt;BR /&gt;[28] BT_FUSE_SEL : 1=Boot config from eFuses&lt;BR /&gt;[29] FORCE_COLD_BOOT : 1=Always cold boot. Higher security&lt;BR /&gt;[31:30] Reserved&lt;/P&gt;&lt;P&gt;The programmed fuse value:&lt;BR /&gt;u-boot=&amp;gt; fuse sense 1 3 1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Sensing bank 1:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Word 0x00000003: 0x32002820&lt;/P&gt;&lt;P&gt;When u-boot is programmed into eMMC, it boots it regardless of the external bootpin settings.&lt;/P&gt;&lt;P&gt;If I wipe the u-boot from eMMC, it will load the u-boot on the SD card if the external boot pins are&lt;/P&gt;&lt;P&gt;set to Mode0=1, Mode1=0&lt;/P&gt;&lt;P&gt;I expect the boot ROM is falling back to SD due to SDMMC_MFG (manufacture mode) still being active.&lt;/P&gt;&lt;P&gt;Page 824 defines further boot config registers:&lt;BR /&gt;&amp;nbsp;3035_0480 Value of OTP Bank2 Word0 (OCOTP_HW_OCOTP_BOOT_CFG1)&amp;nbsp;&lt;BR /&gt;&amp;nbsp;3035_0490 Value of OTP Bank2 Word1 (OCOTP_HW_OCOTP_BOOT_CFG2)&lt;BR /&gt;&amp;nbsp;3035_04A0 Value of OTP Bank2 Word2 (OCOTP_HW_OCOTP_BOOT_CFG3)&lt;BR /&gt;&amp;nbsp;3035_04B0 Value of OTP Bank2 Word3 (OCOTP_HW_OCOTP_BOOT_CFG4)&lt;BR /&gt;Page 817 -- 819 covers the register fields. The registers were not altered. The&amp;nbsp;default values are:&lt;BR /&gt;u-boot=&amp;gt; fuse sense 2 0 4&lt;BR /&gt;&amp;nbsp; 01000010 00000000 00000000 00000000&lt;/P&gt;&lt;P&gt;I didn't use the FastBoot option.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Frikkie&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 17:29:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mini-emmc-efuse/m-p/1542501#M196753</guid>
      <dc:creator>frix</dc:creator>
      <dc:date>2022-10-24T17:29:16Z</dc:date>
    </item>
  </channel>
</rss>

