source: clfs-embedded/BOOK/bootable/wrt/kernel.xml@ 6d34f7d

Last change on this file since 6d34f7d was 6d34f7d, checked in by Maarten Lankhorst <mlankhorst@…>, 15 years ago

book: Add standard config file for bcm47xx target

  • Property mode set to 100644
File size: 4.4 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 all bcm43xx onboard hardware. To obtain the standard config file:</para>
46
47 <screen os="xi"><userinput>wget &linux-bcm47xx-config-url; -O .config</userinput></screen>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../x86/kernel.xml"
51 xpointer="xpointer(//*[@os='f'])"/>
52
53<screen os="g"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- menuconfig</userinput></screen>
54
55 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
56 href="../x86/kernel.xml"
57 xpointer="xpointer(//*[@os='h'])"/>
58
59 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
60 href="../x86/kernel.xml"
61 xpointer="xpointer(//*[@os='j'])"/>
62
63<screen os="k"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- vmlinux.bin modules</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../x86/kernel.xml"
67 xpointer="xpointer(//*[@os='l'])"/>
68
69 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
70 href="../x86/kernel.xml"
71 xpointer="xpointer(//*[@os='m'])"/>
72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../x86/kernel.xml"
75 xpointer="xpointer(//*[@os='n'])"/>
76
77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../x86/kernel.xml"
79 xpointer="xpointer(//*[@os='o'])"/>
80
81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../x86/kernel.xml"
83 xpointer="xpointer(//*[@os='p'])"/>
84
85<screen os="q"><userinput>make ARCH=${CLFS_ARCH} CROSS_COMPILE=${CLFS_TARGET}- \
86 INSTALL_MOD_PATH=${CLFS} modules_install</userinput></screen>
87
88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
89 href="../x86/kernel.xml"
90 xpointer="xpointer(//*[@os='r'])"/>
91
92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
93 href="../x86/kernel.xml"
94 xpointer="xpointer(//*[@os='s'])"/>
95
96<screen os="t"><userinput>cp arch/${CLFS_ARCH}/boot/vmlinux.bin ${CLFS}/boot/clfskernel-&linux-version;</userinput></screen>
97
98 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
99 href="../x86/kernel.xml"
100 xpointer="xpointer(//*[@os='u'])"/>
101
102 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
103 href="../x86/kernel.xml"
104 xpointer="xpointer(//*[@os='v'])"/>
105
106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
107 href="../x86/kernel.xml"
108 xpointer="xpointer(//*[@os='w'])"/>
109
110 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
111 href="../x86/kernel.xml"
112 xpointer="xpointer(//*[@os='x'])"/>
113
114 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
115 href="../x86/kernel.xml"
116 xpointer="xpointer(//*[@os='y'])"/>
117
118 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
119 href="../x86/kernel.xml"
120 xpointer="xpointer(//*[@os='z'])"/>
121
122 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
123 href="../x86/kernel.xml"
124 xpointer="xpointer(//*[@os='aa'])"/>
125
126 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
127 href="../x86/kernel.xml"
128 xpointer="xpointer(//*[@os='ab'])"/>
129
130 </sect2>
131
132 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
133 href="../x86/kernel.xml"
134 xpointer="xpointer(//*[@role='content'])"/>
135
136</sect1>
Note: See TracBrowser for help on using the repository browser.