Booting issue in P1022 based target :: core0 in wait mode and core1 in run mode

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

Booting issue in P1022 based target :: core0 in wait mode and core1 in run mode

642 Views
rammurmu
Contributor III

In normal scenarios for P1022 based target , core0 is kept in run mode and core1 in wait mode. In this case kernel boot is OK.

However when core0 is kept in wait mode and core1 in run mode, there is problem is kernel booting. The part of error log is -

smp_85xx_kick_cpu: timeout waiting for core 1 to ack
smp: failed starting cpu 0 (rc -2)
Brought up 1 CPUs
Do we have to change some configuration of kernel when core0 is set in wait mode and core1 is in run mode using POR configuration.
Regards
Ram
Labels (1)
0 Kudos
1 Reply

535 Views
rammurmu
Contributor III

Found the solution -

Compile the dts with the following arguments -

./dtc -O dtb -o p1022ds_xgm.dtb -b 1 p1022ds_32b.dts

Where '1' specifies the boot cpu id.

Now it works

Regards

Ram

0 Kudos