maciNTosh icon indicating copy to clipboard operation
maciNTosh copied to clipboard

Offtopic: boot state of second cpu on dual G4?

Open Randrianasulu opened this issue 9 months ago • 2 comments

Not really related to this oroject, but we at qemu trying to get dual-G4 mac99 machine emulation working, and so far only MacOS 9.2/X works, Linux fails to init second cpu UNLESS I single step function smp_core99_kick_cpu on first (boot) processor remotely via gdb. FreeBSD 14.2 just panic/reboots with second CPU on, boots fine on one.

https://lists.gnu.org/archive/html/qemu-ppc/2025-03/msg00257.html

At this point we a bit out of ideas about how exactly very first steps of second cpu init must be performed? Does second cpu need all interrupts disabled initially, not just halted by openbios?

Do we miss something about timebase sync between CPUs in very early stages of second cpu coming out of halted state?

Randrianasulu avatar Mar 09 '25 11:03 Randrianasulu

I don't have a dual-G4 mac99 system. I want one, so I have a test system for getting SMP support working, but I don't have one yet.

Wack0 avatar Mar 09 '25 13:03 Wack0

I don't have a dual-G4 mac99 system. I want one, so I have a test system for getting SMP support working, but I don't have one yet.

What exactly would be required for testing\getting this working? I have multiple dual CPU G4s, I'd love to help figure this out. The main barrier I see is.. All the dual CPU systems don't have ADB. So, Uninorth USB support probably still needs to come first. That said I'm really hoping this project isn't dead.

jlj945 avatar Aug 02 '25 03:08 jlj945