Part 17: Boot and system bring-up
Prerequisites: 3.2, 3.3, 4.5, 8.8, 9.3, 12.2, 12.3. On the bring-up path, 17.1–17.3 can be read directly after Part 5, following their forward references.
If you already know: If you have ported TF-A’s BL31 to a new SoC, skim 17.1 and 17.2 for the UNKNOWN-state and X-propagation material, and read 17.3, 17.5 and the per-feature list in 17.6 in full.
Why this matters for bring-up/validation: every first-silicon milestone (first instruction, first UART output, all cores up, OS booted, suspend-resume stable) is gated by one of the sequences in this part, and most of their failures come from state that the architecture leaves UNKNOWN or that a higher EL forgot to enable.
This part follows a system from the first fetch at RVBAR_EL3 to the first instruction of the OS. It starts with what reset really defines: Cold and Warm reset, which state is architecturally UNKNOWN, why four-state simulation exposes reads of that state that two-state platforms hide, and the order of TF-A’s stackless entry code. It then sets up EL3 itself (SCTLR_EL3, SCR_EL3, CPTR_EL3, MDCR_EL3) on a deny-by-default principle, and turns that principle into an explicit checklist. Each feature arrives disabled behind an EL3 bit, needs an ID check before it is enabled, and needs its registers context-switched in every world that may use it. The checklist maps features to bits and shows what breaks when one is missed.
The second half scales out. Secondary cores are released through PSCI or a spin table, join coherency, and later go through retention and power-down states and come back through the GIC and timer wake-up paths. Multi-chiplet systems add steps the Arm ARM does not describe but software must respect: boot-core election across dies, address maps that must agree before any coherent access, ordered entry into the snoop and DVM domains, and cross-die GIC, SMMU, PoC, RAS and TLBI behaviour. The part ends with the Linux arm64 boot protocol, read as a list of architectural requirements, and with the device-tree versus ACPI decision.