...
Boot devices | Specifications |
8-bit NAND flash |
|
eMMC device |
|
SPI-NAND flash |
|
SPI-NOR flash |
|
SD card |
|
USB flash drive |
|
...
CPU boot core and other cores
CPU core 0 serves as the boot core, responsible for all boot processes from i-boot to Linux. Meanwhile, CPU core 1, 2, and 3 enter a spin state (wfe mode) inside within i-boot after initialize itselfself-initialization, awaiting activation by core 0. The following assembly shows the processes.
...
Run Control of CPU (at bootcompat session) :
subsequent assembly code illustrates these processes.
Line 75~78: Read MPIDR to retrieve the CPU core id.
Line 79 ~ 80: Verify whether the core id is equal to 0 (indicating core 0). If ture, execute the jump to start_boot; otherwise (for core 1, 2, 3), proceed to A_cpu_wait.
Line 84 ~ 99: Retrieve the CPU Run Control field. If the field is equivalent to CPU_WAIT_INIT_VAL, continue a loop (spin) between line 91 ~ 96 (depicted by the red rectangle). If the field is equal to CPU_WAIT_A64_VAL, initiate a jump to A_go_AA_64 (line105). For any other field values, perform a jump to the specified address.
...
Each CPU core possesses its own CPU Run Control field, with each field being 32 bits wide and situated in SRAM.
...
The values of the CPU Run Control field are defined in the table below:
Values | Define | Descriptions | |
0xFFFFFFFF | CPU_WAIT_INIT_VAL |
...
CPU continues spining (waiting) | ||
0xFFFFFFFE | CPU_WAIT_A64_VAL |
...
CPU goes to |
...
switch to 64-bit mode. | |||
X | CPU jumps to address X directly. |
CPU core 0 fills the specified value into the CPU Run Control field of the target core to wake it up.
Bootstrap pins of SP7350
The state of bootstrap pins of SP7350 is read into bootstrap register (G0.31) upon releasing power-on reset. Refer to definition of boot-strap pins in i-boot below:
...