10.57. Yaboot-1.3.13

#### Cross-Compiled Linux From Scratch - Version 1.0.0rc1-PowerPC

### Chapter 10. Installing Basic System Software

- Prev

  Powerpc-Utils_1.1.3

- Next

  About Debugging Symbols

- Up.
- Home

# 10.57. Yaboot-1.3.13

The Yaboot package contains a PowerPC Boot Loader for machines using Open Firmware such as NewWorld Macintoshes.

## 10.57.1. Installation of Yaboot

Yaboot has a compilation error. The following patch properly fixes the issue:

    patch -Np1 -i ../yaboot-1.3.13-fix-1.patch

The following patch removes a redundant test which prevents ofpath from executing against SATA disks:

    patch -Np1 -i ../yaboot-1.3.13-ofpath_sata-1.patch

The supplied man pages have `/usr/local` in the text. This sed will correct that:

    sed -i 's%/usr/local%/usr%' man/*

Compile the package:

    make PREFIX=/usr

Install the package:

    make PREFIX=/usr install

## 10.57.2. Contents of Yaboot

Installed programs: addnote, mkofboot (link to ybin), ofboot, ofpath, yaboot, yabootconfig, ybin
Installed files: yaboot.conf

### Short Descriptions

addnote | For IBM CHRP machines, add a PT_NOTE program header entry to an elf file so that it can be booted.
mkofboot | Format the bootstrap partition and install the yaboot boot loader.
ofboot | Script to format the boot menu using yaboot.conf and write the resulting Open Firmware code to the bootstrap.
ofpath | Determine Open Firmware path corresponding to a device node.
yaboot | Open Firmware boot loader.
yabootconfig | Generate and install a simple yaboot.conf.
ybin | Shell script to update or install the boot loader on a bootstrap partition.
`yaboot.conf` | Configuration file used by ybin to determine how to install yaboot on the bootstrap partition.

- Prev

  Powerpc-Utils_1.1.3

- Next

  About Debugging Symbols

- Up.
- Home.