[BL training-materials-updates] kernel labs: unique instructions for BBB and BBB Wireless

Michael Opdenacker michael.opdenacker at bootlin.com
Fri Nov 23 06:25:18 CET 2018


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

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

commit cf37c59a5025720a11d730329ce80936afae7af6
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Fri Nov 23 06:25:18 2018 +0100

    kernel labs: unique instructions for BBB and BBB Wireless
    
    - Less confusing for participants
    - That's possible thanks to using the same recent U-Boot version
      for both boards
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

cf37c59a5025720a11d730329ce80936afae7af6
 labs/kernel-board-setup/kernel-board-setup.tex | 42 +++++++++-----------------
 1 file changed, 15 insertions(+), 27 deletions(-)

diff --git a/labs/kernel-board-setup/kernel-board-setup.tex b/labs/kernel-board-setup/kernel-board-setup.tex
index c53431b..70ff8c1 100644
--- a/labs/kernel-board-setup/kernel-board-setup.tex
+++ b/labs/kernel-board-setup/kernel-board-setup.tex
@@ -142,20 +142,15 @@ saveenv
 
 The next step is to configure U-boot and your workstation to let your
 board download files, such as the kernel image and Device Tree Binary
-(DTB), using the TFTP protocol through an Ethernet connection.
+(DTB), using the TFTP protocol through a network connection.
 
-\begin{itemize} 
-\item BeagleBone Black board case: connect your board to your PC
-      through an Ethernet cable given by your instructor.
-      If your computer already has a wired connection
-      to the network, your instructor will provide you with a USB Ethernet
-      adapter.
-\item BeagleBone Black Wireless board case: we will use Ethernet
-      over USB device and therefore will only need the USB device cable
-      is already used to power up the board.
-\end{itemize}
+As this course supports both the BeagleBone Black and BeagleBone Black
+Wireless boards, we're keeping things simple by using Ethernet of USB
+device as this works for both boards (as the Wireless board has no
+native Ethernet port). So, networking will work through the USB device
+cable that is already used to power up the board.
 
-\section{Ethernet configuration on the target}
+\section{Network configuration on the target}
 Now, let's configure networking in U-Boot:
 
 \begin{itemize}
@@ -171,8 +166,7 @@ setenv serverip 192.168.0.1
 Of course, make sure that this address belongs to a separate network
 segment from the one of the main company network.
 
-For the BeagleBone Black Wireless board, we also need to configure
-Ethernet over USB device:
+We also need to configure Ethernet over USB device:
 \begin{itemize}
   \item \code{ethact}: controls which interface is currently active.
   \item \code{usbnet_devaddr}: MAC address on the device side
@@ -196,23 +190,17 @@ first partition of the eMMC storage.}:
 saveenv
 \end{verbatim}
 
-\section{Ethernet configuration on the PC host}
+\section{Network configuration on the PC host}
 
 To configure your network interface on the workstation side, we need
 to know the name of the network interface connected to your board.
 
-\begin{itemize}
-   \item If you have the BeagleBone Black board, check the name
-      of your PC's Ethernet interface by running the \code{ifconfig -a}
-      command. It should be \code{eth<x>} or \code{eno<x>}.
-   \item If you have the BeagleBone Black Wireless board, you won't
-      be able to see the network interface corresponding to the Ethernet
-      over USB device connection yet, because it's only active when
-      the board turns it on, from U-Boot or from Linux. When this
-      happens, the network interface name will be \code{enx<macaddr>}.
-      Given the value we gave to \code{usbnet_hostaddr}, it will
-      therefore be \code{enxf8dc7a000001}.
-\end{itemize}
+However,  you won't be able to see the network interface corresponding
+to the Ethernet over USB device connection yet, because it's only active when
+the board turns it on, from U-Boot or from Linux. When this
+happens, the network interface name will be \code{enx<macaddr>}.
+Given the value we gave to \code{usbnet_hostaddr}, it will
+therefore be \code{enxf8dc7a000001}.
 
 Then, instead of configuring the host IP address from NetWork Manager's
 graphical interface, let's do it through its command line interface,




More information about the training-materials-updates mailing list