iMX28 board ETH MAC all zeros

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iMX28 board ETH MAC all zeros

跳至解决方案
1,386 次查看
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.

标签 (2)
0 项奖励
回复
1 解答
804 次查看
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 项奖励
回复
1 回复
805 次查看
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 项奖励
回复