[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Hardware/EDK temac driver problem



Hello,

 

I have an EDK design that requires the use of the V5 Hard Ethernet MAC. I only have 1 RAM chip. Initially I was thinking I could just use the lltemac core along with the llfifo to connect it to the xps bus (petalinux). Now just looking at the lltemac petalinux driver it seems that I need a dedicated piece of RAM for the Ethernet traffic (lltemac to connect to the local link to the mpmc controller). Then the petalinux lltemac driver controls the mpmc and the lltemac cores. But since I have only 1 single port RAM chip I am short because petalinux requires RAM as well.

 

-I could “divide” my RAM into two distinct parts, but I would have to arbitrate the read and write signals, not a very clean solution.

-I have no experience with linux kernel space, but how bad would it be to modify the temac driver to handle data from the llfifo instead of the mpmc interface?

-I thought of creating a BRAM wrapper/pcore with local link and mpmc interfaces, that way the lltemac would connect to it (I don’t need large ethernet buffering, as they are just control packets) and the petalinux driver would have the interfaces it requires, but it doesn’ seem too clean either.

 

Any other suggestions?    

 

Thanks in advance for any help,

 

-A Bose


Internal Virus Database is out-of-date.
Checked by AVG.
Version: 7.5.526 / Virus Database: 270.4.8 - Release Date: 7/11/2008 12:00 AM