The hardware initialization code contains calls to a series of Power-On Self Test (POST) routines. The principle features are a ROM checksum test, memory testing, detection of the manufacturing test pin, and test manager support. These diagnostics run in native Power PC code.
The hardware initialization code on the new PowerBook computer is different from that on earlier PowerBook models because of the new ICs (Uni-N and KeyLargo). Additional diagnostics are run out of the ROM in emulation.
Functions of the hardware initialization code include
The firmware in the boot ROM sets up and sizes memory, then stores the information in the device tree where it is available to the operating system. The firmware obtains information about the memory by way of the serial presence detect mechanism of the SO-DIMM that is used for memory expansion. The JEDEC standard for the SO-DIMM mandates that all SO-DIMMs include a ROM with information about the memory. The Uni-N IC reads that information from the ROM by way of the I2C bus.