Zephyr Project: RTOS Start-up and Initialization Flow
summary
Walks through the concrete boot sequence from reset to running main on Cortex‑M and RISC‑V showing where architecture hooks like z_arm_platform_init hook run, how vector table, FPU, BSS and init data are handled, and where the kernel creates a dummy thread and starts the scheduler. Explains device pre-kernel vs post-kernel run levels and priority-based init ordering, highlights an NXP bug where linker ordering broke a clock dependency causing a hang, and suggests moving drivers or changing priorities to fix it.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 0:38Zephyr Project Overview
- 2:06CortexM Flow Diagram
- 4:38Zephyr Early Startup
- 19:06Post Kernel
- 21:45Apis
- 22:41Initialization Levels
- 24:55Drivers
- 26:33Build Map
- 30:49Static Threads
related talks
34mZephyr Project: RTOS Start-up and Initialization Flow
50mZephyr Project: An RTOS to Change the Face of IoT
23mPorting Zephyr OS for a SoC (Cortex-R5)
42mTaking Your Hardware to Production with Zephyr RTOS
49mThe Zephyr™ Project – An Updated Overview
27mZephyr Porting Efforts in High Performance SoCs
42mEnabling Zephyr on Your Hardware Platform
42mEnabling Zephyr on Your Hardware Platform
