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

Last change on this file since f2aa902 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
RevLine 
[99fc891]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
[f23b5ee]17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18 href="../x86/kernel.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
[99fc891]20
21 <sect2 role="installation">
22 <title>Installation of the kernel</title>
23
[f23b5ee]24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
25 href="../x86/kernel.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
[99fc891]27
[f23b5ee]28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
29 href="../x86/kernel.xml"
30 xpointer="xpointer(//*[@os='b'])"/>
[99fc891]31
[f23b5ee]32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
33 href="../x86/kernel.xml"
34 xpointer="xpointer(//*[@os='c'])"/>
[99fc891]35
[f23b5ee]36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
37 href="../x86/kernel.xml"
38 xpointer="xpointer(//*[@os='d'])"/>
[99fc891]39
[7e53cff]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
[4fc3670]46<screen os="d4"><userinput>patch -Np1 -i ../linux-&linux-version;-mips_fixes-1.patch</userinput></screen>
[7e53cff]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
[4152b92]52<para os="d7">The following patch backports the d80211 wireless stack to the kernel:</para>
[7e53cff]53
[4152b92]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>
[7e53cff]63
[f23b5ee]64 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
65 href="../x86/kernel.xml"
66 xpointer="xpointer(//*[@os='e'])"/>
[99fc891]67
[f23b5ee]68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../x86/kernel.xml"
[81d9bce]70 xpointer="xpointer(//*[@os='f'])"/>
71
72<screen os="g"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
[99fc891]73
[f23b5ee]74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/kernel.xml"
76 xpointer="xpointer(//*[@os='h'])"/>
[99fc891]77
[f23b5ee]78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/kernel.xml"
80 xpointer="xpointer(//*[@os='i'])"/>
[99fc891]81
[f23b5ee]82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/kernel.xml"
[81d9bce]84 xpointer="xpointer(//*[@os='j'])"/>
85
[99e5b35]86<screen os="k"><userinput>make ARCH=mips CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>
[99fc891]87
[f23b5ee]88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../x86/kernel.xml"
90 xpointer="xpointer(//*[@os='l'])"/>
[99fc891]91
[f23b5ee]92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../x86/kernel.xml"
94 xpointer="xpointer(//*[@os='m'])"/>
[99fc891]95
[f23b5ee]96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
97 href="../x86/kernel.xml"
98 xpointer="xpointer(//*[@os='n'])"/>
[99fc891]99
[f23b5ee]100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../x86/kernel.xml"
102 xpointer="xpointer(//*[@os='o'])"/>
[99fc891]103
[f23b5ee]104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../x86/kernel.xml"
[81d9bce]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>
[99fc891]110
[f23b5ee]111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../x86/kernel.xml"
113 xpointer="xpointer(//*[@os='r'])"/>
[99fc891]114
[f23b5ee]115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../x86/kernel.xml"
117 xpointer="xpointer(//*[@os='s'])"/>
[99fc891]118
[99e5b35]119<screen os="t"><userinput>cp arch/mips/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
[99fc891]120
[f23b5ee]121 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
122 href="../x86/kernel.xml"
123 xpointer="xpointer(//*[@os='u'])"/>
[99fc891]124
[f23b5ee]125 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
126 href="../x86/kernel.xml"
127 xpointer="xpointer(//*[@os='v'])"/>
[99fc891]128
[f23b5ee]129 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
130 href="../x86/kernel.xml"
131 xpointer="xpointer(//*[@os='w'])"/>
[99fc891]132
[f23b5ee]133 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
134 href="../x86/kernel.xml"
135 xpointer="xpointer(//*[@os='x'])"/>
[99fc891]136
[f23b5ee]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'])"/>
[99fc891]144
[81d9bce]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'])"/>
[e5ece2c]152
[99fc891]153 </sect2>
154
[f23b5ee]155 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
156 href="../x86/kernel.xml"
157 xpointer="xpointer(//*[@role='content'])"/>
158
[99fc891]159</sect1>
Note: See TracBrowser for help on using the repository browser.