<?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: i.MX6ULL NVMEM OCOTP read values</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296412#M175881</link>
    <description>&lt;P&gt;Hi Stefano&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; I supposed that it was NXP that drive this process during the CHIP production.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry NXP does not program MAC addresses during chip production. It is resposibility of customer&lt;/P&gt;
&lt;P&gt;to obtain those adresses and properly progam them:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://standards.ieee.org/products-services/regauth/index.html" target="_blank"&gt;https://standards.ieee.org/products-services/regauth/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 00:59:47 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-06-23T00:59:47Z</dc:date>
    <item>
      <title>i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1293123#M175587</link>
      <description>&lt;P&gt;Dear community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to read values from NVMEM from bash (ie: MAC address) using hexdump on i.MX6ULL running kernel 5.4.91.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@colibri-imx6ull:~# hexdump -C /sys/devices/soc0/soc/2100000.aips-bus/21bc000.ocotp-ctrl/imx-ocotp0/nvmem 
00000000  03 00 32 00 46 c2 44 60  d2 c9 31 2f c6 00 31 71  |..2.F.D`..1/..1q|
00000010  02 00 43 00 90 00 00 00  10 00 00 00 00 00 00 00  |..C.............|
00000020  00 00 00 00 00 00 00 00  1e 00 00 00 00 00 00 00  |................|
00000030  00 00 00 00 00 00 00 00  5f ac 34 52 00 00 00 00  |........_.4R....|
00000040  da ba da ba da ba da ba  da ba da ba da ba da ba  |................|
*
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000090  00 00 00 00 da ba da ba  00 00 00 00 00 00 00 00  |................|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000b0  00 00 00 00 40 00 00 00  02 00 00 00 00 00 00 00  |....@...........|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100
root@colibri-imx6ull:~# ip a
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: &amp;lt;NO-CARRIER,BROADCAST,MULTICAST,DYNAMIC,UP&amp;gt; mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:14:2d:63:92:cb brd ff:ff:ff:ff:ff:ff
root@colibri-imx6ull:~# &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess to see the MAC address in the NVMEM, but there isn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 08:45:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1293123#M175587</guid>
      <dc:creator>SCordibella</dc:creator>
      <dc:date>2021-06-16T08:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1293235#M175596</link>
      <description>&lt;P&gt;Hi Stefano&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try with latest nxp linux Linux 5.10.9_1.0.0​ (as kernel 5.4.91 is not supported by nxp)&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;nvmem usage can be found on&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc6/bsp_r_otp_cc6cc6qp" target="_blank"&gt;https://www.digi.com/resources/documentation/digidocs/embedded/dey/3.0/cc6/bsp_r_otp_cc6cc6qp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 11:24:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1293235#M175596</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-16T11:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1295369#M175789</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt; , thank you for your reply.&lt;/P&gt;&lt;P&gt;Even if I use kernel 5.10.9 as you point in your previous comment I read the same values from the nvmem. I try to use the different hexdump format as suggested in the digi post, but nothing changes.&lt;/P&gt;&lt;P&gt;Where I can find more documentation about the data written in the nvmem? If I look in the dts I can't find anything that refers to the MAC:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;   ocotp: ocotp-ctrl@21bc000 {
    #address-cells = &amp;lt;1&amp;gt;;
    #size-cells = &amp;lt;1&amp;gt;;
    compatible = "fsl,imx6ul-ocotp", "syscon";
    reg = &amp;lt;0x021bc000 0x4000&amp;gt;;
    clocks = &amp;lt;&amp;amp;clks 165&amp;gt;;

    tempmon_calib: calib@38 {
     reg = &amp;lt;0x38 4&amp;gt;;
    };

    tempmon_temp_grade: temp-grade@20 {
     reg = &amp;lt;0x20 4&amp;gt;;
    };

    cpu_speed_grade: speed-grade@10 {
     reg = &amp;lt;0x10 4&amp;gt;;
    };
   };&lt;/LI-CODE&gt;&lt;P&gt;Do I need to add MAC mapping here in dtb?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 10:28:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1295369#M175789</guid>
      <dc:creator>SCordibella</dc:creator>
      <dc:date>2021-06-21T10:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296265#M175860</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Update&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I run the latest nxp kernel on a imx6ull evk and here is the result:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;root@imx6ul7d:~# hexdump -C /sys/bus/nvmem/devices/imx-ocotp0/nvmem 
00000000  03 00 32 00 57 f4 a1 c2  bb 29 12 2e ee 00 30 71  |..2.W....)....0q|
00000010  02 00 41 00 00 00 00 00  00 00 00 00 00 00 00 00  |..A.............|
00000020  00 00 00 00 00 00 00 00  58 00 00 00 00 00 00 00  |........X.......|
00000030  00 00 00 00 00 00 00 00  5f e2 c4 55 00 00 00 00  |........_..U....|
00000040  da ba da ba da ba da ba  da ba da ba da ba da ba  |................|
*
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000080  00 00 00 00 00 00 00 00  00 f7 04 9f 04 00 01 f7  |................|
00000090  04 9f 04 00 da ba da ba  00 41 00 00 00 00 00 00  |.........A......|
000000a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000000b0  00 00 00 00 40 00 00 00  02 00 00 00 00 00 00 00  |....@...........|
000000c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000100
root@imx6ul7d:~# ip a
1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: &amp;lt;NO-CARRIER,BROADCAST,MULTICAST,UP&amp;gt; mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:04:9f:04:f7:01 brd ff:ff:ff:ff:ff:ff
3: eth1: &amp;lt;NO-CARRIER,BROADCAST,MULTICAST,UP&amp;gt; mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether 00:04:9f:04:f7:00 brd ff:ff:ff:ff:ff:ff
4: sit0@NONE: &amp;lt;NOARP&amp;gt; mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
5: can0: &amp;lt;NOARP,ECHO&amp;gt; mtu 16 qdisc noop state DOWN group default qlen 10
    link/can 
6: can1: &amp;lt;NOARP,ECHO&amp;gt; mtu 16 qdisc noop state DOWN group default qlen 10
    link/can &lt;/LI-CODE&gt;&lt;P&gt;Here we have the two ethernet MAC address.&lt;/P&gt;&lt;P&gt;Since the kernel is the same my question is: why the NXP evk has the right information and the other module no? Who is the responsible that write the nvmem? I supposed that it was NXP that drive this process during the CHIP production.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 15:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296265#M175860</guid>
      <dc:creator>SCordibella</dc:creator>
      <dc:date>2021-06-22T15:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296412#M175881</link>
      <description>&lt;P&gt;Hi Stefano&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; I supposed that it was NXP that drive this process during the CHIP production.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;sorry NXP does not program MAC addresses during chip production. It is resposibility of customer&lt;/P&gt;
&lt;P&gt;to obtain those adresses and properly progam them:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://standards.ieee.org/products-services/regauth/index.html" target="_blank"&gt;https://standards.ieee.org/products-services/regauth/index.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 00:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296412#M175881</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-23T00:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296551#M175898</link>
      <description>&lt;P&gt;Thank you for the answer &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt; .&lt;/P&gt;&lt;P&gt;How about the hardware key written in NVMEM? Also that key should be written by customer or it is managed by NXP?&lt;/P&gt;&lt;P&gt;Our goal is to use that key to implement security feature on our product.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 06:21:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296551#M175898</guid>
      <dc:creator>SCordibella</dc:creator>
      <dc:date>2021-06-23T06:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296638#M175906</link>
      <description>&lt;P&gt;if you are speaking about OTPMK fuses, OTPMK fuses are programmed by NXP during the device manufacturing flow.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 07:35:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296638#M175906</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-23T07:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX6ULL NVMEM OCOTP read values</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296671#M175910</link>
      <description>&lt;P&gt;Yes &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066"&gt;@igorpadykov&lt;/a&gt; I mean the OTPMK fuses.&lt;/P&gt;&lt;P&gt;Thank you for your answer,&lt;/P&gt;&lt;P&gt;Stefano.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 08:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-NVMEM-OCOTP-read-values/m-p/1296671#M175910</guid>
      <dc:creator>SCordibella</dc:creator>
      <dc:date>2021-06-23T08:17:57Z</dc:date>
    </item>
  </channel>
</rss>

