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

Heinrich Schuchardt xypron.glpk at gmx.de
Sun Oct 14 19:40:02 UTC 2018


The command to set environment variables is setenv.

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

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
 
 
-- 
2.19.1



More information about the U-Boot mailing list