[bootlin/training-materials updates] master: Embedded Linux kernel cross-compiling lab: add missing "saveenv" (30504b8b)
Michael Opdenacker
michael.opdenacker at bootlin.com
Tue Mar 1 12:01:09 CET 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/30504b8b7ddfaa665737e0021253d713c6429b4f
>---------------------------------------------------------------
commit 30504b8b7ddfaa665737e0021253d713c6429b4f
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Tue Mar 1 12:01:09 2022 +0100
Embedded Linux kernel cross-compiling lab: add missing "saveenv"
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
30504b8b7ddfaa665737e0021253d713c6429b4f
.../sysdev-kernel-cross-compiling-stm32.tex | 5 ++++-
labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex | 1 +
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex b/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
index 8e01b1cf..60974511 100644
--- a/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
+++ b/labs/sysdev-kernel-cross-compiling-stm32/sysdev-kernel-cross-compiling-stm32.tex
@@ -86,7 +86,10 @@ As we are going to boot the Linux kernel from U-Boot,
we need to set the \code{bootargs} environment corresponding
to the Linux kernel command line:
-\code{setenv bootargs console=ttyS0}
+\begin{ubootinput}
+=> setenv bootargs console=ttyS0
+=> saveenv
+\end{ubootinput}
We will use TFTP to load the kernel image on the Discovery kit:
diff --git a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
index 9843cf05..64ab5a3a 100644
--- a/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
+++ b/labs/sysdev-kernel-cross-compiling/sysdev-kernel-cross-compiling.tex
@@ -98,6 +98,7 @@ to the Linux kernel command line:
\begin{ubootinput}
=> setenv bootargs console=%\ttyname%
+=> saveenv
\end{ubootinput}
We will use TFTP to load the kernel image on the board:
More information about the training-materials-updates
mailing list