/[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.4 Revision 1.19
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.4 2007/05/07 18:11:40 nightmorph Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-kernel.xml,v 1.19 2014/05/11 07:26:10 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>8.0</version> 11<version>14</version>
12<date>2007-05-07</date> 12<date>2014-05-11</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>. You then
21set your timezone in <path>/etc/conf.d/clock</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 GMT+8.
24</p>
25
26<pre caption="Setting the timezone information">
27# <i>ls /usr/share/zoneinfo</i>
28<comment>(Suppose you want to use GMT)</comment>
29# <i>nano -w /etc/conf.d/clock</i>
30TIMEZONE="GMT"
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>
40 19
41<p> 20<p>
42The core around which all distributions are built is the Linux kernel. It is the 21The core around which all distributions are built is the Linux kernel. It is the
43layer between the user programs and your system hardware. Gentoo provides its 22layer between the user programs and your system hardware. Gentoo provides its
44users several possible kernel sources. A full listing with description is 23users several possible kernel sources. A full listing with description is
45available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 24available at the <uri link="https://wiki.gentoo.org/wiki/Kernel/Overview">Gentoo Kernel
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>
109</pre> 88</pre>
110 89
111<p> 90<p>
112You will be greeted with several configuration sections. We'll first list some 91You will be greeted with several configuration sections. We'll first list some
113options you must activate (otherwise Gentoo will not function, or not function 92options you must activate (otherwise Gentoo will not function, or not function
114properly without additional tweaks). 93properly without additional tweaks). We also have a <uri
94link="https://wiki.gentoo.org/wiki/Kernel/Gentoo_Kernel_Configuration_Guide">Gentoo
95Kernel Configuration Guide</uri> on the Gentoo wiki that might help you further.
115</p> 96</p>
116 97
117</body> 98</body>
118</subsection> 99</subsection>
119<subsection> 100<subsection>
124Due to the highly specific nature of the embedded, we'll cover known 105Due to the highly specific nature of the embedded, we'll cover known
125configurations for boards here. If your machine is not listed, then you should 106configurations for boards here. If your machine is not listed, then you should
126visit the respective community website to figure out how to properly configure 107visit the respective community website to figure out how to properly configure
127your kernel. 108your kernel.
128</p> 109</p>
129
130<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 110
141<p> 111<p>
142Please select your machine from the list below to jump to the configuration 112Please select your machine from the list below to jump to the configuration
143section. 113section.
144</p> 114</p>
188 [*] Include IDE/ATA-2 DISK support 158 [*] Include IDE/ATA-2 DISK support
189 --- IDE chipset support/bugfixes 159 --- IDE chipset support/bugfixes
190 [*] PCI IDE chipset support 160 [*] PCI IDE chipset support
191 [*] Winbond SL82c105 support 161 [*] Winbond SL82c105 support
192 [*] Generic PCI bus-master DMA support 162 [*] Generic PCI bus-master DMA support
193 [*] Use PCI DMA by default when available
194 163
195 Network device support ---&gt; 164 Network device support ---&gt;
196 [*] Network device support 165 [*] Network device support
197 Ethernet (10 or 100Mbit) ---&gt; 166 Ethernet (10 or 100Mbit) ---&gt;
198 [*] Ethernet (10 or 100Mbit) 167 [*] Ethernet (10 or 100Mbit)
295 264
296</body> 265</body>
297</section> 266</section>
298<section id="kernel_modules"> 267<section id="kernel_modules">
299<title>Kernel Modules</title> 268<title>Kernel Modules</title>
300<subsection>
301<title>Configuring the Modules</title>
302<body>
303 269
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> 270<subsection>
271<include href="hb-install-kernelmodules.xml"/>
272</subsection>
273
340</section> 274</section>
341</sections> 275</sections>

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.20