[bootlin/training-materials updates] master: Boot time: grab grabserial from packages repositories (85952938)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Aug 3 10:09:05 CEST 2020

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


commit 859529388471311a87915728cca1c15e1526c94e
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Aug 3 10:09:05 2020 +0200

    Boot time: grab grabserial from packages repositories
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


 .../boot-time-software-measurement.tex                    | 15 ++-------------
 slides/boot-time-measuring/boot-time-measuring.tex        |  4 +++-
 2 files changed, 5 insertions(+), 14 deletions(-)

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 886403e8..804f576e 100644
--- a/labs/boot-time-software-measurement/boot-time-software-measurement.tex
+++ b/labs/boot-time-software-measurement/boot-time-software-measurement.tex
@@ -8,20 +8,10 @@ software solutions.
 Let's use \code{grabserial} to time all the messages received in the
 serial console, from the first stage bootloader to launching the final
-A prerequisite is to install the \code{python-serial} package:
-sudo apt install python-serial
-Then download the \code{grabserial} executable from
-wget https://raw.githubusercontent.com/tbird20d/grabserial/master/grabserial
-sudo mv grabserial /usr/local/bin
-sudo chmod a+rx /usr/local/bin/grabserial
+sudo apt install grabserial
 We are now ready to time the messages in the serial console. First, exit
@@ -147,4 +137,3 @@ Now, take your calculator and fill the below table with the results from your ex
   Total & & \\
diff --git a/slides/boot-time-measuring/boot-time-measuring.tex b/slides/boot-time-measuring/boot-time-measuring.tex
index 8e0866f6..d575f4f1 100644
--- a/slides/boot-time-measuring/boot-time-measuring.tex
+++ b/slides/boot-time-measuring/boot-time-measuring.tex
@@ -93,13 +93,15 @@
+\url{https://elinux.org/Grabserial} (by Tim Bird)
-\item From Tim Bird: \url{https://elinux.org/Grabserial}
 \item A Python script to add timestamps to messages coming from a
 	serial console.
 \item Key advantage: starts counting very early (bootstrap and bootloader)
 \item Another advantage: no overhead on the target, because run on the host machine.
 \item Drawbacks: may not be precise enough. Can't measure power up time.
+\item Ubuntu package: \code{grabserial}\\
+      Otherwise available on \url{https://github.com/tbird20d/grabserial/}

More information about the training-materials-updates mailing list