 |
NeXT Computers www.NeXTComputers.org
|
|


|
| View previous topic :: View next topic |
| Author |
Message |
neozeed
Joined: 15 Apr 2006 Posts: 437 Location: New York City!
|
Posted: Sat Apr 10, 2010 12:39 am Post subject: NeXTSTEP 3.3 on SPARC via Qemu |
|
|
It's not usable... Qemu doesn't emulate the 'correct' graphics... so it's console.. And not terribly usable, nor friendly.
*HOWEVER* I would imagine if you had access to a SPARC, you could install NS, then image the drive, and pass it onto Qemu....
So perhaps there is some hope.....
qemu-system-sparc.exe -nographic -monitor n
ull -serial mon:telnet:127.0.0.1:23,server -bios ..\ss5-170.bin -M SS-5 -m 256 -startdate "2009-12-13" -cdrom \temp\ns.iso
| Quote: |
Power-ON Reset
MB86907 POST 2.2.3 03SEP96
Probing system memory: 32 32 32 32 32 32 32 32
Config = 8800AAAA
0Kb ecache detected
initializing TLB
initializing cache
Allocating SRMMU Context Table
Setting SRMMU Context Register
Setting SRMMU Context Table Pointer Register
Allocating SRMMU Level 1 Table
Mapping RAM
Mapping ROM
ttya initialized
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 32 Megabytes
Probing Memory Bank #2 32 Megabytes
Probing Memory Bank #3 32 Megabytes
Probing Memory Bank #4 32 Megabytes
Probing Memory Bank #5 32 Megabytes
Probing Memory Bank #6 32 Megabytes
Probing Memory Bank #7 32 Megabytes
Incorrect configuration checksum;
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86907
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power-management
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0 Nothing there
screen not found.
Can't open input device.
Keyboard not present. Using tty for input and output.
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 32 Megabytes
Probing Memory Bank #2 32 Megabytes
Probing Memory Bank #3 32 Megabytes
Probing Memory Bank #4 32 Megabytes
Probing Memory Bank #5 32 Megabytes
Probing Memory Bank #6 32 Megabytes
Probing Memory Bank #7 32 Megabytes
Incorrect configuration checksum;
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86907
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0 espdma esp sd st SUNW,bpp ledma le
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0 SUNW,CS4231 power-management
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0 Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0 Nothing there
SPARCstation 5, No Keyboard
ROM Rev. 2.29, 256 MB memory installed, Serial #0.
Ethernet address 52:54:0:12:34:56, Host ID: 80000000.
Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000 File and args:
Internal loopback test -- Wrong packet length; expected 36, observed 64
Can't open boot device
Type help for more information
ok boot cdrom
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d File and args:
NEXTSTEP boot v3.3.4.17
261548 memory
NEXTSTEP will start up in 10 seconds, or you can:
Type -v and press Return to start up NEXTSTEP with diagnostic messages
Type ? and press Return to learn about advanced startup options
Type any other character to stop NEXTSTEP from starting up automatically
boot:
Type 1 to use the English language and USA keyboard while installing NEXTSTEP.
Tapez 2 pour installer NEXTSTEP avec un clavier et des messages francais.
Eingabe 3 fuer NEXTSTEP-Installation mit deutscher Sprache und Tastatur.
Premi 4 per installare NEXTSTEP usando lingua italiana e tastiera italiana.
Pulse 5 para usar el idioma y el teclado espanol en la instalacion de NEXTSTEP.
Skriv 6 for att installera NEXTSTEP pa svenska med svenskt tangentbord.
---> 1
This program is for installing NEXTSTEP on a hard disk.
THIS IS NOT AN UPGRADE: ANY EXISTING NEXTSTEP FILES WILL BE DELETED.
If you have files on your hard disk that you want to keep,
quit this program and copy what you want to keep onto another disk.
Type 1 to prepare to install NEXTSTEP.
Type 2 to quit this installation program.
---> 1
Loading NEXTSTEP
Reading NEXTSTEP configuration
Starting NEXTSTEP
|
_________________ # include <wittycomment.h> |
|
| Back to top |
|
 |
cuby
Joined: 12 Jan 2006 Posts: 93 Location: Dortmund, Germany
|
Posted: Sat Apr 10, 2010 9:20 am Post subject: Re: NeXTSTEP 3.3 on SPARC via Qemu |
|
|
| neozeed wrote: | | It's not usable... Qemu doesn't emulate the 'correct' graphics... so it's console.. And not terribly usable, nor friendly. |
Cool nevertheless - where did you get the Open Firmware image from?
-- Michael |
|
| Back to top |
|
 |
neozeed
Joined: 15 Apr 2006 Posts: 437 Location: New York City!
|
|
| Back to top |
|
 |
itomato

Joined: 27 Dec 2005 Posts: 205 Location: Boulder, CO
|
Posted: Sun Aug 22, 2010 7:28 pm Post subject: |
|
|
Has anyone applied the cg14 patches and tried another build?
I can't get the git sources to build after applying either/both of Bob Breuer's patches..
I've got a Linux and OS X box to build on, if anyone can share the secrets of their success..  _________________ i+ |
|
| Back to top |
|
 |
