[FE training-materials-updates] kernel labs: switch to Linux 4.9
Michael Opdenacker
michael.opdenacker at free-electrons.com
Tue Nov 29 14:52:57 CET 2016
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=85a0ba7b9fc9265500e182a1a4ef8a8fd55944ff
>---------------------------------------------------------------
commit 85a0ba7b9fc9265500e182a1a4ef8a8fd55944ff
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Tue Nov 29 14:52:57 2016 +0100
kernel labs: switch to Linux 4.9
- Hardware testing was ok, of course
Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>
>---------------------------------------------------------------
85a0ba7b9fc9265500e182a1a4ef8a8fd55944ff
labs/kernel-i2c-device-model/kernel-i2c-device-model.tex | 4 ++--
labs/kernel-module-simple/kernel-module-simple.tex | 4 ++--
labs/kernel-serial-iomem/kernel-serial-iomem.tex | 2 +-
labs/kernel-sources-exploring/kernel-sources-exploring.tex | 10 ++++++----
labs/setup/setup.tex | 2 +-
5 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
index c4ce070..b57bf9c 100644
--- a/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
+++ b/labs/kernel-i2c-device-model/kernel-i2c-device-model.tex
@@ -17,10 +17,10 @@ device/driver match.
\section{Setup}
Go to the \code{~/linux-kernel-labs/src/linux} directory. Check out the
-\code{4.5.y} branch.
+\code{4.9.y} branch.
Now create a new \code{nunchuk} branch starting from the
-\code{4.5.y} branch, for your upcoming work on the nunchuk
+\code{4.9.y} branch, for your upcoming work on the nunchuk
driver.
\section{Connecting the nunchuk}
diff --git a/labs/kernel-module-simple/kernel-module-simple.tex b/labs/kernel-module-simple/kernel-module-simple.tex
index 1c2aff1..c4ce4ee 100644
--- a/labs/kernel-module-simple/kernel-module-simple.tex
+++ b/labs/kernel-module-simple/kernel-module-simple.tex
@@ -102,7 +102,7 @@ As we are going to make changes to the kernel sources, first create a
special branch for such changes:
\begin{verbatim}
-git checkout 4.5.y
+git checkout 4.9.y
git checkout -b hello
\end{verbatim}
@@ -147,7 +147,7 @@ from the commits between your branch and another branch, usually the
one you started from:
\begin{verbatim}
-git format-patch 4.5.y
+git format-patch 4.9.y
\end{verbatim}
Have a look at the generated file. You can see that its name reused
diff --git a/labs/kernel-serial-iomem/kernel-serial-iomem.tex b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
index a5b400a..203ef33 100644
--- a/labs/kernel-serial-iomem/kernel-serial-iomem.tex
+++ b/labs/kernel-serial-iomem/kernel-serial-iomem.tex
@@ -22,7 +22,7 @@ is independent from the nunchuk changes, it's best to create a separate
branch!
\begin{verbatim}
-git checkout 4.5.y
+git checkout 4.9.y
git checkout -b uart
\end{verbatim}
diff --git a/labs/kernel-sources-exploring/kernel-sources-exploring.tex b/labs/kernel-sources-exploring/kernel-sources-exploring.tex
index cd7b707..caed737 100644
--- a/labs/kernel-sources-exploring/kernel-sources-exploring.tex
+++ b/labs/kernel-sources-exploring/kernel-sources-exploring.tex
@@ -26,18 +26,20 @@ cd ~/linux-kernel-labs/src/linux
git branch -a
\end{verbatim}
-As we will do our labs with the Linux 4.5 stable branch, the remote branch
-we are interested in is \code{remotes/stable/linux-4.5.y}.
+As we will do our labs with the Linux 4.9 stable branch, the remote branch
+we are interested in is \code{remotes/stable/linux-4.9.y} (if this
+branch doesn't exist yet when you run this lab, just continue to work
+with the latest \code{-rc} ("release candidate") version).
First, open the \code{Makefile} file just to check the Linux kernel
version that you currently have.
Now, let's create a local branch starting from that remote branch:
\begin{verbatim}
-git checkout -b 4.5.y stable/linux-4.5.y
+git checkout -b 4.9.y stable/linux-4.9.y
\end{verbatim}
-Open \code{Makefile} again and make sure you now have a 4.5.y version.
+Open \code{Makefile} again and make sure you now have a 4.9.y version.
\section{Exploring the sources manually}
diff --git a/labs/setup/setup.tex b/labs/setup/setup.tex
index 6070217..58c8c15 100644
--- a/labs/setup/setup.tex
+++ b/labs/setup/setup.tex
@@ -65,7 +65,7 @@ Can be useful throughout any of the labs
user may no longer be able to handle the corresponding generated
files. In this case, use the \code{chown -R} command to give the new
files back to your regular user.\\
- Example: \code{chown -R myuser.myuser linux-4.5}
+ Example: \code{chown -R myuser.myuser linux/}
\item If you are using Gnome Terminal (the default terminal emulator
in Ubuntu 16.04), you can use tabs to have multiple terminals
More information about the training-materials-updates
mailing list