Booting

From Linux Drivers
Jump to: navigation, search

ARM Architecture

stext (arch/arm/kernel/head.S)

stext is the entry point of Linux kernel for ARM architectures.

  1. Set CPSR to ensure the processor is in supervisor mode, and both IRQ and FIQ are disabled.
  2. Get processor ID from CP15
  3. Get the pointer to procinfo structure for its processor ID by calling __lookup_processor_type (arch/arm/kernel/head-common.S). If __lookup_processor_type could not find the procinfo structure, then the system fails to boot.
  4. __create_page_tables
  5. __enable_mmu

_mmap_switched (arch/arm/kernel/head-common.S)

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox