From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44522) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgzTm-00056O-4Z for qemu-devel@nongnu.org; Wed, 13 Jul 2011 09:27:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgzTi-0002UD-1p for qemu-devel@nongnu.org; Wed, 13 Jul 2011 09:27:53 -0400 Received: from nm8.bullet.mail.sg1.yahoo.com ([115.178.12.208]:33313) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QgzTh-0002Tv-6e for qemu-devel@nongnu.org; Wed, 13 Jul 2011 09:27:49 -0400 References: <1310355077.90376.YahooMailRC@web77914.mail.sg1.yahoo.com> <1310435223.57220.YahooMailRC@web77901.mail.sg1.yahoo.com> <1310527162.53357.YahooMailRC@web77907.mail.sg1.yahoo.com> Message-ID: <1310563666.22200.YahooMailRC@web77920.mail.sg1.yahoo.com> Date: Wed, 13 Jul 2011 21:27:46 +0800 (SGT) From: =?utf-8?B?TMOqIMSQ4bupYyBUw6Bp?= In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1638672106-1310563666=:22200" Subject: Re: [Qemu-devel] PCI with Xilinx virtex-ml507 board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Alexander Graf , "qemu-devel@nongnu.orgDevelopers" --0-1638672106-1310563666=:22200 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Jul 13, 2011 14:09, "Edgar E. Iglesias" wrote= :=0A=0A=0A> Hi, =0A> Hi the ethlite driver is this one:=0A> http://lxr.l= inux.no/linux+v2.6.39/drivers/net/xilinx_emaclite.c=0A> The easy way is pr= obably to look at the petalogix s3adsp board dtb =0A>distributed with qemu= . Iirc, the command to make readable is dtc -I dtb -O dts =0A>-o tree.dts = tree.dtb.=0A> It should be possible to replace the hard lltemac in your tr= ee.dtb with the =0A>an entry describing a soft emaclite. Then you'll have = to edit qemu and =0A>instantiate the mac at the appropriate address and c= onnect to the appropriate =0A>interrupt line.=0A> Cheers=0A=0AI have crea= ted the xilinx-ethlite according your help :d.=0ANow I'm testing for this e= thernet.=0AThank you very much,=0ATai=0A --0-1638672106-1310563666=:22200 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On Jul 13, 2011 14:09, "Edgar E. Iglesias" <edgar.igles= ias@gmail.com> wrote:

&g= t;  Hi,=0A

>  Hi the ethlite driver is this one:

>&= nbsp; http://lxr.linux.no/linux+v2.6.39= /drivers/net/xilinx_emaclite.c

=0A

>  The easy way is prob= ably to look at the petalogix s3adsp board dtb =0Adistributed with qemu. Ii= rc, the command to make readable is dtc -I dtb =0A-O dts -o tree.dts tree.d= tb.

=0A

>  It should be possible to replace the hard lltemac i= n your tree.dtb =0Awith the an entry describing a soft emaclite. Then you'l= l have to edit =0Aqemu and instantiate the mac at the appropriate address a= nd  connect to =0Athe appropriate interrupt line.

=0A=0A>  = Cheers

I have created the xilinx-ethlite according your help :d.
= Now I'm testing for this ethernet.
Thank you very much,
Tai
= =0A
=0A=0A=0A=0A
--0-1638672106-1310563666=:22200--