How to pass ethernet address to linux kernel ethernet driver

From RidgeRun Developer Connection
Revision as of 12:55, 17 September 2012 by Tfischer (Talk | contribs)

Jump to: navigation, search

TI Davinci Ethernet driver

Passing fixed Ethernet MAC address


make config

and set the Kernel Configuration -> Extra kernel arguments to


Using u-boot ethaddr value for fixed Ethernet MAC address

Modify installer (in installer/u-boot-installer/methods/attached_board), around like 973 to add the ethernet address to the kernel command line.

$BOOTCMD = "setenv bootargs ${bootargs} davinci_emac.ethaddr=${ethaddr} ; nboot $CONFIG_INSTALLER_LOAD_ADDRS 0 \\\${kerneloffset}";