iMX28 board ETH MAC all zeros

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

iMX28 board ETH MAC all zeros

Jump to solution
1,169 Views
unatina
Contributor I

Hi all,

i have a iMX28 evk. When i use the sd cards that came with the board the ethernet are ok.

But when i build with LTIB on the guest system that came with the bsp the ethernet MAC is all zeros.

In one of the documentation it says that the MAC addresses are saved in ROM but in witch rom? SD card?

How can i configure the MAC addresses. I read else where that it can be done in Uboot but how can boot into uboot. When i insert the sd card and turn on the board it imediately goes into busybox.

Labels (2)
0 Kudos
1 Solution
587 Views
Yuri
NXP Employee
NXP Employee

1.

MAC address of the i.MX28 usually is stored on HW_OCOTP_CUST0 of OCOTP.

Customers can burn it themsevles.

From community :

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())

< https://community.freescale.com/thread/301762 >

2.

The MFG may be used to load specific application (.sb) to fuse the OTP.

The only tool for programming OTP bits is IMX_OTP_TOOLS.

< https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&appType=license&location=null >

< http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX280&fpsp=1&tab=Design_Tools_Tab >

Please look at section 6 (Manage the Electrical Fuses) of AN4555 (Secure Boot

with i.MX28 HAB v4).

< http://cache.freescale.com/files/32bit/doc/app_note/AN4555.pdf >

View solution in original post

0 Kudos
1 Reply
588 Views
Yuri
NXP Employee
NXP Employee

1.

MAC address of the i.MX28 usually is stored on HW_OCOTP_CUST0 of OCOTP.

Customers can burn it themsevles.

From community :

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())

< https://community.freescale.com/thread/301762 >

2.

The MFG may be used to load specific application (.sb) to fuse the OTP.

The only tool for programming OTP bits is IMX_OTP_TOOLS.

< https://www.freescale.com/webapp/Download?colCode=IMXMFG_TOOL&appType=license&location=null >

< http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX280&fpsp=1&tab=Design_Tools_Tab >

Please look at section 6 (Manage the Electrical Fuses) of AN4555 (Secure Boot

with i.MX28 HAB v4).

< http://cache.freescale.com/files/32bit/doc/app_note/AN4555.pdf >

0 Kudos