i.MX8 boot secondary cores

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX8 boot secondary cores

Jump to solution
644 Views
strawberryhacker
Contributor II

Hello,

I have problems booting the secondary cores using i.MX8MQ. I have installed u-boot which download my bare-metal code over network. This works. Then I have:

  • enabled power to the A53 cores in the GPC
  • written the SRC_GPR registers that contains the persistent start address with my entry point
  • enabled the cores in the SRC_A53RCR1 registers

However, the cores don't start. Can anyone please tell me if this is the right way? Or I am missing some steps?

Kind regards,

Bjørn

 

0 Kudos
1 Solution
620 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bjørn

 

in NXP Linux standard BSP, only A53_0 is firstly started, when Linux is started the other cores
are started using PSCI commands. First core which is started for A domain should be A53_0 or A72_0 and
after the other cores can be started. I am afraid order of booting can not be modified.
https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8qm/imx8qm_psci.c?h=imx_5.4.70_2...

 

Best regards
igor

View solution in original post

2 Replies
621 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bjørn

 

in NXP Linux standard BSP, only A53_0 is firstly started, when Linux is started the other cores
are started using PSCI commands. First core which is started for A domain should be A53_0 or A72_0 and
after the other cores can be started. I am afraid order of booting can not be modified.
https://source.codeaurora.org/external/imx/imx-atf/tree/plat/imx/imx8qm/imx8qm_psci.c?h=imx_5.4.70_2...

 

Best regards
igor

616 Views
strawberryhacker
Contributor II

Thank you for the answer. This brought me in the right direction!

Kind regards,

Bjørn

0 Kudos