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 -
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