
12 Sep
2015
12 Sep
'15
2:47 p.m.
On Tue, Aug 25, 2015 at 01:55:41PM +0200, Hannes Petermaier 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 Acked-by: Joe Hershberger joe.hershberger@ni.com
Applied to u-boot/master, thanks!
--
Tom