📄 yaboot.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content= "application/xhtml+xml; charset=iso-8859-1" /> <title> 10.57. Yaboot-1.3.13 </title> <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" /> <meta name="generator" content="DocBook XSL Stylesheets V1.69.1" /> <link rel="stylesheet" href="../stylesheets/lfs-print.css" type= "text/css" media="print" /> </head> <body id="lfs" class="CLFS-SVN-20060417-PowerPC"> <div class="navheader"> <div class="headertitles"> <h4> Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-PowerPC </h4> <h3> Chapter 10. Installing Basic System Software </h3> </div> <ul class="headerlinks"> <li class="prev"> <a accesskey="p" href="powerpc-utils.html" title= "Powerpc-Utils_1.1.3">Prev</a> <p> Powerpc-Utils_1.1.3 </p> </li> <li class="next"> <a accesskey="n" href="aboutdebug.html" title= "About Debugging Symbols">Next</a> <p> About Debugging Symbols </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 10. Installing Basic System Software">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-PowerPC"> Home</a> </li> </ul> </div> <div class="wrap" lang="en" xml:lang="en"> <div class="titlepage"> <h1 class="sect1"> 10.57. Yaboot-1.3.13 </h1> </div> <div class="package" lang="en" xml:lang="en"> <p> The Yaboot package contains a PowerPC Boot Loader for machines using OpenFirmware such as NewWorld Macintoshes. </p> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installation depends on:</span></strong> <span class="seg">Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make, Ncurses, and Sed</span> </div> </div> </div> </div> <div class="installation" lang="en" xml:lang="en"> <div class="titlepage"> <h2 class="sect2"> 10.57.1. Installation of Yaboot </h2> </div> <p> Yaboot has a compilation error. The following patch properly fixes the issue: </p> <pre class="userinput"><kbd class="command">patch -Np1 -i ../yaboot-1.3.13-fix-1.patch</kbd></pre> <p> Compile the Yaboot package: </p> <pre class="userinput"><kbd class="command">make PREFIX=/usr</kbd></pre> <p> Install the package: </p> <pre class="userinput"><kbd class="command">make PREFIX=/usr install</kbd></pre> </div> <div class="content" lang="en" xml:lang="en"> <div class="titlepage"> <a id="contents-yaboot" name="contents-yaboot"></a> <h2 class="sect2"> 10.57.2. Contents of Yaboot </h2> </div> <div class="segmentedlist"> <div class="seglistitem"> <div class="seg"> <strong><span class="segtitle">Installed programs:</span></strong> <span class="seg">addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot, yabootconfig, ybin</span> </div> <div class="seg"> <strong><span class="segtitle">Installed files:</span></strong> <span class="seg">yaboot.conf</span> </div> </div> </div> <div class="variablelist"> <h3> <a id="id3691207" name="id3691207"></a>Short Descriptions </h3> <table border="0"> <col align="left" valign="top" /> <tbody> <tr> <td> <a id="addnote" name="addnote"></a><span class= "term"><span><strong class= "command">addnote</strong></span></span> </td> <td> <p> For IBM CHRP machines, add a PT_NOTE program header entry to an elf file so that it can be booted. </p> </td> </tr> <tr> <td> <a id="mkofboot" name="mkofboot"></a><span class= "term"><span><strong class= "command">mkofboot</strong></span></span> </td> <td> <p> Format the bootstrap partition and install the yaboot boot loader. </p> </td> </tr> <tr> <td> <a id="ofboot" name="ofboot"></a><span class= "term"><span><strong class= "command">ofboot</strong></span></span> </td> <td> <p> Script to format the boot menu using yaboot.conf and write the resulting OpenFirmware code to the bootstrap. </p> </td> </tr> <tr> <td> <a id="ofpath" name="ofpath"></a><span class= "term"><span><strong class= "command">ofpath</strong></span></span> </td> <td> <p> Determine OpenFirmware path corresponding to a device node. </p> </td> </tr> <tr> <td> <a id="yaboot" name="yaboot"></a><span class= "term"><span><strong class= "command">yaboot</strong></span></span> </td> <td> <p> OpenFirmware boot loader. </p> </td> </tr> <tr> <td> <a id="yabootconfig" name="yabootconfig"></a><span class= "term"><span><strong class= "command">yabootconfig</strong></span></span> </td> <td> <p> Generate and install a simple yaboot.conf. </p> </td> </tr> <tr> <td> <a id="ybin" name="ybin"></a><span class= "term"><span><strong class= "command">ybin</strong></span></span> </td> <td> <p> Shell script to update or install the boot loader on a bootstrap partition. </p> </td> </tr> <tr> <td> <a id="yaboot.conf" name="yaboot.conf"></a><span class= "term"><tt class="filename">yaboot.conf</tt></span> </td> <td> <p> Configuration file used by <span><strong class= "command">ybin</strong></span> to determine how to install <span><strong class= "command">yaboot</strong></span> on the bootstrap partition. </p> </td> </tr> </tbody> </table> </div> </div> </div> <div class="navfooter"> <ul> <li class="prev"> <a accesskey="p" href="powerpc-utils.html" title= "Powerpc-Utils_1.1.3">Prev</a> <p> Powerpc-Utils_1.1.3 </p> </li> <li class="next"> <a accesskey="n" href="aboutdebug.html" title= "About Debugging Symbols">Next</a> <p> About Debugging Symbols </p> </li> <li class="up"> <a accesskey="u" href="chapter.html" title= "Chapter 10. Installing Basic System Software">Up</a>. </li> <li class="home"> <a accesskey="h" href="../index.html" title= "Cross-Compiled Linux From Scratch - Version CLFS-SVN-20060417-PowerPC"> Home</a>. </li> </ul> </div> </body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -