Aria NXP imx6 set efuse default MAC address: Difference between revisions

From Ariaboard Wiki
Jump to navigation Jump to search
(Created page with "====Set default MAC address==== <font color=red>Warning! Once the address is set, it cannot be changed!</font> Write MAC value into file below: /sys/fsl_otp/HW_OCOTP_MAC0 #(...")
 
No edit summary
Line 1: Line 1:
====Set default MAC address====
====Set default MAC address====
<font color=red>Warning! Once the address is set, it cannot be changed!</font>
<font color=red>Warning! Once the address is set, it cannot be changed again!</font>


Write MAC value into file below:
Write MAC value into file below:

Revision as of 14:55, 16 March 2015

Set default MAC address

Warning! Once the address is set, it cannot be changed again!

Write MAC value into file below:

/sys/fsl_otp/HW_OCOTP_MAC0 #(low 32 bits)

/sys/fsl_otp/HW_OCOTP_MAC1 #(high 16 bits)

e.g: Set e6:b8:a8:fb:8b:0e as MAC:

echo 0xE6B8 > /sys/fsl_otp/HW_OCOTP_MAC1
echo 0xA8FB8B0E > /sys/fsl_otp/HW_OCOTP_MAC0