[FE training-materials-updates] Modify fastboot slides to talk a bit more about the commands rather than the protocol
Maxime Ripard
maxime.ripard at free-electrons.com
Mon Apr 14 18:16:23 CEST 2014
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=b49a84131ac264ae83c62989c6b717cf7d8f606e
>---------------------------------------------------------------
commit b49a84131ac264ae83c62989c6b717cf7d8f606e
Author: Maxime Ripard <maxime.ripard at free-electrons.com>
Date: Mon Apr 14 16:06:59 2014 +0200
Modify fastboot slides to talk a bit more about the commands rather than the protocol
Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>---------------------------------------------------------------
b49a84131ac264ae83c62989c6b717cf7d8f606e
.../android-bootloaders-fastboot.tex | 57 ++++++++++----------
1 file changed, 28 insertions(+), 29 deletions(-)
diff --git a/slides/android-bootloaders-fastboot/android-bootloaders-fastboot.tex b/slides/android-bootloaders-fastboot/android-bootloaders-fastboot.tex
index e3a4216..7818bdf 100644
--- a/slides/android-bootloaders-fastboot/android-bootloaders-fastboot.tex
+++ b/slides/android-bootloaders-fastboot/android-bootloaders-fastboot.tex
@@ -34,47 +34,46 @@
\end{frame}
\begin{frame}
- \frametitle{Commands available 1/2}
+ \frametitle{Booting into Fastboot}
\begin{itemize}
- \item Vendor-specific commands must begin with an upper-case
- character. Commands beginning with a lower-case character are reserved
- for the Fastboot specifications and their evolution
- \item Commands defined by the Fastboot specifications are:
+ \item On most devices, it's disabled by default (the bootloader
+ won't even implement it)
+ \item On devices that support it, such as Google Nexus', you have
+ several options:
+ \begin{itemize}
+ \item Use a combination of keys at boot to start the bootloader
+ right away into its fastboot mode
+ \item Use the \code{adb reboot bootloader} command on your
+ workstation. The device will reboot in fastboot mode, awaiting
+ for inputs.
+ \end{itemize}
+ \item You can then interact with the device through the
+ \code{fastboot} command on your workstation
\end{itemize}
- \begin{description}
- \item[getvar:\%s] Reads a variable from the bootloader. It will be
- returned after the \code{OKAY} command.
- \item[download:\%08x] Writes data to memory on the device to be used
- later. The client either replies \code{DATA\%08x} if it succeeded
- or \code{FAIL}.
- \item[verify:\%08x] Sends a digital signature to verify the
- previously downloaded data. Required if the device is secure.
- \item[flash:\%s] Writes the previously sent data to the given
- partition.
- \end{description}
\end{frame}
\begin{frame}
- \frametitle{Commands available 2/2}
- \begin{description}
- \item[erase:\%s] Erases the given flash partition (sets all the
- partition to \code{0xFF}
- \item[boot] Means that what was last downloaded is a root filesystem,
- and instructs to boot on it.
- \item[continue] Orders the device to continue booting as usual
- \item[reboot] Reboots the device
- \item[reboot-bootloader] Reboots back in the bootloader mode
- \item[powerdown] Powers off the device
- \end{description}
+ \frametitle{Major Fastboot Commands}
+ \begin{itemize}
+ \item You can get all the commands through \code{fastboot -h}
+ \item The more widely used commands are:
+ \begin{description}
+ \item[devices] Lists the fastboot-capable devices
+ \item[boot] Downloads a kernel and boots on it
+ \item[erase] Erases a given flash partition name
+ \item[flash] Writes a given name to a given flash partition
+ \item[getvar] Retrieves a variable from the bootloader
+ \item[continue] Goes on with a regular boot
+ \end{description}
+ \end{itemize}
\end{frame}
\begin{frame}
- \frametitle{Defined variables}
+ \frametitle{\code{getvar} Variables}
\begin{itemize}
\item Vendor-specific variables must also begin with a upper-case
letter. Variables beginning with a lower-case letter are reserved
for the Fastboot specifications and their evolution.
- \item They are retrieved through the \code{getvar} command.
\begin{description}
\item[version] Version of the Fastboot protocol implemented
\item[version-bootloader] Version of the bootloader
More information about the training-materials-updates
mailing list