/[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.13 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.13 2008/01/12 22:51:31 neysx 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.6</version> 11<version>14</version>
12<date>2008-01-12</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>, 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>
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
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">
137General setup ---&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>
294 264
295</body> 265</body>
296</section> 266</section>
297<section id="kernel_modules"> 267<section id="kernel_modules">
298<title>Kernel Modules</title> 268<title>Kernel Modules</title>
299<subsection>
300<title>Configuring the Modules</title>
301<body>
302 269
303<p>
304You should list the modules you want automatically loaded in
305<path>/etc/modules.autoload.d/kernel-2.6</path>. You can add extra options to
306the modules too if you want.
307</p>
308
309<p>
310To view all available modules, run the following <c>find</c> command. Don't
311forget to substitute "&lt;kernel version&gt;" with the version of the kernel you
312just compiled:
313</p>
314
315<pre caption="Viewing all available modules">
316# <i>find /lib/modules/&lt;kernel version&gt;/ -type f -iname '*.o' -or -iname '*.ko'</i>
317</pre>
318
319<p>
320For instance, to automatically load the <c>3c59x.ko</c> module, edit the
321<path>kernel-2.6</path> file and enter the module name in it.
322</p>
323
324<pre caption="Editing /etc/modules.autoload.d/kernel-2.6">
325# <i>nano -w /etc/modules.autoload.d/kernel-2.6</i>
326</pre>
327
328<pre caption="/etc/modules.autoload.d/kernel-2.6">
3293c59x
330</pre>
331
332<p>
333Continue the installation with <uri link="?part=1&amp;chap=8">Configuring
334your System</uri>.
335</p>
336
337</body>
338</subsection> 270<subsection>
271<include href="hb-install-kernelmodules.xml"/>
272</subsection>
273
339</section> 274</section>
340</sections> 275</sections>

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

  ViewVC Help
Powered by ViewVC 1.1.20