[bootlin/training-materials updates] master: U-Boot slides: split slide in 2 (3c44cf7d)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Sep 24 14:11:16 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/3c44cf7d43fa7a132c1ad9fe54919ffa3b1a9f01
>---------------------------------------------------------------
commit 3c44cf7d43fa7a132c1ad9fe54919ffa3b1a9f01
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Sep 24 14:11:16 2020 +0200
U-Boot slides: split slide in 2
- For better readability
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
3c44cf7d43fa7a132c1ad9fe54919ffa3b1a9f01
.../sysdev-bootloaders-u-boot.tex | 35 ++++++++++++----------
1 file changed, 20 insertions(+), 15 deletions(-)
diff --git a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
index 1e8a0b13..47ac5040 100644
--- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
+++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
@@ -264,28 +264,33 @@ GNU ld (crosstool-NG 1.24.0.105_5659366) 2.34
\begin{frame}
\frametitle{Environment variables: principle}
+ \begin{itemize}
+ \item U-Boot can be configured through environment variables
+ \begin{itemize}
+ \item Some specific environment variables impact the behavior of
+ the different commands
+ \item Custom environment variables can be added, and used in
+ scripts
+ \end{itemize}
+ \item Environment variables are loaded from persistent storage to RAM at U-Boot
+ startup. They can be defined or modified and saved back to storage
+ for persistence.
+ \end{itemize}
+\end{frame}
+
+\begin{frame}
+ \frametitle{Environment variables: implementation}
\begin{columns}
- \column{0.7\textwidth}
+ \column{0.5\textwidth}
+ Depending on the configuration, the U-Boot environment is typically stored in:
\begin{itemize}
- \item U-Boot can be configured through environment variables
- \begin{itemize}
- \item Some specific environment variables impact the behavior of
- the different commands
- \item Custom environment variables can be added, and used in
- scripts
- \end{itemize}
- \item Environment variables are loaded from persistent storage to RAM at U-Boot
- startup. They can be defined or modified and saved back to storage for persistence
- \item Depending on the configuration, the U-Boot environment is typically stored in:
- \begin{itemize}
\item At a fixed offset in NAND flash
\item At a fixed offset on MMC or USB storage, before the beginning of
the first partition.
\item In a file (\code{uboot.env}) on a FAT or ext4 partition
\item In a UBI volume
- \end{itemize}
\end{itemize}
- \column{0.3\textwidth}
+ \column{0.5\textwidth}
\includegraphics[width=\textwidth]{slides/sysdev-bootloaders-u-boot/u-boot-environment-configuration.png}\\
\vspace{0.3cm}
\tiny U-Boot environment configuration menu
@@ -305,7 +310,7 @@ GNU ld (crosstool-NG 1.24.0.105_5659366) 2.34
\item \code{editenv <variable-name>}\\
Edits the value of a variable, only in RAM
\item \code{saveenv}\\
- Saves the current state of the environment to flash
+ Saves the current state of the environment to storage
\end{itemize}
\end{frame}
More information about the training-materials-updates
mailing list