...
echo <high 16 bit of the MAC address> > /sys/fsl_otp/HW_OCOTP_MAC1
echo <lower 32bit of the MAC address> > /sys/fsl_otp/HW_OCOTP_MAC0
For example –
Under Linux:
Program MAC Address 'D0:63:12:34:56:78'
Code Block |
---|
# In order to program the highest 16 bit of MAC address run – echo 0xd063 > /sys/fsl_otp/HW_OCOTP_MAC1 # and for the lowest 32bit run – echo 0x12345678 > /sys/fsl_otp/HW_OCOTP_MAC0 |
Read MAC Address Fuses
Code Block |
---|
# read the high 16bit
cat /sys/fsl_otp/HW_OCOTP_MAC1
# read the low 32bit
cat /sys/fsl_otp/HW_OCOTP_MAC0 |
Under U-Boot:
Program MAC Address 'D0:63:12:34:56:78'
Code Block |
---|
# In order |
...
Code Block |
---|
to program the highest 16 bit of MAC address run – fuse prog -y 4 3 0xd063 # and for the |
...
lowest 32bit run – |
...
Code Block |
---|
fuse prog -y 4 2 0x12345678 |
Read MAC Address Fuses
Code Block |
---|
# In order to read the |
...
lowest 32bit; run – |
...
Code Block |
---|
fuse read 4 2 |
and for the high 16bit run –
Code Block |
---|
# In order to read the highest 16bit; run –
fuse read 4 3 |
Blowing fuses to boot from Micro SD
...