Hi All,
My Juno board could run a big-endian kernel, but it just work in UP mode, when I compiled
the kernel in SMP mode, it always halted in "arch_spin_lock".
I checked the PE status, when halted, pc register alway point to line 3 which is the code of
"arch_spin_lock".
line1 " sevl\n"
line2 "2: wfe\n"
line3 " ldaxrh %w2, %4\n" //pc always point here
I don't know how this could happen, and really need some help to make Juno board run a SMP
kernel.
Thanks
Best regards
Hi Ash,
My code missed some important patches for big-endian, one of them is just for spinlock.
Thanks for your reply, your thinking is very clear and very helpful.
Hello,
No problem, I'm glad you've now been able to resolve this issue.
Regards,
Ash.