[bootlin/training-materials updates] master: Embedded Linux: misc improvements (d390e58d)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon May 25 13:57:57 CEST 2020


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

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

commit d390e58dfe97712001cf46e0e37819e2c7257c28
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon May 25 13:57:57 2020 +0200

    Embedded Linux: misc improvements
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

d390e58dfe97712001cf46e0e37819e2c7257c28
 .../sysdev-dev-environment.tex                     |  11 +++-
 slides/sysdev-intro/pocketbeagle.png               | Bin 0 -> 213673 bytes
 slides/sysdev-intro/richard-stallman.jpg           | Bin 0 -> 132816 bytes
 slides/sysdev-intro/stm32mp157c-ev1.png            | Bin 0 -> 403563 bytes
 slides/sysdev-intro/sysdev-intro.tex               |  68 +++++++++++++++------
 .../sysdev-linux-intro-sources.tex                 |   2 +-
 6 files changed, 61 insertions(+), 20 deletions(-)

diff --git a/slides/sysdev-dev-environment/sysdev-dev-environment.tex b/slides/sysdev-dev-environment/sysdev-dev-environment.tex
index 7190d377..9c158c2d 100644
--- a/slides/sysdev-dev-environment/sysdev-dev-environment.tex
+++ b/slides/sysdev-dev-environment/sysdev-dev-environment.tex
@@ -22,9 +22,9 @@
 
 \begin{frame}
   \frametitle{OS for Linux development}
+  We strongly recommend to use GNU/Linux as the desktop operating
+  system to embedded Linux developers, for multiple reasons.
   \begin{itemize}
-  \item We strongly recommend to use Linux as the desktop operating
-    system to embedded Linux developers, for multiple reasons.
   \item All community tools are developed and designed to run on
     Linux. Trying to use them on other operating systems (Windows, Mac
     OS X) will lead to trouble, and their usage on these systems is
@@ -32,6 +32,9 @@
   \item As Linux also runs on the embedded device, all the knowledge
     gained from using Linux on the desktop will apply similarly to the
     embedded device.
+  \item If you are stuck with a Windows desktop, at least you should
+    use GNU/Linux in a virtual machine (such as VirtualBox which is open
+    source), though there could be a small performance penalty.
   \end{itemize}
   \begin{center}
     \includegraphics[width=0.5\textwidth]{slides/sysdev-dev-environment/linux-as-development-os.pdf}
@@ -104,6 +107,10 @@
     FTP servers
   \item You should only use packages from official repositories for your
     distribution, unless strictly required.
