Hi Artyom,

Thanks again for your interest.

Le 07/03/2013 23:58, Artyom Tarasenko a écrit :
Hi Jean Michel,

On Thu, Mar 7, 2013 at 4:09 PM, Jean-Michel SCHRAMM
<jean.michel.schr...@genavir.fr> wrote:
Hello Artyom,

Thanks for taking time to consider my needs for serial ports.

I went on board Thalassa this morning and started the system (not easy, the
ship is laid along quay hardly powered). I gathered the informations you
requested. Hope this is all you need. Please ask me if I missed something.
I also attach the documentation of the board.
Thanks, this looks interesting. What I wonder is where are those
serial ports in the device tree?
Are they connected to the VME-BUS, and OBP knows nothing about them?
Do you know how does the SunOS find them?

The original serial ports come from a SCSI terminal server. A third party software from this terminal server maker (Central Data) is loaded at boot and create the devices /dev/ttyCx and load the proprietary driver in kernel. That's why those port are not in the devs tree. I can switch off this and replace the /dev/ttyCx with true serial ports. If it is possible to add a few ports on top on basic a & b native serial port, with custom device name, I think that could make it. But those new port has to be linked to host computer real ports to. This is far above my competence. Though I used to (long ago...) be fluent in C and could get some support here, so I could volunteer to spend time on trying if I get just information of where to start and what to alter.

By the way, I just subscribed to qemu-devel (was only to qemu-discuss). Mark
said we should talk on this list and get nice cg3 and cg14 Bob's cards to
the current release?
This is definitely a good idea. Feel free to write or add a cc to
demu-devel any time.

I did. Many thanks again.
Jean Michel

 Artyom

Le 28/02/2013 15:45, Artyom Tarasenko a écrit :

Hi Jean Michel,

On Mon, Feb 18, 2013 at 6:36 PM,  <jean.michel.schr...@genavir.fr> wrote:

Hello Bob,

Of course, with your full custom 0.15.50 tree it is much much better!! Got
the zip file and configure only sparc-softmmu. I undesrtand my mistake. I
thought I needed only the new files from the 0.15.
Thanks you for that!!

Now I need at least 4 real serial port from the host up to the guest....
...and network.

Network must be there. The lance ethernet is emulated (except for some
test/loopback registers, but SunOS can live without those).
As for the serial ports, one way to proceed may be adding your
machine/board to qemu.

Can you provide the OBP device tree of your machine?
It can be done in the OBP "ok" prompt like this:

ok show-devs
<the device tree will be shown>
ok cd /
ok .attributes
<attributes of the root device will be shown>
ok cd <some device path from the device tree above>
ok .attributes

The "ok " parts above would come from the OBP, you don't need to enter them.

If this listing shows that the machine is close to SS-5 or SS-20,
adding more serial ports should be easy.

Works with SS5. With SS20, I have an error saying that it can't find cpu
definitions..? (was working with other verions). see tomorrow.

Have you tried -cpu "TI SuperSparc 60" ?

Artyom






=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.03.07 11:28:14 =~=~=~=~=~=~=~=~=~=~=~=

SPARC CPU-5CE, No Keyboard
ROM Rev. 2.ÿNL&¾ªªrj
Ethernet address 0:80:42:b:11:73, Host ID: 808b5173.



Testing Memory -
                                                                      
Initializing Memory |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\
                                                                      

Type  help  for more information
ok 
ok 
ok 
ok proe be-scsi
Target 3 
  Unit 0   Disk     QUANTUM VIKING II 4.5WLS5520  981006194912942263  
                                                         
Target 5 
  Unit 0   Device type 9     CenData ST-1008         V2.8 Send LUN 
  Unit 1   Device type 9     CenData ST-1008         V2.8 Recv LUN 
ok shox-devs      w-devs
/FMI,MB86904
/sysconfig@0,71380000
/virtual-memory@0,0
/memory@0,0
/obio
/iommu@0,10000000
/openprom
/aliases
/options
/packages
/obio/flash-memory@0,71300000
/obio/SUNW,fdtwo@0,400000
/obio/power@0,910000
/obio/interrupt@0,e00000
/obio/counter@0,d00000
/obio/auxio@0,900000
/obio/slavioconfig@0,800000
/obio/eeprom@0,200000
/obio/zs@0,0
/obio/zs@0,100000
/iommu@0,10000000/VME@0,3fe00000
/iommu@0,10000000/sbus@0,10001000
More [<space>,<cr>,q] ? 
                        
