Now I am trying to use fixed MAC address from IDB.
Already complied with CONFIG_ETH_MAC_FROM_IDB=y
[ 11.209373] enter func vmac_open...
[ 11.212473] power on phy
[ 12.253384] Read the Ethernet MAC address from IDB:00:00:00:00:00:00
[ 12.266050] eth_mac_from_RANDOM***********:A:14:56:5D:80:0
[ 12.308011] vmac_mii_bus: probed
[ 12.308279] rk29 vmac rk29 vmac.0: PHY driver [Generic PHY] (mii_bushy_addr=0:00, irq=-1)
[ 12.322704] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.303648] PHY: 0:00 - Link is Down
[ 15.315932] PHY: 0:00 - Link is Up - 100/Full
[ 15.330368] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
After grep the code, the MAC address is last 6 bytes of SN sector (512 bytes). Where is the SN sector?
Comment