Hello,
I am trying to enable the secondary cores on i.MXMQ (only Cortex-A53). I don't use Linux, but I use u-boot for flashing a bare metal code.
I have followed the procedure here
I therefore call:
void imx_set_cpu_secure_entry(unsigned int core_id, uintptr_t sec_entrypoint)
then:
void imx_set_cpu_pwr_on(unsigned int core_id)
then:
asm ("sev")
I use the entry point: 0x40000400 where my secondary boot functions is.
This powers up core 2, and my debugger shows that core 2 bounces between address 0x200 and 0xA7F8. I suspect this is the ROM code, in the WFE state, waiting for a start address.
I really appreciate any answers!
Kind regards,
Bjørn
已解决! 转到解答。