[bootlin/training-materials updates] master: slides/sysdev-bootloaders-u-boot: add variables needed for Generic Distro boot (8a21c66f)
Michael Opdenacker
michael.opdenacker at bootlin.com
Tue Dec 6 10:49:11 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/8a21c66f8f6f7271f440bf3fcf2a0c64a23ef401
>---------------------------------------------------------------
commit 8a21c66f8f6f7271f440bf3fcf2a0c64a23ef401
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Tue Dec 6 10:49:11 2022 +0100
slides/sysdev-bootloaders-u-boot: add variables needed for Generic Distro boot
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
8a21c66f8f6f7271f440bf3fcf2a0c64a23ef401
.../sysdev-bootloaders-u-boot.tex | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 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 6b093920..7e9a4a7f 100644
--- a/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
+++ b/slides/sysdev-bootloaders-u-boot/sysdev-bootloaders-u-boot.tex
@@ -849,7 +849,7 @@ Kernel image @ 0xc0100000 [ 0x000000 - 0x7306c8 ]
\end{itemize}
\end{frame}
-\begin{frame}{Generic Distro boot}
+\begin{frame}{Generic Distro boot (1)}
\begin{itemize}
\item Each board/platform used to have its own U-Boot environment,
with custom variables/commands
@@ -873,7 +873,22 @@ Kernel image @ 0xc0100000 [ 0x000000 - 0x7306c8 ]
\end{itemize}
\end{frame}
-\begin{frame}[fragile]{Generic Distro boot example}
+\begin{frame}[fragile]{Generic Distro boot (2)}
+ \begin{columns}
+ \column{0.5\textwidth}
+ \small
+ Several environment variables need to be set:
+ \begin{itemize}
+ \item \code{kernel_addr_r}: address in RAM to load the kernel image
+ \item \code{ramdisk_addr_r}: address in RAM to load the initramfs image (if any)
+ \item \code{fdt_addr_r}: address in RAM to load the DTB (Flattened
+ Device Tree)
+ \item \code{pxefile_addr_r}: address in RAM to load the
+ configuration file (usually \code{extlinux.conf})
+ \item \code{bootfile}: the path to the configuration file,
+ for example \code{/boot/extlinux/extlinux.conf}
+ \end{itemize}
+ \column{0.5\textwidth}
\begin{block}{Example {\tt /boot/extlinux/extlinux.conf}}
{\tiny
\begin{verbatim}
@@ -911,4 +926,5 @@ Starting kernel ...
\end{verbatim}
}
\end{block}
+ \end{columns}
\end{frame}
More information about the training-materials-updates
mailing list