On DM816x i am trying to pass the MAC address to the kernel.
On uboot i modified the MAC address, now i want to pass that MAC address to linux kernel eth0 interface, but linux kernel always takes the MAC address which is not passed by uboot. How exactly i can do that?
I tried following bootargs, after loading the kernel image and ramdisk at particular location
TI8168_EVM# setenv ethaddr 02:01:03:01:01:01
TI8168_EVM#setenv bootargs 'console=ttyO0,115200n8 root=/dev/ram rw initrd=0x81000000,128M eth=$(ethaddr) mem=512M'
TI8168_EVM#setenv bootcmd 'bootm 0x80800000'
after booting linux, when i run ifconfig, it is not showing different MAC address of eth0
Would somebody please suggest, how to fix this..