注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

My Unix World

不要迷恋Unix,Unix只是计算世界很小的一部分!

 
 
 

日志

 
 

【Wikipedia】 Open Firmware  

2008-12-16 00:45:28|  分类: L-Boot |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

Open Firmware, or OpenBoot in Sun Microsystems parlance, is a standard defining the interfaces of a computer firmware system, formerly endorsed by the IEEE. It originated at Sun, and is used by Sun, Apple, IBM, and most other non-x86 PCI chipset vendors. Open Firmware allows the system to load platform-independent drivers directly from the PCI card, improving compatibility. The proposed Power Architecture Platform Reference will also be Open Firmware based.

Open Firmware may be accessed through its Forth language shell interface. It achieves essentially the same functionality as the later EFI standard initiated at Intel, with lower overhead.

Open Firmware is described by IEEE standard IEEE 1275-1994, which was not reaffirmed by the Open Firmware Working Group (OFWG) since 1998 and has therefore been officially withdrawn by IEEE.

Several commercial implementations of Open Firmware have been released to the Open Source community in 2006, including Sun OpenBoot, Firmworks OpenFirmware and Codegen SmartFirmware. The source code is available from the OpenBIOS project. Sun's implementation is available under a BSD license.[1]

Advantages

Because the Open Firmware Forth code is compiled into FCode (a bytecode) and not into the machine language of any particular computer architecture, Open Firmware code included in, say, an I/O card can be executed by any system that uses Open Firmware. In this way, an I/O card can provide boot-time diagnostics, configuration code, and device drivers that will be usable on any system running Open Firmware, allowing many of the same I/O cards to be used on Sun systems and Macintoshes. FCode is a Forth programming language dialect compliant with ANS Forth. It can exist in two forms; source code and a compiled version, known as bytecode. FCode is mainly used in writing Open Firmware device drivers for PCI cards.

Being based upon an interactive programming language, Open Firmware can be used to efficiently test and bring up new hardware.

Access

On Sun SPARC systems, the Open Firmware interface is displayed on the console terminal before the bootstrapping of the system software. If a keyboard is connected, the main video display will be used as the console terminal and Open Firmware can be re-entered at any time by pressing Stop-A (L1-A) on the keyboard. If no keyboard is connected, then the first serial line on the system is usually used as the console and Open Firmware is re-entered by sending a "Break" on the serial line. While the system software is running, various Open Firmware settings can be read or written using the eeprom command.

On a PowerPC-based Macintosh, the Open Firmware interface can be accessed by pressing the keys Cmd-Option-O-F at startup.[2] This functionality is generally only used by developers or troubleshooting I.T. personnel; for common users, the Mac OS X operating system provides a high level graphical user interface to change commonly used Open Firmware settings. For instance, it is possible to specify the boot disk or partition without directly using the Open Firmware interface. Other Open Firmware settings can be changed using the nvram command while the system software is running.

On Pegasos, the interface is accessed by pressing Esc at startup.

On IBM POWER systems, Open Firmware ("ok" prompt) can be accessed through the SMS Boot Menu. SMS Boot Menu can be accessed by pressing "1" or "F1" during the boot sequence, after hardware checking, and just before the OS boot.

On the OLPC XO-1 laptop, first get a developer key, which allows full access to the firmware. The key is readily accessible via the home page of the web browser. After you install the key, upon each power-on, you can interrupt the boot countdown with Esc (the upper left key) to get to the Forth ok prompt.

See also

External links

Notes and references

  1. ^ http://laptop.media.mit.edu/laptopnews.nsf/2e76a5a80bc36cbf85256cd700545fa5/2cc25a58f0d1a6e8852572070033befc?OpenDocument
  2. ^ Intel-based Macintoshes do not use Open Firmware; they use Extensible Firmware Interface. See also: Apple's transition to Intel processors. Also, early versions (before the PowerBook 3400) connect Open Firmware's input and output to the Modem port by default.
=======================================================================================

OpenBIOS is a project aiming to provide free and open source implementations of Open Firmware. It is also the name of such an implementation.

Most of the implementations provided by OpenBIOS rely on an additional lower-level firmware for hardware initialization, such as coreboot or Das U-Boot.

Open Firmware

Not to be confused with the IEEE-1275 specification it implements. Released by the company Firmworks. The principal architect of Open Firmware, Mitch Bradley, is chairman of the Open Firmware Working Group and President & Founder of Firmworks. The OLPC XO-1 laptop uses the Open Firmware implementation.

Smart Firmware

Includes a C to FCode compiler. Made by CodeGen, Inc.

OpenBOOT

Released by Sun Microsystems. Supports the sun4v architecture.

OpenBIOS

Portable and licensed under the GPL. Produced by the OpenBIOS project.

SLOF

Slimline Open Firmware. Produced by IBM.


  评论这张
 
阅读(403)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017