source: BOOK/bootable/mips/kernel.xml@ 929aaed

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 929aaed was 3f8be484, checked in by Jim Gifford <clfs@…>, 19 years ago

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

  • Property mode set to 100644
File size: 5.3 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 <!ENTITY % patches-entities SYSTEM "../../patches.ent">
6 %general-entities;
7 %patches-entities;
8]>
9
10<sect1 id="ch-bootable-kernel" role="wrap">
11 <?dbhtml filename="kernel.html"?>
12
13 <title>Linux-&linux-mips-version;</title>
14
15 <indexterm zone="ch-bootable-kernel">
16 <primary sortas="a-Linux">Linux</primary>
17 </indexterm>
18
19 <sect2 role="package">
20 <title/>
21
22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
23 href="../x86/kernel.xml"
24 xpointer="xpointer(//*[@role='package']/para[1])"/>
25
26 <segmentedlist>
27 <segtitle>&buildtime;</segtitle>
28 <segtitle>&diskspace;</segtitle>
29
30 <seglistitem>
31 <seg>Not checked yet</seg>
32 <seg>Not checked yet</seg>
33 </seglistitem>
34 </segmentedlist>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/kernel.xml"
38 xpointer="xpointer(//*[@role='package']/segmentedlist[2])"/>
39
40 </sect2>
41
42 <sect2 role="installation">
43 <title>Installation of the kernel</title>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../x86/kernel.xml"
47 xpointer="xpointer(//*[@os='a'])"/>
48
49 <para os="ba">The following patch fixes some issues with MIPS based
50 processors and the kernel:</para>
51
52<screen os="bb"><userinput>patch -Np1 -i ../&linux-mips-patch;</userinput></screen>
53
54 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
55 href="../x86/kernel.xml"
56 xpointer="xpointer(//*[@os='b'])"/>
57
58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
59 href="../x86/kernel.xml"
60 xpointer="xpointer(//*[@os='c'])"/>
61
62 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
63 href="../x86/kernel.xml"
64 xpointer="xpointer(//*[@os='d'])"/>
65
66 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
67 href="../x86/kernel.xml"
68 xpointer="xpointer(//*[@os='e'])"/>
69
70 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
71 href="../x86/kernel.xml"
72 xpointer="xpointer(//*[@os='f'])"/>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/kernel.xml"
76 xpointer="xpointer(//*[@os='g'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/kernel.xml"
80 xpointer="xpointer(//*[@os='h'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/kernel.xml"
84 xpointer="xpointer(//*[@os='i'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../x86/kernel.xml"
88 xpointer="xpointer(//*[@os='k'])"/>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../x86/kernel.xml"
92 xpointer="xpointer(//*[@os='l'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../x86/kernel.xml"
96 xpointer="xpointer(//*[@os='m'])"/>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../x86/kernel.xml"
100 xpointer="xpointer(//*[@os='n'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../x86/kernel.xml"
104 xpointer="xpointer(//*[@os='o'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../x86/kernel.xml"
108 xpointer="xpointer(//*[@os='p'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
111 href="../x86/kernel.xml"
112 xpointer="xpointer(//*[@os='q'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../x86/kernel.xml"
116 xpointer="xpointer(//*[@os='r'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../x86/kernel.xml"
120 xpointer="xpointer(//*[@os='s'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
123 href="../x86/kernel.xml"
124 xpointer="xpointer(//*[@os='t'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
127 href="../x86/kernel.xml"
128 xpointer="xpointer(//*[@os='u'])"/>
129
130 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
131 href="../x86/kernel.xml"
132 xpointer="xpointer(//*[@os='v'])"/>
133
134<screen><userinput>cp vmlinux /boot/vmlinux-&linux-mips-version;
135gzip -9 /boot/vmlinux-&linux-mips-version;</userinput></screen>
136
137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
138 href="../x86/kernel.xml"
139 xpointer="xpointer(//*[@os='w'])"/>
140
141<screen><userinput>cp System.map /boot/System.map-&linux-mips-version;</userinput></screen>
142
143 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
144 href="../x86/kernel.xml"
145 xpointer="xpointer(//*[@os='x'])"/>
146
147<screen><userinput>cp .config /boot/config-&linux-mips-version;</userinput></screen>
148
149 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
150 href="../x86/kernel.xml"
151 xpointer="xpointer(//*[@os='y'])"/>
152
153 <para>If the kernel source tree is going to retained, run
154 <command>chown -R 0:0</command> on the <filename
155 class="directory">linux-&linux-mips-version;</filename>
156 directory to ensure all files are owned by user <systemitem
157 class="username">root</systemitem>.</para>
158
159 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
160 href="../x86/kernel.xml"
161 xpointer="xpointer(//*[@os='z'])"/>
162
163 </sect2>
164
165 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
166 href="../x86/kernel.xml"
167 xpointer="xpointer(id('contents-kernel'))"/>
168
169</sect1>
Note: See TracBrowser for help on using the repository browser.