Booting
From Linux Drivers
ARM Architecture
stext (arch/arm/kernel/head.S)
stext is the entry point of Linux kernel for ARM architectures.
- Set CPSR to ensure the processor is in supervisor mode, and both IRQ and FIQ are disabled.
- Get processor ID from CP15
- 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.
- __create_page_tables
- __enable_mmu