All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean-Michel SCHRAMM <Jean.Michel.Schramm@genavir.fr>
To: Artyom Tarasenko <atar4qemu@gmail.com>
Cc: emmanuel.vandercoilden@photomask.com,
	Genavir OEA <oea@listes.genavir.fr>,
	qemu-devel@nongnu.org
Subject: [Qemu-devel] [graphic & serial on sun4m]
Date: Fri, 08 Mar 2013 09:43:07 +0100	[thread overview]
Message-ID: <5139A49B.8090204@genavir.fr> (raw)
In-Reply-To: <CACXAS8DtYQ-ZRrnP05P_3jPHiQnBwA7O+Ktj5+jgveV8s=zocA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3464 bytes --]


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.Schramm@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.Schramm@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
>>
>>
>>
>
>


[-- Attachment #2: CPU-5CE.log --]
[-- Type: text/plain, Size: 6567 bytes --]

=~=~=~=~=~=~=~=~=~=~=~= 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 -\r                                                                      \rInitializing Memory |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\\r                                                                      
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] ? \r                        \r/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] ? \r                        \rname                     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] ? \r                        \rvme-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] ? \r                        \rauto-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] ? \r                        \rok cd /packages
ok .attributes
name                     packages
ok 

       reply	other threads:[~2013-03-08  8:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <-2706066823650007730@unknownmsgid>
     [not found] ` <5121471B.60005@ilande.co.uk>
     [not found]   ` <51218197.7070705@mc.net>
     [not found]     ` <20130218152337.69686sgfqd4d8bjd@vintra1mail.ifremer.fr>
     [not found]       ` <51224C9E.3030705@mc.net>
     [not found]         ` <20130218183655.49034qt2pj85reev@vintra1mail.ifremer.fr>
     [not found]           ` <CACXAS8AGaUGHn=b=_5f_8iSMJCFVZ0E_2FeNBfCSch2i7vQV=w@mail.gmail.com>
     [not found]             ` <5138ADB7.3090603@genavir.fr>
     [not found]               ` <CACXAS8DtYQ-ZRrnP05P_3jPHiQnBwA7O+Ktj5+jgveV8s=zocA@mail.gmail.com>
2013-03-08  8:43                 ` Jean-Michel SCHRAMM [this message]
2013-03-13 13:25             ` [Qemu-devel] cg6 implementation in QEMU Jean-Michel SCHRAMM

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5139A49B.8090204@genavir.fr \
    --to=jean.michel.schramm@genavir.fr \
    --cc=atar4qemu@gmail.com \
    --cc=emmanuel.vandercoilden@photomask.com \
    --cc=oea@listes.genavir.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.