# [FE training-materials-updates] android-new-board: the vendor id appears after starting fastboot

Alexandre Belloni alexandre.belloni at free-electrons.com
Tue Jun 30 12:16:34 CEST 2015

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

On branch  : master

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

commit cc07bb91b53d115c3a040e1e6533ee682c3c87e1
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Tue Jun 30 12:13:28 2015 +0200

android-new-board: the vendor id appears after starting fastboot

Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>

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

cc07bb91b53d115c3a040e1e6533ee682c3c87e1
labs/android-new-board/android-new-board.tex | 45 +++++++++++++++-------------
1 file changed, 24 insertions(+), 21 deletions(-)

diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index af2eabf..5af08d5 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -168,7 +168,26 @@ you wish to exit \code{picocom}, press \code{[Ctrl][a]} followed by

You should then be able to access the serial console.

-\section{Configure USB access on your machine}
+\section{Flashing and Booting the Images}
+
+To flash the images we previously generated, we will use
+\code{fastboot}.
+
+The first thing you need to do is power up the board, and stop the
+bootloader automatic boot. To do so, press a key in the \code{picocom}
+terminal whenever the U-boot countdown shows up. You should then see
+the U-Boot prompt:
+\begin{verbatim}
+U-Boot>
+\end{verbatim}
+
+You can now use U-Boot. Run the \code{help} command to see the
+available commands. To switch to fastboot mode, the only thing you
+need to do is type the command \code{fastboot} in this prompt.
+
+The device will then wait for fastboot communications on its USB port.
+
+\subsection{Configure USB access on your machine}

Your instructor will now give you a USB to mini-USB cable. Connect
the mini-USB connector to your board, and the other connector to your
@@ -188,32 +207,16 @@ that we can access it as a user. To do so, create the file

You can retrieve the vendor and product IDs to use when by using the
-\code{lsusb} command, and looking at the line with \code{Google
-  Inc.}. You should see on this line the IDs to use, with the format
+\code{lsusb} command, and looking at the line with \code{Texas
+Instrument, Inc.}. You should see on this line the IDs to use, with
+the format
\code{ID <VendorID>:<ProductID>}.

Now, unplug the USB cable and plug it again. You should now be able to
use \code{fastboot} from your user account, with the command
\code{fastboot devices} showing the board properly.

-\section{Flashing and Booting the Images}
-
-To flash the images we previously generated, we will use
-\code{fastboot}.
-
-The first thing you need to do is power up the board, and stop the
-bootloader automatic boot. To do so, press a key in the \code{picocom}
-terminal whenever the U-boot countdown shows up. You should then see
-the U-Boot prompt:
-\begin{verbatim}
-U-Boot>
-\end{verbatim}
-
-You can now use U-Boot. Run the \code{help} command to see the
-available commands. To switch to fastboot mode, the only thing you
-need to do is type the command \code{fastboot} in this prompt.
-
-The device will then wait for fastboot communications on its USB port.
+\subsection{Flashing}

On your workstation, first start by formatting the device