source: clfs-embedded/BOOK/bootable/wrt/kernel.xml@ 3c24b73

Last change on this file since 3c24b73 was 5ac6f32, checked in by Maarten Lankhorst <mlankhorst@…>, 15 years ago

reword wrt/kernel

  • Property mode set to 100644
File size: 4.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
41 href="../x86/kernel.xml"
42 xpointer="xpointer(//*[@os='e'])"/>
43
44 <para os="i">Since bcm47xx is fixed hardware, a default kernel config can be obtained,
45 which can be used as a starting point to enable most bcm43xx onboard hardware,
46 omitting optional support for a PCI bus, USB support and the bcm47xx watchdog timer.
47 To obtain the standard config file:</para>
48
49 <screen os="xi"><userinput>wget &linux-bcm47xx-config-url; -O .config</userinput></screen>
50
51 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
52 href="../x86/kernel.xml"
53 xpointer="xpointer(//*[@os='f'])"/>
54
55<screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../x86/kernel.xml"
59 xpointer="xpointer(//*[@os='h'])"/>
60
61 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
62 href="../x86/kernel.xml"
63 xpointer="xpointer(//*[@os='j'])"/>
64
65<screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>
66
67 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
68 href="../x86/kernel.xml"
69 xpointer="xpointer(//*[@os='l'])"/>
70
71 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
72 href="../x86/kernel.xml"
73 xpointer="xpointer(//*[@os='m'])"/>
74
75 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
76 href="../x86/kernel.xml"
77 xpointer="xpointer(//*[@os='n'])"/>
78
79 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
80 href="../x86/kernel.xml"
81 xpointer="xpointer(//*[@os='o'])"/>
82
83 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
84 href="../x86/kernel.xml"
85 xpointer="xpointer(//*[@os='p'])"/>
86
87<screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \
88 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
89
90 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
91 href="../x86/kernel.xml"
92 xpointer="xpointer(//*[@os='r'])"/>
93
94 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
95 href="../x86/kernel.xml"
96 xpointer="xpointer(//*[@os='s'])"/>
97
98<screen os="t"><userinput>cp arch/${CLFS_ARCH}/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
99
100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
101 href="../x86/kernel.xml"
102 xpointer="xpointer(//*[@os='u'])"/>
103
104 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
105 href="../x86/kernel.xml"
106 xpointer="xpointer(//*[@os='v'])"/>
107
108 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
109 href="../x86/kernel.xml"
110 xpointer="xpointer(//*[@os='w'])"/>
111
112 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
113 href="../x86/kernel.xml"
114 xpointer="xpointer(//*[@os='x'])"/>
115
116 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
117 href="../x86/kernel.xml"
118 xpointer="xpointer(//*[@os='y'])"/>
119
120 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
121 href="../x86/kernel.xml"
122 xpointer="xpointer(//*[@os='z'])"/>
123
124 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
125 href="../x86/kernel.xml"
126 xpointer="xpointer(//*[@os='aa'])"/>
127
128 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
129 href="../x86/kernel.xml"
130 xpointer="xpointer(//*[@os='ab'])"/>
131
132 </sect2>
133
134 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
135 href="../x86/kernel.xml"
136 xpointer="xpointer(//*[@role='content'])"/>
137
138</sect1>
Note: See TracBrowser for help on using the repository browser.