[bootlin/training-materials updates] master: Boot time: bootchart fixes (306784d6)

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Apr 7 07:29:41 CEST 2021


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/306784d6c8c23cc56d2eb1fac78361a270980585

>---------------------------------------------------------------

commit 306784d6c8c23cc56d2eb1fac78361a270980585
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Apr 7 07:29:41 2021 +0200

    Boot time: bootchart fixes
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


>---------------------------------------------------------------

306784d6c8c23cc56d2eb1fac78361a270980585
 .../boot-time-init-scripts.tex                      |  2 +-
 .../boot-time-init-scripts.tex                      | 21 ++++++++++++++-------
 2 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/labs/boot-time-init-scripts/boot-time-init-scripts.tex b/labs/boot-time-init-scripts/boot-time-init-scripts.tex
index 26d6e635..006dc1b9 100644
--- a/labs/boot-time-init-scripts/boot-time-init-scripts.tex
+++ b/labs/boot-time-init-scripts/boot-time-init-scripts.tex
@@ -81,7 +81,7 @@ sudo apt install ant openjdk-11-jdk
 Note that \code{ant} is a Java based build tool like \code{make}.
 
 Now, get the \code{bootchart} source code for version 0.9 from
-\url{http://www.bootchart.org/}\footnote{Don't try to get the \code{bootchart} package supplied by
+\url{https://bootlin.com/pub/source/bootchart-0.9.tar.bz2}\footnote{Don't try to get the \code{bootchart} package supplied by
 Ubuntu instead. While it has similar functionality, it looks like a completely
 unrelated piece of software. To confirm this, it has no dependency
 whatsoever on Java packages.}, compile it and use \code{bootchart} to generate the boot
diff --git a/slides/boot-time-init-scripts/boot-time-init-scripts.tex b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
index 51a9cb1e..f9968b99 100644
--- a/slides/boot-time-init-scripts/boot-time-init-scripts.tex
+++ b/slides/boot-time-init-scripts/boot-time-init-scripts.tex
@@ -13,12 +13,16 @@ starting the application:
 
 \begin{frame}
 \frametitle{Measuring - bootchart}
-If you want to have a more detailed look at the userland boot sequence
-than with \code{grabserial}, you can use \code{bootchart}.
-\begin{figure}[h!]
-	\centering
-	\includegraphics[height=0.6\textheight]{slides/boot-time-init-scripts/bootlog.png}
-\end{figure}
+\begin{columns}
+\column{0.7\textwidth}
+\begin{itemize}
+	\item If you want to have a more detailed look at the userland boot sequence
+              than with \code{grabserial}, you can use \code{bootchart}.
+	\item \url{http://www.bootchart.org}
+\end{itemize}
+\column{0.3\textwidth}
+\includegraphics[height=0.6\textheight]{slides/boot-time-init-scripts/bootlog.png}
+\end{columns}
 \end{frame}
 
 \begin{frame}[fragile]
@@ -29,6 +33,9 @@ than with \code{grabserial}, you can use \code{bootchart}.
 	\item Boot your board passing \code{init=/sbin/bootchartd} on your
 	      kernel command line
 	\item Copy \code{/var/log/bootlog.tgz} from your target to your host
+	\item The last release of Bootchart is from 2007, and is now
+	      broken on \url{http://www.bootchart.org}. Download a copy
+	      from \url{https://bootlin.com/pub/source/bootchart-0.9.tar.bz2}
 	\item Generate the timechart:
 \begin{block}{}
 \begin{verbatim}
@@ -36,8 +43,8 @@ cd bootchart-<version>
 java -jar bootchart.jar bootlog.tgz
 \end{verbatim}
 \end{block}
+	\item This produces a \code{bootlog.png} image
 \end{itemize}
-\code{bootchart} is available at \url{http://www.bootchart.org}
 \end{frame}
 
 \begin{frame}[fragile]




More information about the training-materials-updates mailing list