MAC address change on iMX8MPEVK

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MAC address change on iMX8MPEVK

Jump to solution
2,711 Views
Hideo_Noda
Contributor I

Hi,
I'm using iMX8MP-evk, booted from SD. I wanted to change the MAC address of eth0. I changed the variable "ethaddr" by the u-boot command and saved with saveenv command as follows.

u-boot=> setenv ethaddr 00:50:c2:46:40:11
u-boot=> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK

When I rebooted, following messages appeared

Net:
Warning: ethernet@30be0000 MAC addresses don't match:
Address in ROM is 00:04:9f:07:0e:d8
Address in environment is 00:50:c2:46:40:11
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]

After deleting the ethaddr as follows

u-boot=> setenv ethaddr
u-boot=> saveenv
Saving Environment to MMC... Writing to MMC(1)... OK

following messages appeared

Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000, eth1: ethernet@30bf0000 [PRIME]

What is ROM mentioned above?
How do I write the MAC address in ROM?

Thanks,
Hideo

 

0 Kudos
Reply
1 Solution
2,705 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hideo

 

>What is ROM mentioned above?
>How do I write the MAC address in ROM?

 

on EVK mac address is programmed in fuses, please look at sect.6.2 Fusemap, MAC_0(1)_ADDR

i.MX 8M Plus Applications Processor Reference Manual

 

Best regards
igor

View solution in original post

0 Kudos
Reply
2 Replies
2,697 Views
Hideo_Noda
Contributor I

igor,

Thank you.

I understand.

 

0 Kudos
Reply
2,706 Views
igorpadykov
NXP Employee
NXP Employee

Hi Hideo

 

>What is ROM mentioned above?
>How do I write the MAC address in ROM?

 

on EVK mac address is programmed in fuses, please look at sect.6.2 Fusemap, MAC_0(1)_ADDR

i.MX 8M Plus Applications Processor Reference Manual

 

Best regards
igor

0 Kudos
Reply