source: clfs-embedded/BOOK/bootable/mips/kernel.xml@ 30fbba8

Last change on this file since 30fbba8 was 99e5b35, checked in by Maarten Lankhorst <m.b.lankhorst@…>, 18 years ago

Update mips kernel build instructions

  • Property mode set to 100644
File size: 5.4 KB
Line 
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 %general-entities;
6]>
7
8<sect1 id="ch-bootable-kernel" role="wrap">
9 <?dbhtml filename="kernel.html"?>
10
11 <title>Linux-&linux-version;</title>
12
13 <indexterm zone="ch-bootable-kernel">
14 <primary sortas="a-Linux">Linux</primary>
15 </indexterm>
16
17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../x86/kernel.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of the kernel</title>
23
24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../x86/kernel.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../x86/kernel.xml"
30 xpointer="xpointer(//*[@os='b'])"/>
31
32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../x86/kernel.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
35
36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/kernel.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
39
40<para os="d1">The following patch merges changes from Linux-MIPS into the kernel:</para>
41
42<screen os="d2"><userinput>patch -Np1 -i ../linux-&linux-version;-mips-1.patch</userinput></screen>
43
44<para os="d3">The following patch merges updates for Linux-MIPS kernel:</para>
45
46<screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>
47
48<para os="d5">The following patch adds support for squashed filesystens to the kernel:</para>
49
50<screen os="d6"><userinput>patch -Np1 -i ../linux-&linux-version;-squashfs-1.patch</userinput></screen>
51
52<para os="d7">The following patch backports the d80211 wireless stack to the kernel:</para>
53
54<screen os="d8"><userinput>zcat ../linux-2.6.19-d80211-import-1.patch.gz | patch -Np1</userinput></screen>
55
56<para os="d9">The following patch updates the bcm43xx-d80211 wireless module:</para>
57
58<screen os="da"><userinput>zcat ../linux-2.6.19-bcm43xx-update-1.patch.gz | patch -Np1</userinput></screen>
59
60<para os="db">The following patch adds support for wireless routers to the kernel:</para>
61
62<screen os="dc"><userinput>patch -Np1 -i ../linux-&linux-version;-bcm947xx-2.patch</userinput></screen>
63
64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../x86/kernel.xml"
66 xpointer="xpointer(//*[@os='e'])"/>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../x86/kernel.xml"
70 xpointer="xpointer(//*[@os='f'])"/>
71
72<screen os="g"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/kernel.xml"
76 xpointer="xpointer(//*[@os='h'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/kernel.xml"
80 xpointer="xpointer(//*[@os='i'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/kernel.xml"
84 xpointer="xpointer(//*[@os='j'])"/>
85
86<screen os="k"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../x86/kernel.xml"
90 xpointer="xpointer(//*[@os='l'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../x86/kernel.xml"
94 xpointer="xpointer(//*[@os='m'])"/>
95
96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../x86/kernel.xml"
98 xpointer="xpointer(//*[@os='n'])"/>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../x86/kernel.xml"
102 xpointer="xpointer(//*[@os='o'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../x86/kernel.xml"
106 xpointer="xpointer(//*[@os='p'])"/>
107
108<screen os="q"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- \
109 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../x86/kernel.xml"
113 xpointer="xpointer(//*[@os='r'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../x86/kernel.xml"
117 xpointer="xpointer(//*[@os='s'])"/>
118
119<screen os="t"><userinput>cp arch/mips/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
120
121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="../x86/kernel.xml"
123 xpointer="xpointer(//*[@os='u'])"/>
124
125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="../x86/kernel.xml"
127 xpointer="xpointer(//*[@os='v'])"/>
128
129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="../x86/kernel.xml"
131 xpointer="xpointer(//*[@os='w'])"/>
132
133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
134 href="../x86/kernel.xml"
135 xpointer="xpointer(//*[@os='x'])"/>
136
137 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
138 href="../x86/kernel.xml"
139 xpointer="xpointer(//*[@os='y'])"/>
140
141 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
142 href="../x86/kernel.xml"
143 xpointer="xpointer(//*[@os='z'])"/>
144
145 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
146 href="../x86/kernel.xml"
147 xpointer="xpointer(//*[@os='aa'])"/>
148
149 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
150 href="../x86/kernel.xml"
151 xpointer="xpointer(//*[@os='ab'])"/>
152
153 </sect2>
154
155 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
156 href="../x86/kernel.xml"
157 xpointer="xpointer(//*[@role='content'])"/>
158
159</sect1>
Note: See TracBrowser for help on using the repository browser.