I am using lx2160ardb_rev2 and trying to boot a CPU core on a hyper-visor environment.
CPU0 succeeds in starting up, but CPU1-15 do not.
The CPU core is successfully activated correctly, but the CPU core does not come online forever.
The following is a log file referenced from the linux kernel boot process log of LSDK21.08, which shows that the CPU core is successfully booted but does not come online.
[ 5.123323] CPU1: failed to come online
[ 5.127237] CPU1: failed in unknown state : 0x0
[ 10.251379] CPU2: failed to come online
[ 10.255313] CPU2: failed in unknown state : 0x0
[ 15.379447] CPU3: failed to come online
[ 15.383383] CPU3: failed in unknown state : 0x0
[ 20.507503] CPU4: failed to come online
[ 20.511419] CPU4: failed in unknown state : 0x0
[ 25.635536] CPU5: failed to come online
[ 25.639457] CPU5: failed in unknown state : 0x0
[ 30.763584] CPU6: failed to come online
[ 30.767504] CPU6: failed in unknown state : 0x0
[ 35.891645] CPU7: failed to come online
[ 35.895577] CPU7: failed in unknown state : 0x0
[ 41.019711] CPU8: failed to come online
[ 41.023639] CPU8: failed in unknown state : 0x0
[ 46.147771] CPU9: failed to come online
[ 46.151704] CPU9: failed in unknown state : 0x0
[ 51.275841] CPU10: failed to come online
[ 51.279866] CPU10: failed in unknown state : 0x0
[ 56.400064] CPU11: failed to come online
[ 56.404072] CPU11: failed in unknown state : 0x0
[ 61.524272] CPU12: failed to come online
[ 61.528282] CPU12: failed in unknown state : 0x0
[ 66.648484] CPU13: failed to come online
[ 66.652497] CPU13: failed in unknown state : 0x0
I checked CPU1-15 on the ICE I have, and it seems that the problem is that it loops around address 0x1010 and does not proceed from there.
Looking at the LSDK21.08 source code, if the startup has completely failed, it should show "CPUxx failed to boot", but the log shows "CPUxx failed to come online", so the startup has succeeded, but it is not possible to determine the online I think this indicates that the boot was successful but the process has not progressed to the point where it can be determined to be online.
Why doesn't the CPU core come online after a successful startup?
What is happening at address 0x1010 on the CPU core?
When you run qemu-system-aarch64 command, please use "-smp cpu_count" to specifie the number of CPUs for the virtual machine.
Would you please provide qemu-system-aarch64 command used in the host Linux.