| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/1.0 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml,v 1.13 2005/03/25 15:50:12 swift Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-kernel.xml,v 1.14 2005/03/30 07:56:14 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>1.9</version> |
11 | <version>1.10</version> |
| 12 | <date>2005-03-25</date> |
12 | <date>2005-03-30</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Timezone</title> |
15 | <title>Timezone</title> |
| 16 | <body> |
16 | <body> |
| 17 | |
17 | |
| … | |
… | |
| 144 | http://dev.gentoo.org/~kumba/mips |
144 | http://dev.gentoo.org/~kumba/mips |
| 145 | </uri> |
145 | </uri> |
| 146 | </li> |
146 | </li> |
| 147 | </ul> |
147 | </ul> |
| 148 | |
148 | |
|
|
149 | <note> |
|
|
150 | More kernel configuration examples can be found on the Gentoo/MIPS Hardware |
|
|
151 | Support Database, which is located at |
|
|
152 | <uri>http://stuartl.longlandclan.hopto.org/gentoo/mips</uri>. |
|
|
153 | </note> |
|
|
154 | |
| 149 | <p> |
155 | <p> |
| 150 | Once you have found a configuration, download it into your kernel source |
156 | Once you have found a configuration, download it into your kernel source |
| 151 | directory, and rename it to <path>.config</path>. From there, you can run |
157 | directory, and rename it to <path>.config</path>. From there, you can run |
| 152 | <c>make oldconfig</c> to bring everything up to date, and allow you to customise |
158 | <c>make oldconfig</c> to bring everything up to date, and allow you to customise |
| 153 | the configuration before compiling. |
159 | the configuration before compiling. |
| … | |
… | |
| 183 | <p> |
189 | <p> |
| 184 | When the kernel has finished compiling, copy the kernel image to |
190 | When the kernel has finished compiling, copy the kernel image to |
| 185 | <path>/boot</path>. |
191 | <path>/boot</path>. |
| 186 | </p> |
192 | </p> |
| 187 | |
193 | |
|
|
194 | <note> |
|
|
195 | On Cobalt servers, the bootloader will expect to see a compressed kernelimage. |
|
|
196 | Remember to <c>gzip -9</c> the file once it is in <path>/boot</path>. |
|
|
197 | </note> |
|
|
198 | |
| 188 | <pre caption="Installing the kernel"> |
199 | <pre caption="Installing the kernel"> |
| 189 | # <i>cp vmlinux /boot/kernel-2.4.24</i> |
200 | # <i>cp vmlinux /boot/kernel-2.4.24</i> |
| 190 | # <i>cp System.map /boot/System.map-2.4.24</i> |
201 | # <i>cp System.map /boot/System.map-2.4.24</i> |
|
|
202 | <comment>(Cobalt Servers -- Compressing the kernel image)</comment> |
|
|
203 | # <i>gzip -9v /boot/kernel-2.4.24</i> |
| 191 | </pre> |
204 | </pre> |
| 192 | |
205 | |
| 193 | <p> |
206 | <p> |
| 194 | It is also wise to copy over your kernel configuration file to |
207 | It is also wise to copy over your kernel configuration file to |
| 195 | <path>/boot</path>, just in case :) |
208 | <path>/boot</path>, just in case :) |