Analyzing the Linux boot process


Alison Chaiken


But how does the kernel itself get started? So the kernel must start up something like other Linux ELF binaries … but how do userspace programs actually start? The ELF interpreter provisions a binary with the needed resources by calling _start() , a function available from the glibc source package that can be inspected via GDB. From start_kernel() to PID 1 The kernel’s hardware manifest: the device-tree and ACPI tables At boot, the kernel needs information about the hardware beyond the processor type for which it has been compiled. The kernel learns what hardware it must run at each boot by reading these files.


Visit Link


Tags: