Tool/software: Linux
Hi,
I am able to switch off CPU1 and boot the linux on CPU0 (DRA74x-J6). Now I want to run the bare-metel or Android OS on CPU1 using AMP.
Please guide us to do this ..
Thanks,
Lal Bosco
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Linux
Hi,
I am able to switch off CPU1 and boot the linux on CPU0 (DRA74x-J6). Now I want to run the bare-metel or Android OS on CPU1 using AMP.
Please guide us to do this ..
Thanks,
Lal Bosco
Hi,
CPU1 is released from reset automatically by PRCM or by ROM code (I don't know who exactly but it doesn't really matter). After that, CPU1 is held in wait-for-event (WFE) which is similar to reset state because CPU1 is not executing anything. After ROM hands over to bootloader, bootloader can wake up the slave CPU by executing a SEV command.
Two internal memory-mapped registers are available to the OS for communicating start-up information.
The AUX_CORE_BOOT_0 and AUX_CORE_BOOT_1 registers are in the MPU WakeupGen domain.
• AUX_CORE_BOOT_0 is used as a status register to signal the slave CPU that it must wake up after
the send event operation initiated by the master CPU.
• AUX_CORE_BOOT_1 contains the physical address location to which the slave CPU must jump after
wakeup.
See the memory mapping of these registers in Section 4.4.10, MPU_WUGEN Registers in Dual Cortex-
A15 MPU Subsystem.