Changes

Jump to: navigation, search

DESK-MX8M-L/Deployment/MAC Address programming

533 bytes added, 08:45, 21 June 2022
eFuses programming
u-boot=>
==== eFuses eFuse programming ====U-Boot uses the <code>fuse prog</code> command for writing the MAC address into the eFuse. The MAC address should be divided in high 16 bit and low 32 bits, for example MAC address <code>AB:CD:12:34:56:78</code>:
Use these U<pre>fuse prog -y 4 2 0x12345678fuse prog -Boot commands to store y 4 3 0xABCD</pre> In the following example the MAC address <code>00:50:c2:1e:af:cd</code> on is stored in the i.MX SOM:
* (in case of presence) clear the <code>ethaddr</code> u-boot variable
<pre class="workstation-terminal">
* program the MAC address in the OPTs with the following commands:
<pre class="workstation-terminal">
u-boot=> fuse prog 9 0 C21EAFCDc21eafcd
Programming bank 9 word 0x00000000 to 0xc21eafcd...
Warning: Programming fuses is an irreversible operation!
y
u-boot=>
</pre>
If you want to write the eFuse value '''directly''' without confirmation, uses the <code>-y</code> parameter with the <code>fuse prog</code> command, as per the previous example:
 
<pre>
u-boot=> fuse prog -y 9 0 c21eafcd
u-boot=> fuse prog -y 9 1 0050
</pre>
8,160
edits

Navigation menu