/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-arm-kernel.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-arm-kernel.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.17
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/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-kernel.xml,v 1.7 2007/05/20 20:32:23 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-kernel.xml,v 1.17 2013/04/14 16:54:20 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.1</version> 11<version>12</version>
12<date>2007-05-15</date> 12<date>2013-04-14</date>
13 13
14<section>
15<title>Timezone</title>
16<body>
17
18<p>
19You first need to select your timezone so that your system knows where it is
20located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
21it to <path>/etc/localtime</path>. Please avoid the
22<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
23indicate the expected zones. For instance, <path>GMT-8</path> is in fact
24GMT+8.
25</p>
26
27<pre caption="Setting the timezone information">
28# <i>ls /usr/share/zoneinfo</i>
29<comment>(Suppose you want to use GMT)</comment>
30# <i>cp /usr/share/zoneinfo/GMT /etc/localtime</i>
31</pre>
32
33</body>
34</section>
35<section> 14<section>
36<title>Installing the Sources</title> 15<title>Installing the Sources</title>
37<subsection> 16<subsection>
38<title>Choosing a Kernel</title> 17<title>Choosing a Kernel</title>
39<body> 18<body>
46Guide</uri>. 25Guide</uri>.
47</p> 26</p>
48 27
49<p> 28<p>
50For ARM systems, we will use <c>gentoo-sources</c> (contains additional patches 29For ARM systems, we will use <c>gentoo-sources</c> (contains additional patches
51for performance and stability). 30for extra features).
52</p> 31</p>
53 32
54<p> 33<p>
55Now install it using <c>emerge</c>. 34Now install it using <c>emerge</c>.
56</p> 35</p>
73 52
74</body> 53</body>
75</subsection> 54</subsection>
76</section> 55</section>
77<section id="manual"> 56<section id="manual">
78<title>Default: Manual Configuration</title> 57<title>Manual Configuration</title>
79<subsection> 58<subsection>
80<title>Introduction</title> 59<title>Introduction</title>
81<body> 60<body>
82 61
83<p> 62<p>
126visit the respective community website to figure out how to properly configure 105visit the respective community website to figure out how to properly configure
127your kernel. 106your kernel.
128</p> 107</p>
129 108
130<p> 109<p>
131Regardless of your machine, you should make sure to activate the use of
132development and experimental code/drivers. You need this, otherwise some very
133important code/drivers won't show up:
134</p>
135
136<pre caption="Selecting experimental code/drivers, General setup">
137Code maturity level options ---&gt;
138 [*] Prompt for development and/or incomplete code/drivers
139</pre>
140
141<p>
142Please select your machine from the list below to jump to the configuration 110Please select your machine from the list below to jump to the configuration
143section. 111section.
144</p> 112</p>
145 113
146<ul> 114<ul>
188 [*] Include IDE/ATA-2 DISK support 156 [*] Include IDE/ATA-2 DISK support
189 --- IDE chipset support/bugfixes 157 --- IDE chipset support/bugfixes
190 [*] PCI IDE chipset support 158 [*] PCI IDE chipset support
191 [*] Winbond SL82c105 support 159 [*] Winbond SL82c105 support
192 [*] Generic PCI bus-master DMA support 160 [*] Generic PCI bus-master DMA support
193 [*] Use PCI DMA by default when available
194 161
195 Network device support ---&gt; 162 Network device support ---&gt;
196 [*] Network device support 163 [*] Network device support
197 Ethernet (10 or 100Mbit) ---&gt; 164 Ethernet (10 or 100Mbit) ---&gt;
198 [*] Ethernet (10 or 100Mbit) 165 [*] Ethernet (10 or 100Mbit)
295 262
296</body> 263</body>
297</section> 264</section>
298<section id="kernel_modules"> 265<section id="kernel_modules">
299<title>Kernel Modules</title> 266<title>Kernel Modules</title>
300<subsection>
301<title>Configuring the Modules</title>
302<body>
303 267
304<p>
305You should list the modules you want automatically loaded in
306<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
307the modules too if you want.
308</p>
309
310<p>
311To view all available modules, run the following <c>find</c> command. Don't
312forget to substitute <c><keyval id="kernel-version"/></c> with the version of
313the kernel you just compiled:
314</p>
315
316<pre caption="Viewing all available modules">
317# <i>find /lib/modules/<keyval id="kernel-version"/>/ -type f -iname '*.o' -or -iname '*.ko'</i>
318</pre>
319
320<p>
321For instance, to automatically load the <c>3c59x.o</c> module, edit the
322<path>kernel-2.6</path> file and enter the module name in it.
323</p>
324
325<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
326# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
327</pre>
328
329<pre caption="/etc/modules.autoload.d/kernel-2.6">
3303c59x
331</pre>
332
333<p>
334Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
335your System</uri>.
336</p>
337
338</body>
339</subsection> 268<subsection>
269<include href="hb-install-kernelmodules.xml"/>
270</subsection>
271
340</section> 272</section>
341</sections> 273</sections>

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20