WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Is Xen and Qemu serial driver code related ?

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Is Xen and Qemu serial driver code related ?
From: ales.rom@xxxxxxxxxxxx
Date: Wed, 21 Feb 2007 15:37:30 +0100
Delivery-date: Wed, 21 Feb 2007 06:36:20 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E19BB@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <907625E08839C4409CE5768403633E0B018E19BB@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

Thanks Mats. I added these few lines in qemu source (xen was too much for me - sorry), rebuild and serial.log produced by qemu is here: http://www.p-rom.si/serial.log
The last few lines before data download stops are:

...
...
RX: 6f
RX: 6e
RX: 36
RX: 20
RX: 20
RX: 20
RX: 20
RX:

Ah, you may want to add "fflush(serial_log);" at each instance of fprintf that 
you added, just to make sure the last bit of data is sent to the log-file!

--
Mats

Yes. The the new complete log is http://www.p-rom.si/serial_flush.log
Basically we have to DL 60 packeges. (3C-00 hex) The PC sends 30 byte request with package number, and then data is received. But when the package 09 is requested, no data is received and communication stops.

Aleš




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users