Re: cool article

4 messages, 4 authors, 2006-08-03 · open the first message on its own page

Re: cool article

From: Ameet Patil <hidden>
Date: 2006-08-02 10:19:48

 > 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

Edward Bockhoefer wrote:
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

Ameet Patil wrote:
quoted
Thanks Ed! I did get a root fs up and running NOT using JFFS2 though. 
I used ext2.

cheers,
-Ameet

Edward Bockhoefer wrote:
quoted
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

Xilinx TEMAC

From: David H. Lynch Jr. <hidden>
Date: 2006-08-03 06:35:12

Ameet Patil wrote:
 > 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.
   




-- 
Dave Lynch 					  	    DLA Systems
Software Development:  				         Embedded Linux
717.627.3770 	       dhlii@dlasys.net 	  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

Re: Xilinx TEMAC

From: Edward Bockhoefer <hidden>
Date: 2006-08-03 15:40:15

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.

-- 
Best Regards,

Edward Bockhoefer
Data Design Corporation
7851-A Beechcraft Ave.
Gaithersburg, MD 20879
Ph: 301-670-1157 ext 36
Fax: 301-926-6441 



David H. Lynch Jr. wrote:
Ameet Patil wrote:
 
quoted
quoted
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.
  




 

Re: Xilinx TEMAC

From: Frank D Lombardo <hidden>
Date: 2006-08-03 18:53:58

David H. Lynch Jr. wrote:
Ameet Patil wrote:
  
quoted
 > 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.
   




  
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help