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
Solved! Go to Solution.
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
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
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: