aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJeff Kirsher2015-02-24 22:22:56 -0600
committerJonathan Corbet2015-03-20 08:41:56 -0500
commit49d86dc92c6edc1ed674dca623d1e55d95e0c877 (patch)
tree0d51dc46c71e79fc381aace98ccb678be30c3e2a /README
parent654d2e7cd18b8acc4e2accdcc0c1eadb8d786722 (diff)
downloadkernel-omap-49d86dc92c6edc1ed674dca623d1e55d95e0c877.tar.gz
kernel-omap-49d86dc92c6edc1ed674dca623d1e55d95e0c877.tar.xz
kernel-omap-49d86dc92c6edc1ed674dca623d1e55d95e0c877.zip
README: Update version number reference
When 4.0 is released, the README should reflect the new numbering. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'README')
-rw-r--r--README34
1 files changed, 17 insertions, 17 deletions
diff --git a/README b/README
index a24ec89ba442..67fc7a8badaf 100644
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
1 Linux kernel release 3.x <http://kernel.org/> 1 Linux kernel release 4.x <http://kernel.org/>
2 2
3These are the release notes for Linux version 3. Read them carefully, 3These are the release notes for Linux version 4. Read them carefully,
4as they tell you what this is all about, explain how to install the 4as they tell you what this is all about, explain how to install the
5kernel, and what to do if something goes wrong. 5kernel, and what to do if something goes wrong.
6 6
@@ -62,11 +62,11 @@ INSTALLING the kernel source:
62 directory where you have permissions (eg. your home directory) and 62 directory where you have permissions (eg. your home directory) and
63 unpack it: 63 unpack it:
64 64
65 gzip -cd linux-3.X.tar.gz | tar xvf - 65 gzip -cd linux-4.X.tar.gz | tar xvf -
66 66
67 or 67 or
68 68
69 bzip2 -dc linux-3.X.tar.bz2 | tar xvf - 69 bzip2 -dc linux-4.X.tar.bz2 | tar xvf -
70 70
71 Replace "X" with the version number of the latest kernel. 71 Replace "X" with the version number of the latest kernel.
72 72
@@ -75,16 +75,16 @@ INSTALLING the kernel source:
75 files. They should match the library, and not get messed up by 75 files. They should match the library, and not get messed up by
76 whatever the kernel-du-jour happens to be. 76 whatever the kernel-du-jour happens to be.
77 77
78 - You can also upgrade between 3.x releases by patching. Patches are 78 - You can also upgrade between 4.x releases by patching. Patches are
79 distributed in the traditional gzip and the newer bzip2 format. To 79 distributed in the traditional gzip and the newer bzip2 format. To
80 install by patching, get all the newer patch files, enter the 80 install by patching, get all the newer patch files, enter the
81 top level directory of the kernel source (linux-3.X) and execute: 81 top level directory of the kernel source (linux-4.X) and execute:
82 82
83 gzip -cd ../patch-3.x.gz | patch -p1 83 gzip -cd ../patch-4.x.gz | patch -p1
84 84
85 or 85 or
86 86
87 bzip2 -dc ../patch-3.x.bz2 | patch -p1 87 bzip2 -dc ../patch-4.x.bz2 | patch -p1
88 88
89 Replace "x" for all versions bigger than the version "X" of your current 89 Replace "x" for all versions bigger than the version "X" of your current
90 source tree, _in_order_, and you should be ok. You may want to remove 90 source tree, _in_order_, and you should be ok. You may want to remove
@@ -92,13 +92,13 @@ INSTALLING the kernel source:
92 that there are no failed patches (some-file-name# or some-file-name.rej). 92 that there are no failed patches (some-file-name# or some-file-name.rej).
93 If there are, either you or I have made a mistake. 93 If there are, either you or I have made a mistake.
94 94
95 Unlike patches for the 3.x kernels, patches for the 3.x.y kernels 95 Unlike patches for the 4.x kernels, patches for the 4.x.y kernels
96 (also known as the -stable kernels) are not incremental but instead apply 96 (also known as the -stable kernels) are not incremental but instead apply
97 directly to the base 3.x kernel. For example, if your base kernel is 3.0 97 directly to the base 4.x kernel. For example, if your base kernel is 4.0
98 and you want to apply the 3.0.3 patch, you must not first apply the 3.0.1 98 and you want to apply the 4.0.3 patch, you must not first apply the 4.0.1
99 and 3.0.2 patches. Similarly, if you are running kernel version 3.0.2 and 99 and 4.0.2 patches. Similarly, if you are running kernel version 4.0.2 and
100 want to jump to 3.0.3, you must first reverse the 3.0.2 patch (that is, 100 want to jump to 4.0.3, you must first reverse the 4.0.2 patch (that is,
101 patch -R) _before_ applying the 3.0.3 patch. You can read more on this in 101 patch -R) _before_ applying the 4.0.3 patch. You can read more on this in
102 Documentation/applying-patches.txt 102 Documentation/applying-patches.txt
103 103
104 Alternatively, the script patch-kernel can be used to automate this 104 Alternatively, the script patch-kernel can be used to automate this
@@ -120,7 +120,7 @@ INSTALLING the kernel source:
120 120
121SOFTWARE REQUIREMENTS 121SOFTWARE REQUIREMENTS
122 122
123 Compiling and running the 3.x kernels requires up-to-date 123 Compiling and running the 4.x kernels requires up-to-date
124 versions of various software packages. Consult 124 versions of various software packages. Consult
125 Documentation/Changes for the minimum version numbers required 125 Documentation/Changes for the minimum version numbers required
126 and how to get updates for these packages. Beware that using 126 and how to get updates for these packages. Beware that using
@@ -137,12 +137,12 @@ BUILD directory for the kernel:
137 place for the output files (including .config). 137 place for the output files (including .config).
138 Example: 138 Example:
139 139
140 kernel source code: /usr/src/linux-3.X 140 kernel source code: /usr/src/linux-4.X
141 build directory: /home/name/build/kernel 141 build directory: /home/name/build/kernel
142 142
143 To configure and build the kernel, use: 143 To configure and build the kernel, use:
144 144
145 cd /usr/src/linux-3.X 145 cd /usr/src/linux-4.X
146 make O=/home/name/build/kernel menuconfig 146 make O=/home/name/build/kernel menuconfig
147 make O=/home/name/build/kernel 147 make O=/home/name/build/kernel
148 sudo make O=/home/name/build/kernel modules_install install 148 sudo make O=/home/name/build/kernel modules_install install