diff mbox series

[U-Boot,1/1] sandbox: README: setting environment variables

Message ID 20181014194002.11366-1-xypron.glpk@gmx.de
State Accepted
Commit 6c6260ecfcc44ad5d609966a756e995746578b31
Delegated to: Simon Glass
Headers show
Series [U-Boot,1/1] sandbox: README: setting environment variables | expand

Commit Message

Heinrich Schuchardt Oct. 14, 2018, 7:40 p.m. UTC
The command to set environment variables is setenv.

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

Comments

Simon Glass Oct. 19, 2018, 3:26 a.m. UTC | #1
On 14 October 2018 at 13:40, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> The command to set environment variables is setenv.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  board/sandbox/README.sandbox | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Nov. 22, 2018, 8:21 p.m. UTC | #2
On 14 October 2018 at 13:40, Heinrich Schuchardt <xypron.glpk@gmx.de> wrote:
> The command to set environment variables is setenv.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
> ---
>  board/sandbox/README.sandbox | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

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 a28fc9f36c..ee4421801b 100644
--- a/board/sandbox/README.sandbox
+++ b/board/sandbox/README.sandbox
@@ -247,25 +247,25 @@  sudo /path/to/u-boot -D
 DHCP
 ....
 
-set autoload no
-set ethact eth1
+setenv autoload no
+setenv ethact eth1
 dhcp
 
 PING
 ....
 
-set autoload no
-set ethact eth1
+setenv autoload no
+setenv ethact eth1
 dhcp
 ping $gatewayip
 
 TFTP
 ....
 
-set autoload no
-set ethact eth1
+setenv autoload no
+setenv ethact eth1
 dhcp
-set serverip WWW.XXX.YYY.ZZZ
+setenv serverip WWW.XXX.YYY.ZZZ
 tftpboot u-boot.bin
 
 The bridge also supports (to a lesser extent) the localhost interface, 'lo'.
@@ -287,7 +287,7 @@  operation being tested on the lo interface.
 TFTP
 ....
 
-set ethact eth5
+setenv ethact eth5
 tftpboot u-boot.bin