[FE training-materials-updates] Misc minor improvements
Michael Opdenacker
michael.opdenacker at free-electrons.com
Wed Dec 7 22:33:26 CET 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=5fcd22acfd5744cb647ab359d40048057975b07e
>---------------------------------------------------------------
commit 5fcd22acfd5744cb647ab359d40048057975b07e
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Wed Dec 7 22:33:26 2016 +0100
Misc minor improvements
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
5fcd22acfd5744cb647ab359d40048057975b07e
slides/kernel-device-model/kernel-device-model.tex | 2 +-
slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex | 9 +++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/slides/kernel-device-model/kernel-device-model.tex b/slides/kernel-device-model/kernel-device-model.tex
index f506b9f..1d4d17f 100644
--- a/slides/kernel-device-model/kernel-device-model.tex
+++ b/slides/kernel-device-model/kernel-device-model.tex
@@ -635,7 +635,7 @@ uart0: serial at 44e09000 {
\begin{frame}[fragile]
\frametitle{Device Tree: {\tt compatible} string}
\begin{itemize}
- \item With the {\em device tree}, a {\em device} is bound with the
+ \item With the {\em device tree}, a {\em device} is bound to the
corresponding {\em driver} using the {\bf compatible} string.
\item The \code{of_match_table} field of \kstruct{device_driver}
lists the compatible strings supported by the driver.
diff --git a/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex b/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
index d437e94..6cec7d0 100644
--- a/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
+++ b/slides/sysdev-linux-intro-modules/sysdev-linux-intro-modules.tex
@@ -50,12 +50,13 @@
\begin{frame}
\frametitle{Module utilities (1)}
+ For all commands, the module name is the name of the module
+ file without the trailing \code{.ko}\\
\begin{itemize}
- \item \code{modinfo <module_name>}\\
+ \item \code{modinfo <module_name>} (for modules in \code{/lib/modules})\\
\code{modinfo <module_path>.ko}\\
- Gets information about a module: parameters, license, description
- and dependencies.\\
- Very useful before deciding to load a module or not.
+ Gets information about a module without loading it: parameters, license,
+ description and dependencies.\\
\item \code{sudo insmod <module_path>.ko}\\
Tries to load the given module. The full path to the module object
file must be given.
More information about the training-materials-updates
mailing list