
25 Aug
2015
25 Aug
'15
4:56 p.m.
On Tue, Aug 25, 2015 at 01:55:41PM +0200, Hannes Schmelzer wrote:
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: Hannes Schmelzer oe5hpm@oevsv.at
Reviewed-by: Tom Rini trini@konsulko.com
--
Tom