]> git.sur5r.net Git - u-boot/commit
Save server's MAC address in environment
authorRobin Getz <rgetz@blackfin.uclinux.org>
Tue, 21 Jul 2009 16:15:28 +0000 (12:15 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Thu, 23 Jul 2009 06:17:01 +0000 (23:17 -0700)
commit97cfe86163505ea18e7ff7b71e78df5bb03dad57
treed4b32be4b5765ba9de50864a3b17af7286ba2cc0
parent0b23fb368d08c9669fac647971ff249c3f9fee8f
Save server's MAC address in environment

Linux's netconsole works much better when you can pass it the MAC address of
the server. (otherwise it just uses broadcast, which everyone else on my
network complains about :)

This sets the env var "serveraddr" (to match ethaddr), so that you can pass
it to linux with whatever bootargs you want to....

addnetconsole=set bootargs $(bootargs) netconsole=@$(ipaddr)/eth0,@$(serverip)/$(serveraddr)

Signed-of-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
README
net/net.c