[bootlin/training-materials updates] master: Boot time lab U-Boot version updates (65bf2fd8)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Apr 1 19:29:51 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/65bf2fd8d02aeff3b00fee2d502bb56050680bda
>---------------------------------------------------------------
commit 65bf2fd8d02aeff3b00fee2d502bb56050680bda
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Apr 1 19:29:51 2021 +0200
Boot time lab U-Boot version updates
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
65bf2fd8d02aeff3b00fee2d502bb56050680bda
labs/boot-time-application/boot-time-application.tex | 0
labs/boot-time-bootloader/boot-time-bootloader.tex | 10 +++++-----
.../boot-time-hardware-measurement.tex | 9 +++++++--
labs/boot-time-kernel/boot-time-kernel.tex | 4 ++--
.../boot-time-software-measurement.tex | 19 ++++++++-----------
5 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/labs/boot-time-bootloader/boot-time-bootloader.tex b/labs/boot-time-bootloader/boot-time-bootloader.tex
index 82b06b08..d2342cf1 100644
--- a/labs/boot-time-bootloader/boot-time-bootloader.tex
+++ b/labs/boot-time-bootloader/boot-time-bootloader.tex
@@ -38,9 +38,9 @@ time and fill the below table:
Step & Duration & Description \\
\hline
\hline
- U-Boot SPL & & Between \code{U-Boot SPL 2019.01} and \code{U-Boot 2019.01} \\
+ U-Boot SPL & & Between \code{U-Boot SPL 2021.01} and \code{U-Boot 2021.01} \\
\hline
- U-Boot & & Between \code{U-Boot 2019.01} and \code{Starting kernel} \\
+ U-Boot & & Between \code{U-Boot 2021.01} and \code{Starting kernel} \\
\hline
Kernel + Init scripts & & Between \code{Starting kernel} and \code{Starting ffmpeg} \\
\hline
@@ -77,9 +77,9 @@ latest results:
Step & Duration & Description \\
\hline
\hline
- U-Boot SPL & & Between \code{U-Boot SPL 2019.01} and \code{U-Boot 2019.01} \\
+ U-Boot SPL & & Between \code{U-Boot SPL 2021.01} and \code{U-Boot 2021.01} \\
\hline
- U-Boot & & Between \code{U-Boot 2019.01} and \code{Starting kernel} \\
+ U-Boot & & Between \code{U-Boot 2021.01} and \code{Starting kernel} \\
\hline
Kernel + Init scripts & & Between \code{Starting kernel} and \code{Starting ffmpeg} \\
\hline
@@ -194,7 +194,7 @@ When it works, update your table again:
Step & Duration & Description \\
\hline
\hline
- U-Boot SPL & & Between \code{U-Boot SPL 2019.01} and \code{Starting kernel} \\
+ U-Boot SPL & & Between \code{U-Boot SPL 2021.01} and \code{Starting kernel} \\
\hline
Kernel + Init scripts & & Between \code{Starting kernel} and \code{Starting ffmpeg} \\
\hline
diff --git a/labs/boot-time-hardware-measurement/boot-time-hardware-measurement.tex b/labs/boot-time-hardware-measurement/boot-time-hardware-measurement.tex
index 61b9a412..7f352e92 100644
--- a/labs/boot-time-hardware-measurement/boot-time-hardware-measurement.tex
+++ b/labs/boot-time-hardware-measurement/boot-time-hardware-measurement.tex
@@ -166,6 +166,10 @@ instructor:
\includegraphics[width=0.7\textwidth]{labs/boot-time-hardware-measurement/nano-final.png}
\end{center}
+Last but not least, don't forget to connect the ground level
+on the Arduino board to the one on the Beagle Bone Black (pins \code{1}
+or \code{2} on either \code{P8} or \code{P9} connectors.
+
\section{Making ffmpeg drive the custom GPIO}
Once we know how to modify \code{ffmpeg} to write to its output after
@@ -173,7 +177,7 @@ processing the first frame, it's easy to add code that configures our
custom GPIO line and drives it.
So, modify your Buildroot customizations so that you use the patch in
-\code{boot-time-labs/rootfs/data/0001-ffmpeg-first-frame-completion-log-and-gpio.patc}
+\code{boot-time-labs/rootfs/data/0001-ffmpeg-first-frame-completion-log-and-gpio.patch}
instead of the previously used one (look at what it does!).
Rebuild and reflash your root filesystem.
@@ -181,7 +185,8 @@ Rebuild and reflash your root filesystem.
\section{Final version of the Arduino program}
We should now be able to test our full system. Loading the sketch in
-\code{~/boot-time-labs/arduino/stopwatch/}. Upload and run it.
+\code{~/boot-time-labs/arduino/stopwatch/}. Upload and run it, and then
+press the \code{RESET} button on your board.
If things don't work as expected, you can also open the Arduino Serial
Monitor (in the \code{Tools} menu), and read the pins values that
diff --git a/labs/boot-time-kernel/boot-time-kernel.tex b/labs/boot-time-kernel/boot-time-kernel.tex
index ca578534..88976d35 100644
--- a/labs/boot-time-kernel/boot-time-kernel.tex
+++ b/labs/boot-time-kernel/boot-time-kernel.tex
@@ -192,9 +192,9 @@ update the below table:
Step & Duration & Description \\
\hline
\hline
- U-Boot SPL & & Between \code{U-Boot SPL 2019.01} and \code{U-Boot 2019.01} \\
+ U-Boot SPL & & Between \code{U-Boot SPL 2021.01} and \code{U-Boot 2021.01} \\
\hline
- U-Boot & & Between \code{U-Boot 2019.01} and \code{Starting kernel} \\
+ U-Boot & & Between \code{U-Boot 2021.01} and \code{Starting kernel} \\
\hline
Kernel + Init scripts & & Between \code{Starting kernel} and \code{Starting ffmpeg} \\
\hline
diff --git a/labs/boot-time-software-measurement/boot-time-software-measurement.tex b/labs/boot-time-software-measurement/boot-time-software-measurement.tex
index 804f576e..388a058d 100644
--- a/labs/boot-time-software-measurement/boot-time-software-measurement.tex
+++ b/labs/boot-time-software-measurement/boot-time-software-measurement.tex
@@ -33,15 +33,12 @@ Now, insert the USB power cable and see the console messages with their
timing information:
\begin{verbatim}
-[0.000001 0.000001]
-[0.000235 0.000234] U-Boot SPL 2019.01 (May 17 2019 - 05:15:21 +0200)
-[0.058954 0.058719] Trying to boot from MMC1
-[0.128419 0.069465] Loading Environment from FAT... *** Warning - bad CRC, using default environment
-[0.153105 0.024686]
-[0.169676 0.016571] Loading Environment from MMC... OK
-[0.523465 0.353789]
-[0.523647 0.000182]
-[0.523722 0.000075] U-Boot 2019.01 (May 17 2019 - 05:15:21 +0200)
+0.000000 0.000000]
+[2.596791 2.596791] U-Boot SPL 2021.01 (Mar 05 2021 - 16:02:48 +0100)
+[2.601680 0.004889] Trying to boot from MMC1
+[3.013119 0.411439]
+[3.013584 0.000465]
+[3.013835 0.000251] U-Boot 2021.01 (Mar 05 2021 - 16:02:48 +0100)
...
\end{verbatim}
@@ -123,9 +120,9 @@ Now, take your calculator and fill the below table with the results from your ex
Step & Duration & Description \\
\hline
\hline
- U-Boot SPL & & Between \code{U-Boot SPL 2019.01} and \code{U-Boot 2019.01} \\
+ U-Boot SPL & & Between \code{U-Boot SPL 2021.01} and \code{U-Boot 2021.01} \\
\hline
- U-Boot & & Between \code{U-Boot 2019.01} and \code{Starting kernel} \\
+ U-Boot & & Between \code{U-Boot 2021.01} and \code{Starting kernel} \\
\hline
Kernel & & Between \code{Starting kernel} and \code{Run /sbin/init} \\
\hline
More information about the training-materials-updates
mailing list