Skip to content
Snippets Groups Projects
Commit 6312e9aa authored by Hannes Petermaier's avatar Hannes Petermaier Committed by Tom Rini
Browse files

board/BuR: simplify default IP-setup on B&R boards.


To simplify and having a common default IP-setup on all B&R boards we
introduce an environment variable "brdefaultip" which does following.

Test if ${ipaddr} is empty, if yes it set's up some defaults:
- ipaddr   : 192.168.60.1
- netmask  : 255.255.255.0
- gatewayip: 192.168.60.254
- serverip : 192.168.60.254

This environment is ran from CONFIG_PREBOOT.

All other "tricks" are dropped.

Signed-off-by: default avatarHannes Schmelzer <oe5hpm@oevsv.at>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 18a10d46
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment