[bootlin/training-materials updates] master: Thirdparty lab updates (2b63e222)
Michael Opdenacker
michael.opdenacker at bootlin.com
Mon Aug 3 14:46:54 CEST 2020
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/2b63e222ff0f016348454f457312294d459557b9
>---------------------------------------------------------------
commit 2b63e222ff0f016348454f457312294d459557b9
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Mon Aug 3 14:46:54 2020 +0200
Thirdparty lab updates
- Update versions of alsa-utils and alsa-libs
- Ask people to compare size before and after stripping
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
2b63e222ff0f016348454f457312294d459557b9
labs/sysdev-thirdparty/sysdev-thirdparty.tex | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index 1b8f23c4..137352fd 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -121,7 +121,7 @@ Make your board boot from this new directory through NFS.
\code{alsa-lib} is a library supposed to handle the interaction with
the ALSA subsystem. It is available at
-\url{https://alsa-project.org}. Download version 1.2.2, and extract it
+\url{https://alsa-project.org}. Download version 1.2.3.1, and extract it
in \code{$HOME/__SESSION_NAME__-labs/thirdparty/}.
{\bf Tip}: if the website for any of the source packages that we
@@ -342,10 +342,15 @@ Finally, let's install the library in the {\em target} space:
\begin{itemize}
\item \code{cp -a staging/usr/lib/libasound.so.2* target/usr/lib}
\end{itemize}
+\item Measure the size of the \code{target/usr/lib/libasound.so.2.0.0}
+ library before stripping.
\item Strip the library:
\begin{itemize}
\item \code{arm-linux-strip target/usr/lib/libasound.so.2.0.0}
\end{itemize}
+\item Measure the size of the \code{target/usr/lib/libasound.so.2.0.0}
+ library library again after stripping. How many unnecessary bytes
+ were saved?
\end{enumerate}
And we're done with alsa-lib!
@@ -353,7 +358,7 @@ And we're done with alsa-lib!
\section{Alsa-utils}
Download alsa-utils from the ALSA offical webpage. We tested the lab
-with version 1.2.2
+with version 1.2.3.1.
Once uncompressed, we quickly discover that the alsa-utils build
system is based on the {\em autotools}, so we will work once again
More information about the training-materials-updates
mailing list