[FE training-materials-updates] U-boot lab: instruct to set ethaddr

Michael Opdenacker michael.opdenacker at free-electrons.com
Tue Oct 8 10:21:05 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=689a0c2c3a02796a682caba36e610c2c4aee6e47

>---------------------------------------------------------------

commit 689a0c2c3a02796a682caba36e610c2c4aee6e47
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Oct 8 10:19:02 2013 +0200

    U-boot lab: instruct to set ethaddr
    
    - Most participants faced the issue that 'ethaddr' is not set.
      This confuses people with less experience and causes
      questions to the instructor. It's good to add explanations here.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


>---------------------------------------------------------------

689a0c2c3a02796a682caba36e610c2c4aee6e47
 labs/sysdev-u-boot/sysdev-u-boot.tex |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/labs/sysdev-u-boot/sysdev-u-boot.tex b/labs/sysdev-u-boot/sysdev-u-boot.tex
index f389d88..ff39baa 100644
--- a/labs/sysdev-u-boot/sysdev-u-boot.tex
+++ b/labs/sysdev-u-boot/sysdev-u-boot.tex
@@ -375,6 +375,13 @@ setenv ipaddr 192.168.0.100
 setenv serverip 192.168.0.1
 \end{verbatim}
 
+The first time you use your board, you also need to send the MAC address
+in U-boot:
+
+\begin{verbatim}
+setenv ethaddr 01:02:03:04:05:06
+\end{verbatim}
+
 In case the board was previously configured in a different way, we
 also turn off automatic booting after commands that can be used to
 copy a kernel to RAM:
@@ -390,8 +397,8 @@ saveenv
 \end{verbatim}
 
 Now switch your board off and on again\footnote{Power cycling your
-  board is needed to make your ethaddr permanent, for obscure
-  reasons. If you don't, U-boot will complain that ethaddr is not
+  board is needed to make your \code{ethaddr} permanent, for obscure
+  reasons. If you don't, U-boot will complain that \code{ethaddr} is not
   set.}.
 
 You can then test the TFTP connection. First, put a small text file in



More information about the training-materials-updates mailing list