Skip to content
Snippets Groups Projects
Commit 97cfe861 authored by Robin Getz's avatar Robin Getz Committed by Ben Warren
Browse files

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: default avatarRobin Getz <rgetz@blackfin.uclinux.org>

Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 0b23fb36
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment