This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to bring secondary CPU1 on ARM v7

Hi,

I am trying to bring up CPU1 on ARM v7 architecture  (assume CPU0 already bring up & set c-environment)

using below code, but it hitting with error: "stack smashing detected"

ldr  sp, =cpu1_stack

b start_task2

* cpu1_stack define here :

int new_stack[1024]__attribute__ ((aligned(16)))   

I used PSCI framework to switch to cpu1

Please share some pointers/inputs whats going wrong here.