[BL training-materials-updates] Fix kernel config settings for BBB Wireless

Michael Opdenacker michael.opdenacker at bootlin.com
Sun May 27 16:01:40 CEST 2018


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

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

commit b769fd2193b7546bbef673a7dc8498088481bad3
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Sun May 27 16:01:40 2018 +0200

    Fix kernel config settings for BBB Wireless
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


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

b769fd2193b7546bbef673a7dc8498088481bad3
 .../kernel-compiling-and-nfs-booting.tex               | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex b/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
index 34565b9..ac40a26 100644
--- a/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
+++ b/labs/kernel-compiling-and-nfs-booting/kernel-compiling-and-nfs-booting.tex
@@ -76,9 +76,16 @@ use your cross-compiler.
 For the BeagleBone Black Wireless board, add the below options:
 \begin{itemize}
   \item \code{CONFIG_USB_GADGET=y}
-  \item \code{CONFIG_USB_ETH=y}
-  \item \code{CONFIG_USB_ETH_EEM=y}
-  \item \code{CONFIG_USB_ETH_RNDIS=y}
+  \item \code{CONFIG_USB_MUSB_HDRC} {\em Driver for the USB OTG
+        controller}
+  \item \code{CONFIG_USB_MUSB_GADGET} {\em Use the USB OTG controller
+	in device (gadget) mode} 
+  \item \code{CONFIG_MUSB_DSPS}=y
+  \item Check the dependencies of \code{CONFIG_AM335X_PHY_USB}
+        and find the way to set \code{CONFIG_AM335X_PHY_USB=y}
+  \item Find the "USB Gadget precomposed configurations" menu
+        and set it to {\em static} instead of {\em module}
+	so that \code{CONFIG_USB_ETH=y}
 \end{itemize}
 
 Make sure that this configuration has \code{CONFIG_ROOT_NFS=y} (support
@@ -94,7 +101,7 @@ make -j 4
 \end{verbatim}
 
 Now, copy the \code{zImage} and \code{am335x-boneblack.dtb}
-or \code{am335x-boneblack-wireless.dtb}files
+or \code{am335x-boneblack-wireless.dtb} files
 to the TFTP server home directory (\code{/var/lib/tftpboot}).
 
 \section{Setting up the NFS server}
@@ -149,9 +156,6 @@ setenv bootargs root=/dev/nfs rw ip=192.168.0.100:::::usb0
   nfsroot=192.168.0.1:/home/<user>/linux-kernel-labs/modules/nfsroot
 \end{verbatim}
 
-Of course, you need to adapt the IP addresses to your exact network
-setup.
-
 Now save this definition:
 \begin{verbatim}
 saveenv




More information about the training-materials-updates mailing list