LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2014, 06:35 PM   #1
lucky7456969
LQ Newbie
 
Registered: Sep 2012
Posts: 26

Rep: Reputation: Disabled
Tme emulator problem


Hi,
I am experimenting with the tme emulator
http://people.csail.mit.edu/fredette...4-75-nbsd.html

Code:
# $Id: SUN4-75,v 1.3 2010/06/05 19:26:31 fredette Exp $

## SUN4-75 - example tmesh commands to create a Sun 4/75 (SPARCstation 2)
## machine:

## the basic Sun 4/75 "Calvin" board, CPU, and sbus:
##
board0: tme/machine/sun4 name Calvin
cpu0 at board0: tme/ic/cy7c601 fpu-type tms390-c602A fpu-compliance partial fpu-incomplete trap
sbus0: tme/generic/bus size 4GB slot-addr 0xf8000000 slot-size 32MB slot 0 slot 1 slot 2 slot 3
sbus0 controller at board0 sbus

## the sun4c mainbus RAM, ROM, and devices:
##
## NOTE THAT THE ram0 SIZE MUST BE A MULTIPLE OF 16MB, which is
## the maximum bank size of the SS2, AND NO MORE THAN 64MB.
## Once ram0 has reached 64MB, uncomment the ram1 line for 96MB of
## total memory, and then the ram2 line for 128MB of total memory:
##
alias mainbus0 sbus0
ram0 at mainbus0 addr 0x0: tme/host/posix/memory ram 16MB
#ram1 at mainbus0 addr 0x08000000: tme/host/posix/memory ram 96MB
#ram2 at mainbus0 addr 0x0a000000: tme/host/posix/memory ram 128MB
rom0 at mainbus0 addr 0xf6000000: tme/host/posix/memory rom sun4-75-rev-2.9.bin
zs0 at mainbus0 addr 0xf1000000 ipl 12: tme/machine/sun4/zs
zs1 at mainbus0 addr 0xf0000000 ipl 12: tme/machine/sun4/zs
nvram0 at mainbus0 addr 0xf2000000: tme/host/posix/memory persistent my-sun4c-nvram.bin
clock0 at mainbus0 addr 0xf20007f8: tme/machine/sun4/clock type tme/ic/mk48t02
board0 timer at mainbus0 addr 0xf3000000
board0 memerr at mainbus0 addr 0xf4000000
board0 intreg at mainbus0 addr 0xf5000000
fdc0 at mainbus0 addr 0xf7200000 ipl 11: tme/machine/sun4/fdc type tme/ic/i82072
audioamd0 at mainbus0 addr 0xf7201000 ipl 13: tme/ic/am7930
board0 auxreg at mainbus0 addr 0xf7400003

## the Sun type-4 keyboard and mouse:
##
kbd0 at zs1 channel A: tme/serial/keyboard type sun-type-4-us macros my-sun-macros.txt map sun-keyboards.txt rate 20
ms0 at zs1 channel B: tme/serial/mouse type mousesystems-5

## IF YOU DO NOT ATTACH kbd0 at zs1 channel A, THEN YOU MUST ATTACH
## sink0 at zs1 channel A, otherwise the PROM's keyboard poll never
## finishes:
##
#sink0 at zs1 channel A: tme/serial/sink

## ttya:
##
# comment the first line, and uncomment the following line if you
# aren't using the GTK-based display console.  this will connect ttya
# to the master side of a pseudo-tty (in this case, /dev/ttyr0), which
# you can connect to using tip or some other serial communications
# program on the slave side (in this case, /dev/ptyr0):
#
sink1 at zs0 channel A: tme/serial/sink
#console0 at zs0 channel A: tme/host/posix/serial device /dev/ttyr0 break-carats

## the SBus esp SCSI:
##
esp0 at sbus0 slot 0 offset 0x800000 ipl 3: tme/ic/lsi64854 revision "1+" channel scsi
esp0 dma at sbus0 slot 0 offset 0x400000
ncr0 at esp0 master: tme/ic/ncr53c9x variant esp100
scsibus0 at ncr0: tme/scsi/bus

## the SBus LANCE Ethernet:
##
# uncomment the bpf0 line if you have read/write permission on one
# of your /dev/bpfN devices and you want actual network access:
#
le0 at sbus0 slot 0 offset 0xc00000 ipl 5 dma-offset 0xff000000: tme/ic/am7990
#bpf0 at le0: tme/host/bsd/bpf

