/[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.1 Revision 1.7
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.1 2006/09/02 08:12:59 vapier Exp $ --> 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 $ -->
8 8
9<sections> 9<sections>
10 10
11<version>7.1</version> 11<version>8.1</version>
12<date>2006-08-30</date> 12<date>2007-05-15</date>
13 13
14<section> 14<section>
15<title>Timezone</title> 15<title>Timezone</title>
16<body> 16<body>
17 17
18<p> 18<p>
19You first need to select your timezone so that your system knows where it is 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 20located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then copy
21it to <path>/etc/localtime</path>. Please avoid the 21it to <path>/etc/localtime</path>. Please avoid the
22<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not 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. 23indicate the expected zones. For instance, <path>GMT-8</path> is in fact
24GMT+8.
24</p> 25</p>
25 26
26<pre caption="Setting the timezone information"> 27<pre caption="Setting the timezone information">
27# <i>ls /usr/share/zoneinfo</i> 28# <i>ls /usr/share/zoneinfo</i>
28<comment>(Suppose you want to use GMT)</comment> 29<comment>(Suppose you want to use GMT)</comment>
44available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel 45available at the <uri link="/doc/en/gentoo-kernel.xml">Gentoo Kernel
45Guide</uri>. 46Guide</uri>.
46</p> 47</p>
47 48
48<p> 49<p>
49For ARM systems, the available kernels are <c>vanilla-sources</c> (the default 50For ARM systems, we will use <c>gentoo-sources</c> (contains additional patches
50kernel source as distributed from <uri link="http://kernel.org/">kernel.org</uri> 51for performance and stability).
51and <c>gentoo-sources</c> (contains additional patches for performance and
52stability).
53</p>
54
55<p> 52</p>
56Choose your kernel source and install it using <c>emerge</c>. The 53
57<c>USE="-doc"</c> is necessary to avoid installing xorg-x11 or other 54<p>
58dependencies at this point. <c>USE="symlink"</c> is not necessary for a new 55Now install it using <c>emerge</c>.
59install, but ensures proper creation of the <path>/usr/src/linux</path>
60symlink.
61</p> 56</p>
62 57
63<pre caption="Installing a kernel source"> 58<pre caption="Installing a kernel source">
64# <i>USE="-doc symlink" emerge gentoo-sources</i> 59# <i>emerge gentoo-sources</i>
65</pre> 60</pre>
66 61
67<p> 62<p>
68When you take a look in <path>/usr/src</path> you should see a symlink called 63When you take a look in <path>/usr/src</path> you should see a symlink called
69<path>linux</path> pointing to your kernel source. In this case, the installed 64<path>linux</path> pointing to your kernel source. In this case, the installed
164only filesystem that the bootloader can read reliably. Otherwise, the only 159only filesystem that the bootloader can read reliably. Otherwise, the only
165filesystem that has been tested is EXT3 but your welcome to try your luck with 160filesystem that has been tested is EXT3 but your welcome to try your luck with
166the others ;). 161the others ;).
167</p> 162</p>
168 163
169<p>
170You should start off with running <c>make netwinder_defconfig</c>.
171</p>
172
173<pre caption="NetWinder configuration options"> 164<pre caption="NetWinder configuration options">
165<comment>First generate a default config</comment>
166# <i>make netwinder_defconfig</i>
167
174<comment>Required options</comment> 168<comment>Required options</comment>
175System Type ---&gt; 169System Type ---&gt;
176 ARM system type (<i>FootBridge</i>) ---&gt; 170 ARM system type (FootBridge) ---&gt;
171 (X) FootBridge
177 Footbridge Implementations ---&gt; 172 Footbridge Implementations ---&gt;
178 [*] NetWinder 173 [*] NetWinder
179 174
180Floating point emulation ---&gt; 175Floating point emulation ---&gt;
181 [*] NWFPE math emulation 176 [*] NWFPE math emulation
279 274
280<pre caption="Compiling the kernel"> 275<pre caption="Compiling the kernel">
281# <i>make &amp;&amp; make modules_install</i> 276# <i>make &amp;&amp; make modules_install</i>
282</pre> 277</pre>
283 278
279
284<p> 280<p>
285When the kernel has finished compiling, copy the kernel image to 281When the kernel has finished compiling, copy the kernel image to
286<path>/boot</path>. Use whatever name you feel is appropriate for your kernel 282<path>/boot</path>. Use whatever name you feel is appropriate for your kernel
287choice and remember it as you will need it later on when you configure your 283choice and remember it as you will need it later on when you configure your
288bootloader. Remember to replace <c><keyval id="kernel-name"/></c> with the 284bootloader. Remember to replace <c><keyval id="kernel-name"/></c> with the

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

  ViewVC Help
Powered by ViewVC 1.1.20