+  \item Note: {\em Snap} and {\em Flatpak} offer new ways of packaging
+    applications in a self-contained way. See
+    \url{https://www.atechtown.com/flatpak-vs-snap/}.
+
 \end{itemize}
 \end{frame}
 
diff --git a/slides/sysdev-intro/pocketbeagle.png b/slides/sysdev-intro/pocketbeagle.png
new file mode 100644
index 00000000..333a6399
Binary files /dev/null and b/slides/sysdev-intro/pocketbeagle.png differ
diff --git a/slides/sysdev-intro/richard-stallman.jpg b/slides/sysdev-intro/richard-stallman.jpg
new file mode 100644
index 00000000..7b979c8a
Binary files /dev/null and b/slides/sysdev-intro/richard-stallman.jpg differ
diff --git a/slides/sysdev-intro/stm32mp157c-ev1.png b/slides/sysdev-intro/stm32mp157c-ev1.png
new file mode 100644
index 00000000..c40eefe7
Binary files /dev/null and b/slides/sysdev-intro/stm32mp157c-ev1.png differ
diff --git a/slides/sysdev-intro/sysdev-intro.tex b/slides/sysdev-intro/sysdev-intro.tex
index dff41f8b..2186bfcd 100644
--- a/slides/sysdev-intro/sysdev-intro.tex
+++ b/slides/sysdev-intro/sysdev-intro.tex
@@ -1,21 +1,32 @@
 \section{Introduction to Embedded Linux}
 
 \begin{frame}
-  \frametitle{Birth of free software}
-  \begin{itemize}
-  \item 1983, Richard Stallman, {\bf GNU project} and the {\bf free
-      software} concept.  Beginning of the development of {\em gcc},
-    {\em gdb}, {\em glibc} and other important tools
-  \item 1991, Linus Torvalds, {\bf Linux kernel project}, a UNIX-like
-    operating system kernel. Together with GNU software and many other
-    open-source components: a completely free operating system,
-    GNU/Linux
-  \item ~1995, Linux is more and more popular on server systems
-  \item ~2000, Linux is more and more popular on {\bf embedded
-      systems}
-  \item ~2008, Linux is more and more popular on mobile devices
-  \item ~2010, Linux is more and more popular on phones
-  \end{itemize}
+  \frametitle{Birth of Free Software}
+  \begin{columns}
+    \column{0.75\textwidth}
+      \begin{itemize}
+      \item 1983, Richard Stallman, {\bf GNU project} and the {\bf free
+          software} concept.  Beginning of the development of {\em gcc},
+        {\em gdb}, {\em glibc} and other important tools
+      \item 1991, Linus Torvalds, {\bf Linux kernel project}, a UNIX-like
+        operating system kernel. Together with GNU software and many other
+        open-source components: a completely free operating system,
+        GNU/Linux
+      \item ~1995, Linux is more and more popular on server systems
+      \item ~2000, Linux is more and more popular on {\bf embedded
+          systems}
+      \item ~2008, Linux is more and more popular on mobile devices
+      \item ~2010, Linux is more and more popular on phones
+      \end{itemize}
+    \column{0.25\textwidth}
+      \includegraphics[width=\textwidth]{slides/sysdev-intro/richard-stallman.jpg}
+      \scriptsize
+      Richard Stallman in 2019\\
+      \tiny
+      Image credits (Wikipedia):\\
+      \url{https://frama.link/qC73jkk4}
+    \end{columns}
+
 \end{frame}
 
 \begin{frame}
@@ -284,7 +295,9 @@
 \end{frame}
 
 \begin{frame}
-  \frametitle{Types of hardware platforms}
+  \frametitle{Types of hardware platforms (1)}
+  \begin{columns}
+  \column{0.75\textwidth}
   \begin{itemize}
   \item {\bf Evaluation platforms} from the SoC vendor. Usually
     expensive, but many peripherals are built-in. Generally unsuitable
@@ -293,6 +306,27 @@
     CPU/RAM/flash and a few other core components, with connectors to
     access all other peripherals. Can be used to build end products
     for small to medium quantities.
+  \end{itemize}
+  \column{0.25\textwidth}
+    \includegraphics[width=\textwidth]{slides/sysdev-intro/stm32mp157c-ev1.png}
+    \scriptsize
+    STM32MP157C-EV1 evaluation board\\
+    \tiny
+    Image credits (st.com):\\
+    \url{https://frama.link/cFseMy8H}\\
+    \vspace{0.5cm}
+    \includegraphics[width=\textwidth]{slides/sysdev-intro/pocketbeagle.png}
+    \scriptsize
+    PocketBeagle\\
+    \tiny
+    Image credits (Beagleboard.org):\\
+    \url{https://beagleboard.org/pocket}
+  \end{columns}
+\end{frame}
+
+\begin{frame}
+  \frametitle{Types of hardware platforms (2)}
+  \begin{itemize}
   \item {\bf Community development platforms}, to make a
     particular SoC popular and easily available. These are
     ready-to-use and low cost, but usually have less peripherals than
@@ -301,7 +335,7 @@
   \item {\bf Custom platform}. Schematics for evaluation boards or
     development platforms are more and more commonly freely available,
     making it easier to develop custom platforms.
-\end{itemize}
+  \end{itemize}
 \end{frame}
 
 \begin{frame}
diff --git a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
index 7336e499..50cd7697 100644
--- a/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
+++ b/slides/sysdev-linux-intro-sources/sysdev-linux-intro-sources.tex
@@ -42,7 +42,7 @@
     \item Fetch the entire kernel sources and history\\
       \code{git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git}
     \item Create a branch that starts at a specific stable version\\
-      \code{git checkout -b <name-of-branch> v3.11}
+      \code{git checkout -b <name-of-branch> v5.6}
     \item Web interface available at
       \url{https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/}
     \item Read more about Git at \url{https://git-scm.com/}




More information about the training-materials-updates mailing list