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 Sudeep,
The code I used is get from linaro, and I think that code couldn't intend to support big-endian kernel.
I update that code with some patches for big-endian, and the kernel could run stably.