Detailed Explanation of Embedded Linux Boot Process

Detailed Explanation of Embedded Linux Boot Process

Kernel Boot Stage 1. bootsect stage 2. setup stage 3. head.S stage 4. main.c stage Init Stage 1. Determine User Login Mode In “/etc/inittab”, the following login modes are listed: single-user maintenance mode, multi-user without network mode, text interface multi-user mode, and X-Windows multi-user mode. The single-user maintenance mode (runlevel 1) is similar to “Safe … Read more

Understanding MPIDR_EL1 Register Affinity in ARMv8/ARMv9

Understanding MPIDR_EL1 Register Affinity in ARMv8/ARMv9

The official documentation (<span>ARM ARM</span>) introduction is as follows: Translating the English related to <span>MPIDR_EL1</span>, it is as follows: Function: Provides an additional PE (process element) identification mechanism for scheduling in multi-processor systems. Attributes: MPIDR_EL1 is a 64-bit register. Field values: [63:40]: Reserved, RES0. [39:32]: Affinity level 3. For more information, refer to the description … Read more