Hacks to allow booting ARM SMP kernel on UP ARMv7
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 4 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 4 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Hacks to allow booting ARM SMP kernel on UP ARMv7
Quoted 22 lines · Bryan Wu
Quoted 21 lines · Tony Lindgren
Quoted 11 lines · Russell King - ARM Linux
Quoted 3 lines · Tony Lindgren
Great, will give it a try hopefully tomorrow. Sounds like that's the way to deal with fixing up things when booting up older UP ARMv6 without the 32v6 support :)
What I've also been debating about is adding another word to the smpalt structure, that being a set of flags which denote the situation where the alternative should be used.
That means we can use it to do individual word replacements for SMP vs UP, ARMv6 vs ARMv6k etc.
Sounds good to me. Maybe it should then be called cpualt instead of smpalt?
Tried booting your patch and needed the following fix for Cortex-A8 UP.
Now it boots to the following error:
Machine configuration botched (nr -1073741824), unable to continue.
Quoted 8 lines
Quoted 2 lines
Does some struct size need to be changed or something?
I also tested these 2 patches on my beagle board based on -for-next branch for linux-omap tree. I don't have debug hardware to find the kernel boot failure. It looks like it stops at very early stage.
Do you know where is the message (nr -1073741824) coming from?
Looks like something is not quite right with smp_on_up part of __fixup_smp, returning early before smp_on_up does not produce that.
Regards,
Tony