Open Firmware: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (...)
(Added new "Replacing BIOS - an historical overview" section with info from devel list.)
Line 4: Line 4:


For example Debian uses the [http://en.wikipedia.org/wiki/Yaboot YaBoot] BootLoader for OpenFirmware.
For example Debian uses the [http://en.wikipedia.org/wiki/Yaboot YaBoot] BootLoader for OpenFirmware.

== Replacing BIOS - an historical overview ==

Insyde was a development BIOS and bootloader used for a very short
time until we were able to bootstrap our own. At that point, we moved
to LinuxBIOS for both low-level hw init and bootloader, which was
less than ideal and somewhat unwieldy. In a surprise move, SUNW then
opened up their parts of the OFW/OBP code under a BSD license, which
allowed Mitch Bradley (at that point working for us) to open up his
own parts -- that of his company, FirmWorks -- and let us have an
acceptably-licensed OpenFirmware we can use as a fancy and compact
bootloader. LinuxBIOS did low-level hardware initialization,
transfered control to OFW, which then also acting as boot loader to load Linux OS.

Now, LinuxBIOS is not present at all. The low-level init is now done with a
few lines of assembly language code and a big table of register values.

Removing LinuxBIOS was what made it possible to get the startup
time down to a couple of seconds, and to do the firmware part of resume
in a few milliseconds.

:source [http://lists.laptop.org/pipermail/devel/2007-August/thread.html#6227 Questions on LinuxBIOS and OpenFirmware]


== See also ==
== See also ==

Revision as of 18:27, 24 August 2007

OpenFirmware is a hardware-independent Firmware (computer software which loads the operating system), developed by Mitch Bradley at Sun Microsystems, and used in post-NuBus PowerPC-based Apple Macintosh computers (though it has been dropped with Apple's transition to Intel processors), Sun Microsystems SPARC based workstations and servers, IBM POWER systems, and PegasosPPC systems, among others. On those computers, Open Firmware fulfills the same tasks as BIOS does on PC computers.

It is accessed by a user by a FORTH-based shell interface. FORTH is a powerful high level language.

For example Debian uses the YaBoot BootLoader for OpenFirmware.

Replacing BIOS - an historical overview

Insyde was a development BIOS and bootloader used for a very short time until we were able to bootstrap our own. At that point, we moved to LinuxBIOS for both low-level hw init and bootloader, which was less than ideal and somewhat unwieldy. In a surprise move, SUNW then opened up their parts of the OFW/OBP code under a BSD license, which allowed Mitch Bradley (at that point working for us) to open up his own parts -- that of his company, FirmWorks -- and let us have an acceptably-licensed OpenFirmware we can use as a fancy and compact bootloader. LinuxBIOS did low-level hardware initialization, transfered control to OFW, which then also acting as boot loader to load Linux OS.

Now, LinuxBIOS is not present at all. The low-level init is now done with a few lines of assembly language code and a big table of register values.

Removing LinuxBIOS was what made it possible to get the startup time down to a couple of seconds, and to do the firmware part of resume in a few milliseconds.

source Questions on LinuxBIOS and OpenFirmware

See also

External links