How to pass ethernet address to linux kernel ethernet driver: Difference between revisions
(Created page with '= TI Davinci Ethernet driver = == Passing fixed Ethernet MAC address == Run cd $DEVDIR make config and set the Kernel Configuration -> Extra kernel arguments to davinci_e...') |
mNo edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
== Using u-boot ethaddr value for fixed Ethernet MAC address == | == 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}"; | |||
[[Category:Whitepaper]][[Category:HowTo]] | |||
[[Category: |
Latest revision as of 11:50, 16 March 2014
TI Davinci Ethernet driver
Passing fixed Ethernet MAC address
Run
cd $DEVDIR make config
and set the Kernel Configuration -> Extra kernel arguments to
davinci_emac.ethaddr=40:61:86:e9:82:12
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}";