Skip to contentSkip to conversation

cool article

DISCUSSION Ameet Patil 4 participants 5 messages Jul 31, 2006 – Aug 3, 2006 2 messages not in the archive

lore
Share & tools
lore
#3 lore raw
In reply to a message not in the archive
Quoted 2 lines

Did you happen to get an Ethernet mac going on the virtex2 or virtex4 with the 2.6 kernel?

Nope! :-(
Rumour has it that Montavista is soon going to release the source for 2.6 kernel to run on Xilinx platforms.

-Ameet

Quoted 24 lines · Edward Bockhoefer

Hello Ameet,
I too am working on this type of project. I am trying to get the xilinx obp 10/100 mac driver into the 2.6.17.6 kernel. Unfortantly, I think I need some of the montavista sources not generated by the xilinx software, which only generates driver code for the 2.4 montavista kernel. Did you happen to get an Ethernet mac going on the virtex2 or virtex4 with the 2.6 kernel?

Ed

Quoted 14 lines · Ameet Patil

Thanks Ed! I did get a root fs up and running NOT using JFFS2 though. I used ext2.

cheers,
-Ameet

Quoted 6 lines · Edward Bockhoefer

I found your post about the Virtex II part one at http://www.linux.get2knowmore.com. Thanks for the info. Did you happen to get a root fs up and running using jffs2?

Best Regards,
Ed

#4 lore raw

Xilinx TEMAC

Quoted 8 lines · Ameet Patil
Quoted 2 lines

Did you happen to get an Ethernet mac going on the virtex2 or virtex4 with the 2.6 kernel?

Nope! :-(
Rumour has it that Montavista is soon going to release the source for 2.6 kernel to run on Xilinx platforms.

I have 2 different TEMAC's working under 2.6 with a V4.

The MontaVista driver that has been posted on the list that I think
is from MontaVista for the PLB TEMAC with very minor modifications to get it to work at speeds other than GigaBit.

A driver I wrote for the LocalLink TEMAC that works limpingly. I
have been unable to figure out how to get a receive interrupt from the LocalLink TEMAC so receives are polled and performance is poor.
I have pretty much abandoned work on it - my client wants the
smallest possible FPGA footprint BUTanother OS I am porting requires interrupt driven IO and we are looking for a single minimal hardware implimentation for all platforms.

Anyway, if anyone wants the LL TEMAC in its current state I can post it. Currently it sends fine. It drops about 50% of all received packets
- but that is probably debugging overhead and poll rate tuning.

Signature · 8 lines
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       [email protected] 	  http://www.dlasys.net
fax: 1.253.369.9244 			           Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.

"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
#5 lore raw

Re: Xilinx TEMAC

Thank you for the reply David,
I have started the montavista 10/100 enet port from the xilinx edk generated 2.4 driver to the 2.6 driver. Unfortunately, I can't post the driver port publicly because it's not GLP'd, as far as I know. We only needed a 10/100 mac, so we didn't bother with a TEMAC. I got the obp and enet directories to compile but I crash on link with an undefined reference:

**********************************************
[root@bockhoefer linux-2.6.17.6]# make

 CHK     include/linux/version.h
 CHK     include/linux/compile.h
 GEN     .version
 CHK     include/linux/compile.h
 UPD     include/linux/compile.h
 CC      init/version.o
 LD      init/built-in.o
 LD      .tmp_vmlinux1

drivers/built-in.o(.init.text+0x246c): In function `fbcon_bmove':
drivers/video/console/fbcon.c:1887: undefined reference to `init_etherdev'
make: *** [.tmp_vmlinux1] Error 1
[root@bockhoefer linux-2.6.17.6]#

*********************************************
I will work on this more today. If you want to send me your TEMAC code, please do so. I can always use the reference.

Signature · 8 lines
Best Regards,

Edward Bockhoefer
Data Design Corporation
7851-A Beechcraft Ave.
Gaithersburg, MD 20879
Ph: 301-670-1157 ext 36
Fax: 301-926-6441 
Quoted 36 lines · David H. Lynch Jr.
Quoted 9 lines · Ameet Patil
Quoted 2 lines

Did you happen to get an Ethernet mac going on the virtex2 or virtex4 with the 2.6 kernel?

Nope! :-(
Rumour has it that Montavista is soon going to release the source for 2.6 kernel to run on Xilinx platforms.

I have 2 different TEMAC's working under 2.6 with a V4.

The MontaVista driver that has been posted on the list that I think
is from MontaVista for the PLB TEMAC with very minor modifications to get it to work at speeds other than GigaBit.

A driver I wrote for the LocalLink TEMAC that works limpingly. I
have been unable to figure out how to get a receive interrupt from the LocalLink TEMAC so receives are polled and performance is poor.
I have pretty much abandoned work on it - my client wants the
smallest possible FPGA footprint BUTanother OS I am porting requires interrupt driven IO and we are looking for a single minimal hardware implimentation for all platforms.

Anyway, if anyone wants the LL TEMAC in its current state I can post it. Currently it sends fine. It drops about 50% of all received packets
- but that is probably debugging overhead and poll rate tuning.

#6 lore raw

Re: Xilinx TEMAC

In reply to David H. Lynch Jr.
Quoted 24 lines · David H. Lynch Jr.
Quoted 8 lines · Ameet Patil
Quoted 2 lines

Did you happen to get an Ethernet mac going on the virtex2 or virtex4 with the 2.6 kernel?

Nope! :-(
Rumour has it that Montavista is soon going to release the source for 2.6 kernel to run on Xilinx platforms.

I have 2 different TEMAC's working under 2.6 with a V4.

The MontaVista driver that has been posted on the list that I think
is from MontaVista for the PLB TEMAC with very minor modifications to get it to work at speeds other than GigaBit.

A driver I wrote for the LocalLink TEMAC that works limpingly. I
have been unable to figure out how to get a receive interrupt from the LocalLink TEMAC so receives are polled and performance is poor.
I have pretty much abandoned work on it - my client wants the
smallest possible FPGA footprint BUTanother OS I am porting requires interrupt driven IO and we are looking for a single minimal hardware implimentation for all platforms.

Quoted 9 lines

Anyway, if anyone wants the LL TEMAC in its current state I can post it. Currently it sends fine. It drops about 50% of all received packets
- but that is probably debugging overhead and poll rate tuning.

I would be interested looking at the LL TEMAC patch. Hopefully I can pick up where you left off. We would require an interrupt driven TEMAC