/iommu@0,10000000/VME@0,3fe00000/vmenet@2d,0
/iommu@0,10000000/sbus@0,10001000/le@3,c00000
/iommu@0,10000000/sbus@0,10001000/cgsix@2,0
/iommu@0,10000000/sbus@0,10001000/ledma@5,8400010
/iommu@0,10000000/sbus@0,10001000/SUNW,bpp@5,c800000
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000
/iommu@0,10000000/sbus@0,10001000/ledma@5,8400010/le@5,8c00000
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/st
/iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd
/packages/obp-tftp
/packages/deblocker
/packages/disk-label
ok cd /
ok .attributes
model                    SPARC CPU-5CE/32-85-X
clock-frequency          0510ff40 
name                     SPARC,CPU-5CE
banner-name              SPARC CPU-5CE
idprom                   01 80 00 80 42 0b 11 73 03 01 19 95 8b 51 73 0d 
breakpoint-trap          0000007f 
compatible               sun4m
get-unum                 ffd0f580 
stdout-path              /obio/zs@0,100000:a
stdin-path               /obio/zs@0,100000:a
ok cd /obio
ok .attributes
device_type              hierarchical
ranges                   00000000  00000000  00000000  71000000  01000000 
name                     obio
ok cd openprom        /openprom
ok .attributes
decode-complete          
aligned-allocator        
relative-addressing      
name                     openprom
ok cd /aliases
ok .attributes
screen                   /iommu@0,10000000/sbus@0,10001000/cgsix@2,0
ttyb                     /obio/zs@0,100000:b
ttya                     /obio/zs@0,100000:a
keyboard!                /obio/zs@0,0:forcemode
keyboard                 /obio/zs@0,0
flash                    /obio/flash-memory@0,71300000
vmenet                   /iommu/VME@0,3fe00000/vmenet
vme                      /iommu/VME@0,3fe00000
floppy                   /obio/SUNW,fdtwo
scsi                     /iommu/sbus/espdma@5,8400000/esp@5,8800000
net-aui                  /iommu/sbus/ledma@5,8400010:aui/le@5,8c00000
net-tpe                  /iommu/sbus/ledma@5,8400010:tpe/le@5,8c00000
net                      /iommu/sbus/ledma@5,8400010/le@5,8c00000
disk                     /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0
cdrom                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@6,0:d
tape                     /iommu/sbus/espdma@5,8400000/esp@5,8800000/st@4,0
tape0                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/st@4,0
tape1                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/st@5,0
disk3                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@3,0
disk2                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@2,0
disk1                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@1,0
disk0                    /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@0,0
More [<space>,<cr>,q] ? 
                        
name                     aliases
ok cd options       /options
ok .attributes
tpe-link-test?           true
vm-server-slavemap       0
vm-server-addr           0
vm-ip-addr               0
etq-testarea             0
bootflash-load-base      4294967295
bootflash-#devices       0
bootflash-#megs          0
vme-intr7                255
vme-intr6                255
vme-intr5                255
vme-intr4                255
vme-intr3                255
vme-intr2                255
vme-intr1                255
vme-control              80
vme-a32map               1
vme-slavemap             0
vme-rerun                0
vme-intr                 false
vme-intena               254
vme-mailintr             0
More [<space>,<cr>,q] ? 
                        
vme-mailbox              0
vme-buslock              0
vme-sysfail-clear?       true
vme-init?                true
wd-ena?                  false
level-15-intr-ena?       true
output-device            screen
input-device             keyboard
keyboard-click?          false
keymap                   
ttyb-rts-dtr-off         false
ttyb-ignore-cd           true
ttya-rts-dtr-off         false
ttya-ignore-cd           true
ttyb-mode                9600,8,n,1,-
ttya-mode                9600,8,n,1,-
fcode-debug?             false
local-mac-address?       false
screen-#columns          80
screen-#rows             34
selftest-#megs           1
scsi-initiator-id        7
silent-mode?             false
More [<space>,<cr>,q] ? 
                        
auto-boot?               false
watchdog-reboot?         false
diag-file                
diag-device              net
boot-file                
boot-device              disk
sbus-probe-list          5123
use-nvramrc?             false
nvramrc                  
sunmon-compat?           false
security-mode            none
security-password        
security-#badlogins      0
oem-logo                 
oem-logo?                false
oem-banner               
oem-banner?              false
hardware-revision        004
last-hardware-update     0
testarea                 0
mfg-switch?              false
diag-switch?             false
name                     options
More [<space>,<cr>,q] ? 
                        
ok cd /packages
ok .attributes
name                     packages
ok 

Reply via email to