MAC Address EEPROM (not from eFUSE)

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

MAC Address EEPROM (not from eFUSE)

跳至解决方案
2,670 次查看
dnsry
Contributor I

Hi,

We have a custom IMX6DL board. It has an I2C EEPROM with MAC address in it. We want to use this MAC address instead of the eFUSE option of the imx6. We are able to read the MAC address from I2C EEPROM at the u-boot, but do not know how to pass this address to kernel to so that the card's MAC address is taken from the EEPROM. Can you help?

Thanks

0 项奖励
回复
1 解答
1,802 次查看
igorpadykov
NXP Employee
NXP Employee

Hi V B

one can look at function fec_get_mac_addr() in ..linux/arc/ar/mach-mx6/mx6_fec.c

Since "eth=" command line argument is depreciated from the standard Linux kernel,

one can add it himself using example in sect.18.4.5 "Adding BSP Support for a

New Boot Command to Select CLAA057VA01CT LCD" MX53UG

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,803 次查看
igorpadykov
NXP Employee
NXP Employee

Hi V B

one can look at function fec_get_mac_addr() in ..linux/arc/ar/mach-mx6/mx6_fec.c

Since "eth=" command line argument is depreciated from the standard Linux kernel,

one can add it himself using example in sect.18.4.5 "Adding BSP Support for a

New Boot Command to Select CLAA057VA01CT LCD" MX53UG

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,802 次查看
dnsry
Contributor I

Hi igor,

Thank you.

As suggested by you I looked mx6_fec.c and took the MAC address from eth= parameter passed from u-boot..


V B

0 项奖励
回复