## an SBus cgthree:
##
cgthree0 at sbus0 slot 1 offset 0x0 ipl 7: tme/bus/sbus/cgthree
cgthreerom0 at sbus0 slot 1 offset 0x0: tme/host/posix/memory rom "SUNW,501-1415.bin"

## an SBus bwtwo:
##
# uncomment these lines if you want a bwtwo either in addition to, or
# instead of, the cgthree:
#
#bwtwo0 at sbus0 slot 2 offset 0x0 ipl 7: tme/bus/sbus/bwtwo
#bwtworom0 at sbus0 slot 2 offset 0x0: tme/host/posix/memory rom "SUNW,501-1561.bin"

## the GTK-based display console:
##
# comment out these lines, and the bwtwo0 and cgthree0 declarations
# above, if you don't have GTK or you don't want a display console:
#
display0: tme/host/gtk/display
display0 at cgthree0
#display0 at bwtwo0
display0 at kbd0
display0 at ms0

## a SCSI disk:
##
#
sd0 at scsibus0: tme/scsi/disk id 3 type tme-scsi-1
disk0 at sd0: tme/host/posix/disk file my-sun4c-disk.img

## a SCSI tape:
##
st0 at scsibus0: tme/scsi/tape id 4 type tme-scsi-1
tape0 at st0: tme/host/posix/tape

## set the idle type, so tmesh doesn't consume all of the host CPU:
##
# use the appropriate type for the guest operating system:
#
# NetBSD/sparc 1.6 through 4.99.19: netbsd32-type-0
# NetBSD/sparc 4.99.20 through this writing: netbsd32-type-1
# SunOS 4.1.x: sunos32-type-0
#
command cpu0 idle-type sunos32-type-0

cd0 at scsibus0: tme/scsi/cdrom id 6 type tme-scsi-1
cdrom0 at cd0: tme/host/posix/disk file solaris_2.4_sparc.iso read-only

## power up the machine:
##
# uncomment this line to automatically power up the machine when
# tmesh starts:
#
command board0 power up
But when I start the machine, I get bad configuration checksum and power-on selftest failed for the nvram?
Why?
Thanks
 
Old 04-27-2014, 01:28 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
according to those instructions
Quote:
1) Find a reasonably fast machine to be the host. A 500MHz Pentium III seems to give performance close to a SPARCstation 2.
are you using a antique PIII computer ( think windows 98)

Quote:
2) Follow all of the instructions for getting, building, and installing tme found under http://csail.mit.edu/~fredette/tme/. If you want the emulated SPARCstation 2 to have network access, be sure to follow the instructions about enabling tme to access the network.
did that work ?

Quote:
3) Download the SPARCstation 2 Revision 2.9 ROM, the SBus cgthree 501-1415 ROM, and the SBus bwtwo 501-1561 ROM:

http://csail.mit.edu/~fredette/tme/sun4-75-rev-2.9.bin
http://csail.mit.edu/~fredette/tme/SUNW,501-1415.bin
http://csail.mit.edu/~fredette/tme/SUNW,501-1561.bin
do you have them

from: "Making the machine-specific data"
did you edit this for YOUR environment ????

and what step is causing problems ?
from the page you posted there are 5 steps in "Making the machine-specific data"


then from "Installing NetBSD 3.1"
??? netBSD 3.1 ?????????
man that is OLD!!!!

NetBSD 6.1.4 is the current

so did this antique version even install ?
 
Old 06-03-2014, 06:08 PM   #3
lucky7456969
LQ Newbie
 
Registered: Sep 2012
Posts: 26

Original Poster
Rep: Reputation: Disabled
No, it didn't work.
The application always complaining "checksum error" and "replacing nvram"
I use

% dd if=/dev/zero bs=1 count=2008 of=my-sun4c-nvram.bin
% tme-sun-idprom SS2 8:0:20:20:20:20 >> my-sun4c-nvram.bin

But the nvram is always faulty.
But when I swap to NetBSD, it installs
Don't know why?
Thanks
Jack

Last edited by lucky7456969; 06-03-2014 at 06:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in startting Android emulator drichirich Linux - Software 0 06-14-2012 03:19 AM
Emulator woes - emulator: ../../src/xcb_io.c:249: process_responses: Assertion GunNam Linux - Mobile 1 03-30-2011 03:55 PM
Problem in running DOS emulator ...!!!!! apanimesh061 Programming 1 12-20-2010 03:27 AM
dos emulator problem tsallinia Linux - Software 4 12-09-2006 05:47 AM
Terminal Emulator Problem mirabile dictu Linux - Newbie 9 02-11-2006 02:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration