Difference between revisions of "OpenPOWER Firmware"

From RCS Wiki
Jump to navigation Jump to search
(Add column indicating where each piece of firmware is loaded from (i.e. where it is stored when the system is powered down))
(add entry for OTPROM firmware)
Line 10: Line 10:
 
! Loaded from
 
! Loaded from
 
! Function
 
! Function
 +
|-
 +
| [[OTPROM|OTPROM]]
 +
| SBE core (on CPU chip)
 +
| eFuses
 +
|
 +
* very first instructions executed
 +
* loads SBE firmware from SEEPROM into SBE core
 
|-
 
|-
 
| [[Self-Boot Engine|Self-Boot Engine]] (SBE)
 
| [[Self-Boot Engine|Self-Boot Engine]] (SBE)
Line 49: Line 56:
 
== Process ==
 
== Process ==
  
 +
# SBE executes [[OTPROM|OTPROM]]
 
# [[OpenBMC|OpenBMC]] starts SBE
 
# [[OpenBMC|OpenBMC]] starts SBE
 
# [[Self-Boot Engine|SBE]] loads Hostboot   
 
# [[Self-Boot Engine|SBE]] loads Hostboot   

Revision as of 16:57, 30 July 2018

OpenPOWER Firmware is an open-source alternative to OpenFirmware and proprietary IBM firmware used on Power machines.[1] It is a general name for many separate pieces of software used to start recent Power Architecture chips made by IBM.[2]

OpenBMC is a separate project that creates firmware for the Baseboard Management Controller.

Components

Firmware Executed on Loaded from Function
OTPROM SBE core (on CPU chip) eFuses
  • very first instructions executed
  • loads SBE firmware from SEEPROM into SBE core
Self-Boot Engine (SBE) SBE core (on CPU chip) SEEPROM
  • initialises CPU core
  • loads Hostboot
Hostboot CPU core SPI Flash
  • loads Skiboot
  • inits DRAM (zeroing for ECC mem.), Processor Bus, Memory buffer
Skiboot CPU core
  • implements OpenPOWER Abstraction Layer (OPAL) for OS runtime services
  • setup PCIe, device tree, real time clock, NVlink, sensors
  • loads Petitboot, OCC
Petitboot CPU core
  • boot menu
  • loads operating system
On-Chip Controller (OCC) OCC core (on CPU chip)
  • thermal regulation on CPU chip

Process

  1. SBE executes OTPROM
  2. OpenBMC starts SBE
  3. SBE loads Hostboot
  4. Hostboot loads Skiboot
  5. Skiboot loads OCC, Petitboot
  6. Petitboot loads the operating system
  7. operating system talks to firmware through OPAL

References

See also

External Links