Skip to content

open-power/hostboot

master-p10
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

The call to special wakeup that is run by Hostboot during mpipl
will fail if called on a processor chip with no functional cores.
Previously the check was for no PG-good cores but this didn't
cover an issue that has now been seen with low FCO numbers.

Change-Id: I7f6a9bd15abf494c899358f67162da752c959fef
EWM: 523155
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/151111
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins Combined Simics CI <combined-simics-ci+hostboot@us.ibm.com>
Reviewed-by: Deborah L McLemore <debmc@us.ibm.com>
Reviewed-by: Mike Baiocchi <baiocchi@ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com>
Reviewed-by: Nick Bofferding <bofferdn@us.ibm.com>
72c46d0

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
img
 
 
obj
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
hb
 
 
 
 
 
 

Hostboot

Hostboot firmware initializes all processor, bus, and memory within IBM POWER based systems. Furthermore, it is responsible for loading the hostboot image using hostboot bootloader, prepare hardware to load and run an appropriate payload (e.g phyp or skiboot), and provide runtime services while the payload is running. Various hostboot features are easily configurable via compile time CONFIG flags.

How to compile hostboot?

  • Standalone compile:
    • cd hostboot
    • ./hb workon
    • make -j32
      • NOTE: You can run make clobber when switching between branches or releases for a fresh start
    • hb prime
  • In OpenPOWER context:
    • op-build <system_name>_defconfig && op-build hostboot-rebuild machine-xml-rebuild openpower-pnor-rebuild
      • Example: op-build witherspoon_defconfig && op-build hostboot-rebuild machine-xml-rebuild openpower-pnor-rebuild
    • NOTE: Above command is assuming you have already done a full op-build compile already. If not, then run the following op-build <system_name>_defconfig && op-build

Various Components

Hostboot Bootloader (HBBL)

Hostboot Bootloader image is part of the SEEPROM SBE (Self Boot Engine) image. In istep 5.1, SBE loads the bootloader in cache. In istep 5.2, SBE starts instructions on the processor from where the HBBL is loaded. HBBL finds the hostboot images in pnor, loads them into memory, and starts hostboot.

Kernel

Hostboot uses a custom kernel that enables execution of user-space hostboot IPL firmware and services. The kernel provides the general execution environment, message passing, task control, memory management, interrupt support, and any other functions to support the initialization activities of the user space. It is a micro-kernel that pushes as much function as possible to the user space, which has more safety protections.

User Space Applications

There are various user space applications, including, device drivers, services necessary for base enablement, and other interactions with other components.

Device Drivers
  • Base Device Driver FW (devicefw)
  • FSI
  • GPIO
  • I2C
  • SCAN/SCOM/IBSCOM/FSISCOM/XSCOM
  • LPC
  • MBOX
  • PNOR
Base Services
  • Error Logs
  • Targeting
  • FAPI2
  • HWAS
  • Base IPL Service (initservice/isteps)
  • Interrupt Service
  • Trace
  • VFS
  • VPD
  • Console
  • Secureboot
Other FW Components
  • SBE
  • HDAT
  • HTMGT
  • PRD/DIAGNOSTICS
  • HBRT

Build

This contains all the infrastructure to compile, link, and generate hostboot binaries (including a full pnor for standalone compile).

Import

This contains code which does all the hardware accesses required to initialize the hardware. This lives in the import directory because we directly consume it from the hardware team and call it hardware procedures.

About

System initialization firmware for Power systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published