diff options
author | Michael Walle <michael@walle.cc> | 2012-10-04 06:54:25 +0000 |
---|---|---|
committer | Prafulla Wadaskar <prafulla@marvell.com> | 2013-01-09 04:12:11 +0530 |
commit | 23c9946a3bfc23e3ede8995437d6b0e3b7b1335c (patch) | |
tree | 098bc9a9a7889a03d13bae536b7bb058a0807717 | |
parent | 7202e8ae5132deae7a9e6f310c3278f2da388471 (diff) | |
download | u-boot-imx-23c9946a3bfc23e3ede8995437d6b0e3b7b1335c.zip u-boot-imx-23c9946a3bfc23e3ede8995437d6b0e3b7b1335c.tar.gz u-boot-imx-23c9946a3bfc23e3ede8995437d6b0e3b7b1335c.tar.bz2 |
lsxl: unset ncip for rescue mode
Instead of using the serverip we get from the DHCP server, implicitly use
the broadcast address, which is automatically set when no ncip environment
variable is set. That way it isn't necessary to use a special DHCP
configuration to set the netconsole peer.
Signed-off-by: Michael Walle <michael@walle.cc>
Cc: Prafulla Wadaskar <prafulla@marvell.com>
-rw-r--r-- | board/buffalo/lsxl/lsxl.c | 5 | ||||
-rw-r--r-- | include/configs/lsxl.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/board/buffalo/lsxl/lsxl.c b/board/buffalo/lsxl/lsxl.c index f298020..83eea04 100644 --- a/board/buffalo/lsxl/lsxl.c +++ b/board/buffalo/lsxl/lsxl.c @@ -49,9 +49,8 @@ * you can do this only with a working network connection. Therefore, a random * ethernet address is generated if none is set and a DHCP request is sent. * After a successful DHCP response is received, the network settings are - * configured and the ncip parameter is set to the serverip. Eg. for a working - * resuce mode, you should set 'next-server' to the host where the netconsole - * client is started. + * configured and the ncip is unset. Therefore, all netconsole packets are + * broadcasted. * Additionally, the bootsource is set to 'rescue'. */ diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 8097f28..59f151a 100644 --- a/include/configs/lsxl.h +++ b/include/configs/lsxl.h @@ -146,7 +146,7 @@ "config_nc_dhcp=setenv autoload_old ${autoload}; " \ "setenv autoload no " \ "&& bootp " \ - "&& setenv ncip ${serverip} " \ + "&& setenv ncip " \ "&& setenv autoload ${autoload_old}; " \ "setenv autoload_old\0" \ "standard_env=setenv ipaddr; setenv netmask; setenv serverip; " \ |