From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFlhP-00050a-JK for qemu-devel@nongnu.org; Wed, 13 Mar 2013 09:26:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFlhN-0001ql-Fc for qemu-devel@nongnu.org; Wed, 13 Mar 2013 09:26:31 -0400 Message-ID: <51407E66.6080504@genavir.fr> Date: Wed, 13 Mar 2013 14:25:58 +0100 From: Jean-Michel SCHRAMM MIME-Version: 1.0 References: <-2706066823650007730@unknownmsgid> <5121471B.60005@ilande.co.uk> <51218197.7070705@mc.net> <20130218152337.69686sgfqd4d8bjd@vintra1mail.ifremer.fr> <51224C9E.3030705@mc.net> <20130218183655.49034qt2pj85reev@vintra1mail.ifremer.fr> In-Reply-To: Content-Type: multipart/alternative; boundary="------------050602080407020308000203" Subject: Re: [Qemu-devel] cg6 implementation in QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Artyom Tarasenko Cc: Mark Cave-Ayland , qemu-discuss@nongnu.org, Bob Breuer , 'qemu-devel' , "Vandercoilden, Emmanuel" This is a multi-part message in MIME format. --------------050602080407020308000203 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by brest.ifremer.fr id r2DDQASh012401 Hi Artyom, > > Hi Artyom, > > Thanks again for your interest. > > Le 07/03/2013 23:58, Artyom Tarasenko a =E9crit : >> Hi Jean Michel, >> >> On Thu, Mar 7, 2013 at 4:09 PM, Jean-Michel SCHRAMM >> 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=20 >>> easy, the >>> ship is laid along quay hardly powered). I gathered the informations=20 >>> you >>> requested. Hope this is all you need. Please ask me if I missed=20 >>> 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? > Great step forward yesterday. I can now pass a serial port to the guest=20 SS5, rename the device ttya to the expected name and then I can=20 communicate with the software!!! This is really great! So I come back to you about your proposal to add serials ports to the=20 emulated ss5. This is just what I need now to go forward. Could you please just give me the start point so hopefully I could give=20 a try? Does only sun4m and escc.c need to be modified? Or is that much=20 more complex? Thank you for your answer. I am now so close to succeed ! (well, still need network, haven't had a look at that issue yet) Kind regards, Jean Michel >>> Le 28/02/2013 15:45, Artyom Tarasenko a =E9crit : >>> >>> Hi Jean Michel, >>> >>> On Mon, Feb 18, 2013 at 6:36 PM, =20 >>> wrote: >>> >>> Hello Bob, >>> >>> Of course, with your full custom 0.15.50 tree it is much much=20 >>> better!! Got >>> the zip file and configure only sparc-softmmu. I undesrtand my=20 >>> 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=20 >>> guest.... >>> ...and network. >>> >>> Network must be there. The lance ethernet is emulated (except for som= e >>> 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 >>> >>> ok cd / >>> ok .attributes >>> >>> ok cd >>> ok .attributes >>> >>> The "ok " parts above would come from the OBP, you don't need to=20 >>> 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=20 >>> cpu >>> definitions..? (was working with other verions). see tomorrow. >>> >>> Have you tried -cpu "TI SuperSparc 60" ? >>> >>> Artyom >>> >>> >>> >> >> > --------------050602080407020308000203 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi Artyom,



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?


Great step forward yesterday. I can now pass a serial port to the guest SS5, rename the device ttya to the expected name and then I can communicate with the software!!! This is really great!
So I come back to you about your proposal to add serials ports to the emulated ss5. This is just what I need now to go forward.
Could you please just give me the start point so hopefully I could give a try? Does only sun4m and escc.c need to be modified? Or is that much more complex?

Thank you for your answer. I am now so close to succeed !
(well, still need network, haven't had a look at that issue yet)

Kind regards,
Jean Michel

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







--------------050602080407020308000203--