source: boot/ppc/kernel.xml@ 6e24e25

Last change on this file since 6e24e25 was b021597, checked in by Jim Gifford <clfs@…>, 18 years ago

r3924@server (orig r1765): ken | 2006-06-13 13:52:38 -0700
ppc needs an ARCH=powerpc kernel (when cross-compiling), and building from an old ppc config needs some manual attention after oldconfig.

  • Property mode set to 100644
File size: 3.9 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-boot-kernel" role="wrap">
9 <?dbhtml filename="kernel.html"?>
10
11 <title>Linux-&linux-version;</title>
12
13 <indexterm zone="ch-boot-kernel">
14 <primary sortas="a-Linux">Linux</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../bootable/x86/kernel.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of the kernel</title>
24
25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../x86/kernel.xml"
27 xpointer="xpointer(//*[@os='aa'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../x86/kernel.xml"
31 xpointer="xpointer(//*[@os='a'])"/>
32
33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
34 href="../x86/kernel.xml"
35 xpointer="xpointer(//*[@os='b'])"/>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../x86/kernel.xml"
39 xpointer="xpointer(//*[@os='c'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../x86/kernel.xml"
43 xpointer="xpointer(//*[@os='d'])"/>
44
45 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
46 href="../x86/kernel.xml"
47 xpointer="xpointer(//*[@os='ab'])"/>
48
49 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
50 href="../x86/kernel.xml"
51 xpointer="xpointer(//*[@os='f'])"/>
52
53 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
54 href="../x86/kernel.xml"
55 xpointer="xpointer(//*[@os='g'])"/>
56
57 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
58 href="../x86/kernel.xml"
59 xpointer="xpointer(//*[@os='ae'])"/>
60
61<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}- menuconfig</userinput></screen>
62
63 <warning>
64 <para>Ensure you select all of the necessary mac drivers, particularly for
65 ide and input.</para>
66 </warning>
67
68 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
69 href="../x86/kernel.xml"
70 xpointer="xpointer(//*[@os='m'])"/>
71
72<screen><userinput>make ARCH=powerpc CROSS_COMPILE=${LFS_TARGET}-</userinput></screen>
73
74 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
75 href="../x86/kernel.xml"
76 xpointer="xpointer(//*[@os='af'])"/>
77
78 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
79 href="../x86/kernel.xml"
80 xpointer="xpointer(//*[@os='p'])"/>
81
82 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
83 href="../x86/kernel.xml"
84 xpointer="xpointer(//*[@os='q'])"/>
85
86 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
87 href="../x86/kernel.xml"
88 xpointer="xpointer(//*[@os='s'])"/>
89
90<screen><userinput>make ARCH=ppc CROSS_COMPILE=${LFS_TARGET}- \
91 INSTALL_MOD_PATH=${LFS} modules_install</userinput></screen>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../x86/kernel.xml"
95 xpointer="xpointer(//*[@os='u'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../x86/kernel.xml"
99 xpointer="xpointer(//*[@os='v'])"/>
100
101<screen><userinput>cp -v vmlinux ${LFS}/boot/lfskernel-&linux-version;</userinput></screen>
102
103 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
104 href="../x86/kernel.xml"
105 xpointer="xpointer(//*[@os='w'])"/>
106
107 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
108 href="../x86/kernel.xml"
109 xpointer="xpointer(//*[@os='w1'])"/>
110
111 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
112 href="../x86/kernel.xml"
113 xpointer="xpointer(//*[@os='x'])"/>
114
115 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
116 href="../x86/kernel.xml"
117 xpointer="xpointer(//*[@os='x1'])"/>
118
119 </sect2>
120
121 <sect2 role="content">
122 <title/>
123
124 <para>Details on this package are located in <xref
125 linkend="contents-kernel" role="."/></para>
126
127 </sect2>
128
129</sect1>
Note: See TracBrowser for help on using the repository browser.