[FE training-materials-updates] Add instructions to set ethaddr if needed

Michael Opdenacker michael.opdenacker at free-electrons.com
Wed Oct 10 06:43:30 CEST 2012


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

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

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

commit 26a47e58365ed580679eca543f7ccbe926cd4e22
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Tue Oct 9 11:55:26 2012 +0200

    Add instructions to set ethaddr if needed


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

26a47e58365ed580679eca543f7ccbe926cd4e22
 .../kernel-module-environment.tex                  |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/labs/kernel-module-environment/kernel-module-environment.tex b/labs/kernel-module-environment/kernel-module-environment.tex
index 4e56606..aa8fad3 100644
--- a/labs/kernel-module-environment/kernel-module-environment.tex
+++ b/labs/kernel-module-environment/kernel-module-environment.tex
@@ -217,12 +217,23 @@ copy a kernel to RAM:
 setenv autostart no
 \end{verbatim}
 
+Also check that the \code{ethaddr} environment variable is
+defined. That's the MAC address that U-boot sees. If it isn't defined,
+set it:
+
+\begin{verbatim}
+set ethaddr 00:00:00:11:22:33
+\end{verbatim}
+
 To make these settings permanent, save the environment:
 
 \begin{verbatim}
 saveenv
 \end{verbatim}
 
+If you changed \code{ethaddr}, also power off your board, and power it
+on again (pressing the \code{reset} button is not enough).
+
 You can then test the TFTP connection
 \footnote{Note for Ubuntu 12.04 users: the \code{tftp-hpa}
 server may not work the first time you use it after booting your 



More information about the training-materials-updates mailing list