i.MX28 MAC address

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

i.MX28 MAC address

Jump to solution
2,031 Views
chris321
Contributor IV

Hello Community,

the Prefix of the MAC address from Freescale is 00:04:9F .

With the OTP-Bits of the i.MX28 we can change the last 4 octets of the given MAcC address, so that the "00:04" is still fixed.

Is it possible for Vendors to change the two fixed octets too?
I mean to change it really and not "only" in the Linux or U-Boot running on it.

Thank You

Labels (1)
Tags (3)
0 Kudos
1 Solution
796 Views
DuanFugang
NXP Employee
NXP Employee

hi, chris321,

For imx28 FEC MAC address, only MAC[2], MAC[3], MAC[4], MAC[5] four bytes are blown in OTP bank0 word0 (HW_OCOTP_CUST0) register. MAC[0] and MAC[1] is fixed for 0x0:0x4 in uboot code.


If you don't want to change the MAC address when linux or uboot running up, you only modify the first two bytes of MAC address in uboot code. (board/freescale/mx28_evk/mx28_evk.c api: fec_get_mac_addr())


Andy

View solution in original post

0 Kudos
2 Replies
797 Views
DuanFugang
NXP Employee
NXP Employee

hi, chris321,

For imx28 FEC MAC address, only MAC[2], MAC[3], MAC[4], MAC[5] four bytes are blown in OTP bank0 word0 (HW_OCOTP_CUST0) register. MAC[0] and MAC[1] is fixed for 0x0:0x4 in uboot code.


If you don't want to change the MAC address when linux or uboot running up, you only modify the first two bytes of MAC address in uboot code. (board/freescale/mx28_evk/mx28_evk.c api: fec_get_mac_addr())


Andy

0 Kudos
796 Views
chris321
Contributor IV

Thank You Andy,

but I can't find the section you described in

git.denx.de Git - u-boot.git/blob - board/freescale/mx28evk/mx28evk.c

Chris

Edit: ok after I patched the u-boot, I had the lines :smileyhappy:

0 Kudos