From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
To: "Lê Đức Tài" <letai_dhqg@yahoo.com.vn>
Cc: Alexander Graf <agraf@suse.de>,
"qemu-devel@nongnu.orgDevelopers" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] PCI with Xilinx virtex-ml507 board
Date: Wed, 13 Jul 2011 09:09:50 +0200 [thread overview]
Message-ID: <CAJy5ezpKd1ffC7MJtW4OkzL1_3V2xF_Swe9qfiqK9vsqH0+BGw@mail.gmail.com> (raw)
In-Reply-To: <1310527162.53357.YahooMailRC@web77907.mail.sg1.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1519 bytes --]
Hi,
Hi the ethlite driver is this one:
http://lxr.linux.no/linux+v2.6.39/drivers/net/xilinx_emaclite.c
The easy way is probably to look at the petalogix s3adsp board dtb
distributed with qemu. Iirc, the command to make readable is dtc -I dtb -O
dts -o tree.dts tree.dtb.
It should be possible to replace the hard lltemac in your tree.dtb with the
an entry describing a soft emaclite. Then youll have to edit qemu and
instantiate the mac at the appropriate address and connect to the
appropriate interrupt line.
Cheers
---
Sent from my android device
On Jul 13, 2011 5:19 AM, "Lê Đức Tài" <letai_dhqg@yahoo.com.vn> wrote:
> On Jul 11, 2011 15:31, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
wrote:
>
>
>> Hi,
>> The emulated board and fpga config doesnt have pci. It does have a xilinx
>>ll-temac ethernet mac though. I have patches for that, its on my todo list
to
>>post them. Right now im on the road with little access to my stuff. It'll
have
>>to wait, sorry.
>> If you dont need a particular mac, you could try to change the dtb and
qemu
>>to instantiate a xilinx ethlite mac which qemu upstream does emulate. I
suggest
>>looking at the microblaze boards as reference.
>> Good luck,
>> Edgar
> Hi Edgar,
> I'm trying to create Xilinx Ethernet Lite MAC.
> So, I have two question :d.
> What is the kernel driver that use for xilinx-ethlite nic?
> And what should I change the dts file? (Does remove Hard Ethernet Mac?)
>
> Please help me. Thank you.
> Tai
[-- Attachment #2: Type: text/html, Size: 1975 bytes --]
next prev parent reply other threads:[~2011-07-13 7:10 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-11 3:31 [Qemu-devel] PCI with Xilinx virtex-ml507 board Lê Đức Tài
2011-07-11 8:31 ` Edgar E. Iglesias
2011-07-12 1:47 ` [Qemu-devel] Về: " Lê Đức Tài
2011-07-13 3:19 ` [Qemu-devel] " Lê Đức Tài
2011-07-13 7:09 ` Edgar E. Iglesias [this message]
2011-07-13 13:27 ` Lê Đức Tài
2011-08-03 8:13 ` [Qemu-devel] ethlite mac on virtex board Lê Đức Tài
2011-08-04 9:31 ` Lê Đức Tài
2011-08-05 0:22 ` Edgar E. Iglesias
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=CAJy5ezpKd1ffC7MJtW4OkzL1_3V2xF_Swe9qfiqK9vsqH0+BGw@mail.gmail.com \
--to=edgar.iglesias@gmail.com \
--cc=agraf@suse.de \
--cc=letai_dhqg@yahoo.com.vn \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).