On 28/06/13 03:08, Rob Landley wrote:
Commit 467b34689d27 upgraded the openbios image, and ever since my linux
system images hang about the time they try to initialize interrupts.
http://landley.net/aboriginal/bin/system-image-sparc.tar.bz2
Extract that and "./run-emulator.sh" in the tarball. Using qemu 1.2.0
for example works fine, you get a shell prompt. Using 1.5.0 hangs.
Rob
Hi Rob,
Thanks for the bug report. I did a quick bisect on OpenBIOS and it
points to the following commit:
commit 167aafd70f64e74a77787ca5bf9f4dc750b27fc3
Author: blueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Date: Sun Feb 3 16:50:11 2013 +0000
SPARC32: microSPARC-II identification
For the microSPARC-II = Fujitsu MB86904 = Sun STP1012PGA,
PSR.IMPL=0 and PSR.VERS=4.
This CPU model is used as default by QEMU when emulating
a SparcStation-4 or SparcStation-5.
Signed-off-by: Olivier DANET <oda...@caramail.com>
Signed-off-by: Blue Swirl <blauwir...@gmail.com>
The commit itself is very simple and looks like this:
http://git.qemu.org/?p=openbios.git;a=commitdiff;h=0fe772df8717ef75d91eae8ef221e9966ce2fd7f.
My guess would be that Linux is trying to do some slightly different
initialisation based upon identifying the CPU, but I'm not too familiar
with the kernel code myself. Blue/Olivier - can either of you comment on
this?
ATB,
Mark.