Understanding the Boot Process

Typically, a computer boots in three stages:

  1. The hardware is initialized by software closely tied to the hardware.

  2. The kernel is loaded into RAM by the kernel loader.

  3. The kernel itself runs, further initializing the hardware, and then runs the application software.

BIOS

When power is applied to an embedded Linux device, the hardware goes through a series of events that ends with the processor in some sort of reset state. When the hardware releases the processor from the reset state, it begins executing instructions at a known location. These instructions are normally stored in ROM or flash memory. On a PC, these instructions are called the BIOS. The BIOS code is responsible for getting the hardware on the PC ...

Get Embedded Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.