Can MAC address get from emmc?

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

Can MAC address get from emmc?

1,802 次查看
Might-Lee
Contributor III

As I didn't have a EEPROM on our custom board, is it possible to store the MAC Address in eMMC then read from eMMC when running Linux kernel.

If yes, how to configure it?

0 项奖励
回复
1 回复

1,791 次查看
yipingwang
NXP TechSupport
NXP TechSupport

You could store MAC address in software or in U-boot environment configuration, which is stored in the same memory as u-boot.

Under u-boot prompt, you could configure MAC addresses as the following.

=> setenv eth1addr 00:04:9F:06:04:49

=> setenv eth2addr 00:04:9F:06:04:4A

=> setenv eth3addr 00:04:9F:06:04:4B

=> setenv eth4addr 00:04:9F:06:04:4C

=> setenv eth5addr 00:04:9F:06:04:4D

=> setenv eth6addr 00:04:9F:06:04:4E
=> setenv eth7addr 00:04:9F:06:04:4E

=>setenv ethaddr 00:04:9F:06:04:48
=> saveenv

0 项奖励
回复