diff mbox series

[U-Boot,1/1] sandbox: README: use setenv ethrotate no

Message ID 20181014200128.2603-1-xypron.glpk@gmx.de
State Accepted
Commit 0c943e5da64987a622544cafab791caee6e14c9d
Delegated to: Simon Glass
Headers show
Series [U-Boot,1/1] sandbox: README: use setenv ethrotate no | expand

Commit Message

Heinrich Schuchardt Oct. 14, 2018, 8:01 p.m. UTC
If we want to control which network interface is actually used, we have to
issue 'setenv ethrotate no'. If ethrotate is not set any interface may be
used.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 board/sandbox/README.sandbox | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Simon Glass Nov. 17, 2018, 12:14 a.m. UTC | #1
On Sun, 14 Oct 2018 at 14:01, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> If we want to control which network interface is actually used, we have to
> issue 'setenv ethrotate no'. If ethrotate is not set any interface may be
> used.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  board/sandbox/README.sandbox | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Nov. 22, 2018, 8:21 p.m. UTC | #2
On Sun, 14 Oct 2018 at 14:01, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
>
> If we want to control which network interface is actually used, we have to
> issue 'setenv ethrotate no'. If ethrotate is not set any interface may be
> used.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  board/sandbox/README.sandbox | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm/master, thanks!
diff mbox series

Patch

diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox
index ee4421801b..0f59da4400 100644
--- a/board/sandbox/README.sandbox
+++ b/board/sandbox/README.sandbox
@@ -248,6 +248,7 @@  DHCP
 ....
 
 setenv autoload no
+setenv ethrotate no
 setenv ethact eth1
 dhcp
 
@@ -255,6 +256,7 @@  PING
 ....
 
 setenv autoload no
+setenv ethrotate no
 setenv ethact eth1
 dhcp
 ping $gatewayip
@@ -263,6 +265,7 @@  TFTP
 ....
 
 setenv autoload no
+setenv ethrotate no
 setenv ethact eth1
 dhcp
 setenv serverip WWW.XXX.YYY.ZZZ
@@ -287,6 +290,7 @@  operation being tested on the lo interface.
 TFTP
 ....
 
+setenv ethrotate no
 setenv ethact eth5
 tftpboot u-boot.bin