neozeed
Joined: 15 Apr 2006 Posts: 437 Location: New York City!
|
Posted: Sun Aug 22, 2010 9:03 pm Post subject: |
|
|
| itomato wrote: | Has anyone applied the cg14 patches and tried another build?
I can't get the git sources to build after applying either/both of Bob Breuer's patches..
I've got a Linux and OS X box to build on, if anyone can share the secrets of their success..  |
The patches worked for the SUN 20, so it'd come up for the PROM but it had all kinds of weird issues, I couldn't get it to boot up Solaris, nor would nextstep do anything more then the ss5. _________________ # include <wittycomment.h> |
|
| Back to top |
|
 |
atar
Joined: 23 Aug 2010 Posts: 6
|
Posted: Wed Sep 01, 2010 3:56 am Post subject: |
|
|
| neozeed wrote: |
The patches worked for the SUN 20, so it'd come up for the PROM but it had all kinds of weird issues, I couldn't get it to boot up Solaris, nor would nextstep do anything more then the ss5. |
I can boot Solaris with SS-20 emulation (haven't looked if the current version is good enough to start XWindow though), but the current problem with NS is not the graphics. It randomly hangs in a single user mode too, and I don't know yet how to track the problem down. |
|
| Back to top |
|
 |
itomato

Joined: 27 Dec 2005 Posts: 205 Location: Boulder, CO
|
Posted: Thu Sep 02, 2010 5:28 am Post subject: |
|
|
I am able to build with the cg14 patch, but when I boot using any of the OBP ROMs, I get a black screen, but '-nographic' is semi-functional.
Regardless, the results mirror neozeed's..
Freezing at "Starting NEXTSTEP"..
| Code: |
boot: config=Default -v
Loading NEXTSTEP
Loading mach_kernel
Reading NEXTSTEP configuration
Loading /usr/standalone/sparc/sarld
Loading binary for SunLe device driver.
Loading binary for SCSAController device driver.
Starting NEXTSTEP
|
I can't get anything out of Qemu to indicate what's going on. Perhaps I'm just ignorant, but a '-s' and gdb connection don't yield anything useful, nor does the monitor log..
I have tried loading the ISO as a CDROM as well as a hard disk with the same results with SS20 and SS5 and 10. _________________ i+ |
|
| Back to top |
|
 |
atar
Joined: 23 Aug 2010 Posts: 6
|
Posted: Thu Sep 02, 2010 6:54 am Post subject: |
|
|
Yes, I haven't commited the fix upstream yet. NeXTSTEP/OpenSTEP seem to use some undocumented timer features, which qemu doesn't implement.
Which doesn't make the upstream acceptance process any easier: if with my fix NS/OS were stable, it would have been an argument. But now I have to find the source of instability, or at least prove somehow that the timer emulation is not guilty.
As for cg14 patch, tested it, it's still not good enough to start OpenWindows, so probably it won't be good for OS/NS either. |
|
| Back to top |
|
 |
itomato

Joined: 27 Dec 2005 Posts: 205 Location: Boulder, CO
|
Posted: Mon Sep 06, 2010 2:19 pm Post subject: |
|
|
OK - I've got an SS-20 with color graphics on Linux!
If anyone's curious, here's what I'm doing..
----------------
- clone the current git sources:
| Code: |
if [ -d qemu ]
then
echo "** QEMU dir detected. Appending $$.."
mv qemu qemu.$$
mkdir qemu
fi
git clone git://git.savannah.nongnu.org/qemu.git
|
- manually retrieve and apply Bob Breuer's CG14 patch from here:
http://permalink.gmane.org/gmane.comp.emulators.qemu/76402
I was using wget and some sed to unmangle '>', '<', '&', etc., but it works fine with copy/paste.
| Code: |
cd qemu
patch -p1 <patch
./configure --target-list=sparc-softmmu --enable-debug
make -j3
|
-----------------
-boot: I've got a script with various permutations of machine configs, VNC displays, etc., with essentially this:
| Code: |
sparc-softmmu/qemu-system-sparc -d exec,int -boot c -bios /home/itomato/SPARC/ss20.rom -m 256 -M SS-20 -hda /home/itomato/NS33SPARC.iso -hdb /home/itomato/NS33SPARC-HD.img -g 1280x1024 -vnc 127.0.0.1:0 -cpu "TI SuperSparc 50"
|
- connect to the VNC display and wait a bit for the self-tests to complete, and then for the memory checks to complete.
---------------
Notes:
- --enable-debug slows things down considerably
- 'Activate (cg14) by selecting SS-20 machine and setting width > 1024, i.e. "-M SS-20 -g 1152x900"' - missed this at first
- 256MB seems to be necessary
- Specifying a keymap for qemu was necessary; '-k en-us'
- Nothing in the new sources enables progress beyond the 'Starting NEXTSTEP' phase..
thanks atar, neozeed & bob breuer! _________________ i+ |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|