- Timestamp:
- May 10, 2006, 10:25:52 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 2676abb
- Parents:
- 23fc9445
- Location:
- BOOK
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/appendices/acronymlist.xml
r23fc9445 rc06e893 52 52 53 53 <varlistentry> 54 <term><emphasis role="bold">ATA</emphasis></term> 55 <listitem> 56 <para>Advanced Technology Attachment (see IDE)</para> 57 </listitem> 58 </varlistentry> 59 60 <varlistentry> 54 61 <term><emphasis role="bold">BIOS</emphasis></term> 55 62 <listitem> … … 465 472 466 473 <varlistentry> 474 <term><emphasis role="bold">SATA</emphasis></term> 475 <listitem> 476 <para>Serial ATA</para> 477 </listitem> 478 </varlistentry> 479 480 <varlistentry> 467 481 <term><emphasis role="bold">SGR</emphasis></term> 468 482 <listitem> -
BOOK/final-system/ppc/yaboot.xml
r23fc9445 rc06e893 35 35 <title>Installation of Yaboot</title> 36 36 37 <para >Yaboot has a compilation error. The following patch properly fixes38 the issue:</para>37 <para os="a">Yaboot has a compilation error. The following patch properly 38 fixes the issue:</para> 39 39 40 <screen ><userinput>patch -Np1 -i ../yaboot-&yaboot-version;-fix-1.patch</userinput></screen>40 <screen os="b"><userinput>patch -Np1 -i ../&yaboot-fix-patch;</userinput></screen> 41 41 42 <para >The supplied man pages have <filename class="directory">/usr/local43 < /filename> in the text. This sed will correct that:</para>42 <para os="c">The following patch removes a redundant test which prevents 43 <command>ofpath</command> from executing against SATA disks:</para> 44 44 45 <screen ><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen>45 <screen os="d"><userinput>patch -Np1 -i ../&yaboot-sata-patch;</userinput></screen> 46 46 47 <para>Compile the Yaboot package:</para> 47 <para os="e">The supplied man pages have <filename 48 class="directory">/usr/local</filename> in the text. This sed will correct 49 that:</para> 48 50 49 <screen ><userinput>make PREFIX=/usr</userinput></screen>51 <screen os="f"><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen> 50 52 51 <para >Installthe package:</para>53 <para os="g">Compile the package:</para> 52 54 53 <screen><userinput>make PREFIX=/usr install</userinput></screen> 55 <screen os="h"><userinput>make PREFIX=/usr</userinput></screen> 56 57 <para os="i">Install the package:</para> 58 59 <screen os="j"><userinput>make PREFIX=/usr install</userinput></screen> 54 60 55 61 </sect2> -
BOOK/final-system/ppc64/yaboot.xml
r23fc9445 rc06e893 15 15 </indexterm> 16 16 17 <sect2 role="package"> 18 <title/> 19 20 <!-- this is a copy of the ppc version. once it is working, the text needs to 21 be fixed to refer to the master text instead of copying it --> 22 23 <para>The Yaboot package contains a PowerPC Boot Loader for machines using 24 OpenFirmware such as NewWorld Macintoshes.</para> 25 26 <segmentedlist> 27 <segtitle>&dependencies;</segtitle> 28 29 <seglistitem> 30 <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, 31 Make, Ncurses, and Sed</seg> 32 </seglistitem> 33 </segmentedlist> 34 35 </sect2> 17 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 18 href="../ppc/yaboot.xml" 19 xpointer="xpointer(//*[@role='package'])"/> 36 20 37 21 <sect2 role="installation"> 38 22 <title>Installation of Yaboot</title> 39 23 40 <caution> 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 href="../ppc/yaboot.xml" 26 xpointer="xpointer(//*[@os='a'])"/> 41 27 42 <para>This does not work! For now, if you have an existing system, use 43 yaboot from that system.</para> 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 29 href="../ppc/yaboot.xml" 30 xpointer="xpointer(//*[@os='b'])"/> 44 31 45 </caution> 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 33 href="../ppc/yaboot.xml" 34 xpointer="xpointer(//*[@os='c'])"/> 46 35 47 <para>Yaboot has a compilation error. The following patch properly fixes 48 the issue:</para> 36 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 37 href="../ppc/yaboot.xml" 38 xpointer="xpointer(//*[@os='d'])"/> 49 39 50 <screen><userinput>patch -Np1 -i ../yaboot-&yaboot-version;-fix-1.patch</userinput></screen> 40 <para>Existing multilib distributions alter gcc to default to 32-bit 41 output. Because our gcc defaults to 64-bit, we need to pass appropriate 42 options to both the compiler and the linker. The Makefile already 43 overrides any CC and ignores LDFLAGS in favour of its own variables, so we 44 need to use the following seds for a successful compile and install.</para> 51 45 52 <para>The supplied man pages have <filename class="directory">/usr/local 53 </filename> in the text. This sed will correct that:</para> 46 <screen><userinput>sed -i -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \ 47 -e "s/\(-Bstatic\)/-melf32ppclinux \1/" Makefile 48 </userinput></screen> 54 49 55 <screen><userinput>sed -i 's%/usr/local%/usr%' man/*</userinput></screen> 50 <variablelist os="j"> 51 <title>The meaning of the sed parameters:</title> 56 52 57 <para>Compile the Yaboot package:</para> 58 59 <screen><userinput>make PREFIX=/usr</userinput></screen> 60 61 <para>Install the package:</para> 62 63 <screen><userinput>make PREFIX=/usr install</userinput></screen> 64 65 </sect2> 66 67 <sect2 id="contents-yaboot" role="content"> 68 <title>Contents of Yaboot</title> 69 70 <segmentedlist> 71 <segtitle>Installed programs</segtitle> 72 <segtitle>Installed files</segtitle> 73 74 <seglistitem> 75 <seg>addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot, 76 yabootconfig, ybin</seg> 77 <seg>yaboot.conf</seg> 78 </seglistitem> 79 </segmentedlist> 80 81 <variablelist> 82 <bridgehead renderas="sect3">Short Descriptions</bridgehead> 83 <?dbfo list-presentation="list"?> 84 <?dbhtml list-presentation="table"?> 85 86 <varlistentry id="addnote"> 87 <term><command>addnote</command></term> 88 <listitem> 89 <para>For IBM CHRP machines, add a PT_NOTE program header 90 entry to an elf file so that it can be booted.</para> 91 <indexterm zone="ch-system-yaboot addnote"> 92 <primary sortas="b-addnote">addnote</primary> 93 </indexterm> 94 </listitem> 95 </varlistentry> 96 97 <varlistentry id="mkofboot"> 98 <term><command>mkofboot</command></term> 53 <varlistentry> 54 <term><parameter>"s/\(-print-libgcc-file-name\)/${BUILD32} \1/"</parameter></term> 99 55 <listitem> 100 <para>Format the bootstrap partition and install the yaboot 101 boot loader.</para> 102 <indexterm zone="ch-system-yaboot mkofboot"> 103 <primary sortas="b-mkofboot">mkofboot</primary> 104 </indexterm> 56 <para>This picks a convenient place within the Makefile's lgcc 57 variable and inserts the flag to force <command>gcc</command> to 58 create 32-bit code when compiling yaboot.</para> 105 59 </listitem> 106 60 </varlistentry> 107 108 <varlistentry id="ofboot"> 109 <term><command>ofboot</command></term> 61 <varlistentry> 62 <term><parameter>"s/\(-Bstatic\)/-melf32ppclinux \1/"</parameter></term> 110 63 <listitem> 111 <para>Script to format the boot menu using yaboot.conf and 112 write the resulting OpenFirmware code to the bootstrap.</para> 113 <indexterm zone="ch-system-yaboot ofboot"> 114 <primary sortas="b-ofboot">ofboot</primary> 115 </indexterm> 116 </listitem> 117 </varlistentry> 118 119 <varlistentry id="ofpath"> 120 <term><command>ofpath</command></term> 121 <listitem> 122 <para>Determine OpenFirmware path corresponding to a device 123 node.</para> 124 <indexterm zone="ch-system-yaboot ofpath"> 125 <primary sortas="b-ofpath">ofpath</primary> 126 </indexterm> 127 </listitem> 128 </varlistentry> 129 130 <varlistentry id="yaboot"> 131 <term><command>yaboot</command></term> 132 <listitem> 133 <para>OpenFirmware boot loader.</para> 134 <indexterm zone="ch-system-yaboot yaboot"> 135 <primary sortas="b-yaboot">yaboot</primary> 136 </indexterm> 137 </listitem> 138 </varlistentry> 139 140 <varlistentry id="yabootconfig"> 141 <term><command>yabootconfig</command></term> 142 <listitem> 143 <para>Generate and install a simple yaboot.conf.</para> 144 <indexterm zone="ch-system-yaboot yabootconfig"> 145 <primary sortas="b-yabootconfig">yabootconfig</primary> 146 </indexterm> 147 </listitem> 148 </varlistentry> 149 150 <varlistentry id="ybin"> 151 <term><command>ybin</command></term> 152 <listitem> 153 <para>Shell script to update or install the boot loader 154 on a bootstrap partition.</para> 155 <indexterm zone="ch-system-yaboot ybin"> 156 <primary sortas="b-ybin">ybin</primary> 157 </indexterm> 158 </listitem> 159 </varlistentry> 160 161 <varlistentry id="yaboot.conf"> 162 <term><filename>yaboot.conf</filename></term> 163 <listitem> 164 <para>Configuration file used by <command>ybin</command> to determine 165 how to install <command>yaboot</command> on the bootstrap partition.</para> 166 <indexterm zone="ch-system-yaboot yaboot.conf"> 167 <primary sortas="e-yaboot.conf">yaboot.conf</primary> 168 </indexterm> 64 <para>This picks the end of the LFLAGS which the Makefile passes to 65 the linker to create the second-stage linux loader, and inserts a 66 flag to force <command>ld</command> to use a suitable 32-bit 67 emulation picked from the output of <command>'ld -V'</command>.</para> 169 68 </listitem> 170 69 </varlistentry> … … 172 71 </variablelist> 173 72 73 <important> 74 <para>The above patches and seds are critical in ensuring a 75 successful build. In particular, the package will appear to install 76 correctly without the second sed, but will fail to load linux, 77 requiring you to use OF or a rescue disk to boot.</para> 78 </important> 79 80 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 81 href="../ppc/yaboot.xml" 82 xpointer="xpointer(//*[@os='e'])"/> 83 84 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 85 href="../ppc/yaboot.xml" 86 xpointer="xpointer(//*[@os='f'])"/> 87 88 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 89 href="../ppc/yaboot.xml" 90 xpointer="xpointer(//*[@os='g'])"/> 91 92 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 93 href="../ppc/yaboot.xml" 94 xpointer="xpointer(//*[@os='h'])"/> 95 96 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 97 href="../ppc/yaboot.xml" 98 xpointer="xpointer(//*[@os='i'])"/> 99 100 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 101 href="../ppc/yaboot.xml" 102 xpointer="xpointer(//*[@os='j'])"/> 103 174 104 </sect2> 175 105 106 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 107 href="../ppc/yaboot.xml" 108 xpointer="xpointer(id('contents-yaboot'))"/> 109 176 110 </sect1> -
BOOK/general.ent
r23fc9445 rc06e893 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 2 3 <!ENTITY version "CLFS-SVN-200605 09">3 <!ENTITY version "CLFS-SVN-20060510"> 4 4 <!ENTITY version-x86 "&version;-x86"> 5 5 <!ENTITY version-x86_64 "&version;-x86_64-Multilib"> … … 16 16 <!ENTITY version-alpha "&version;-ALPHA"> 17 17 18 <!ENTITY releasedate "May 9, 2006">18 <!ENTITY releasedate "May 10, 2006"> 19 19 <!ENTITY milestone "0.1"> 20 20 <!ENTITY generic-version "svn"> <!-- Use "svn", "testing", or "x.y[-pre{x}]" --> -
BOOK/introduction/ppc/changelog.xml
r23fc9445 rc06e893 33 33 34 34 --> 35 36 <listitem> 37 <para>May 10, 2006</para> 38 <itemizedlist> 39 <listitem> 40 <para>[ken] - Include the SATA patch for yaboot.</para> 41 </listitem> 42 </itemizedlist> 43 </listitem> 35 44 36 45 <listitem> -
BOOK/introduction/ppc64/changelog.xml
r23fc9445 rc06e893 33 33 34 34 --> 35 36 <listitem> 37 <para>May 10, 2006</para> 38 <itemizedlist> 39 <listitem> 40 <para>[ken] - Make yaboot build in the final system.</para> 41 </listitem> 42 </itemizedlist> 43 </listitem> 35 44 36 45 <listitem> -
BOOK/materials/ppc/patches.xml
r23fc9445 rc06e893 18 18 19 19 <varlistentry> 20 <term>Powerpc-utils_(&powerpcutils-version;) - 21 KB:</term>20 <term>Powerpc-utils_(&powerpcutils-version;) Fixes Patch - 21 KB:</term> 21 21 <listitem> 22 22 <para><ulink … … 26 26 27 27 <varlistentry> 28 <term>Yaboot (&yaboot-version;) - 1 KB:</term>28 <term>Yaboot (&yaboot-version;) Fixes Patch - 1 KB:</term> 29 29 <listitem> 30 30 <para><ulink … … 33 33 </varlistentry> 34 34 35 <varlistentry> 36 <term>Yaboot (&yaboot-version;) SATA Patch - 1 KB:</term> 37 <listitem> 38 <para><ulink 39 url="&patches-root;yaboot/&yaboot-sata-patch;"/></para> 40 </listitem> 41 </varlistentry> 42 35 43 </variablelist> 36 44 -
BOOK/materials/ppc64/patches.xml
r23fc9445 rc06e893 22 22 23 23 <varlistentry> 24 <term>Powerpc-utils_(&powerpcutils-version;) - 21 KB:</term>24 <term>Powerpc-utils_(&powerpcutils-version;) Fixes Patch - 21 KB:</term> 25 25 <listitem> 26 26 <para><ulink … … 30 30 31 31 <varlistentry> 32 <term>Yaboot (&yaboot-version;) - 1 KB:</term>32 <term>Yaboot (&yaboot-version;) Fixes Patch - 1 KB:</term> 33 33 <listitem> 34 34 <para><ulink … … 37 37 </varlistentry> 38 38 39 <varlistentry> 40 <term>Yaboot (&yaboot-version;) SATA Patch - 1 KB:</term> 41 <listitem> 42 <para><ulink 43 url="&patches-root;yaboot/&yaboot-sata-patch;"/></para> 44 </listitem> 45 </varlistentry> 46 39 47 </variablelist> 40 48 -
BOOK/patches.ent
r23fc9445 rc06e893 73 73 <!ENTITY lilo-cross-x86_64-patch "lilo-&lilo-version;-cross_compile_x86_64-1.patch"> 74 74 75 <!-- Start of ppc patches -->75 <!-- Start of ppc/ppc64 patches --> 76 76 77 77 <!ENTITY powerpcutils-patch "powerpc-utils_&powerpcutils-version;-fixes-1.patch"> 78 78 79 <!ENTITY powerpcutils64-patch "powerpc-utils_&powerpcutils-version;-fixes-2.patch"> 80 79 81 <!ENTITY yaboot-fix-patch "yaboot-&yaboot-version;-fix-1.patch"> 80 82 81 <! -- Start of ppc64 patches -->83 <!ENTITY yaboot-sata-patch "yaboot-&yaboot-version;-ofpath_sata-1.patch"> 82 84 83 <!ENTITY powerpcutils64-patch "powerpc-utils_&powerpcutils-version;-fixes-2.patch">84 85 85 86 <!-- Start of sparc/sparc64 patches --> -
BOOK/stylesheets/top-index.xsl
r23fc9445 rc06e893 202 202 </h4> 203 203 </li> 204 <br />205 <h3>206 <xsl:text>Working from chroot, except for the bootloader. Development in progress.</xsl:text>207 </h3>208 204 <li> 209 205 <h4>
Note:
See TracChangeset
for help on using the changeset viewer.