- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
i have custom board with an Intel 82540EM gigabit ethernet controller. Now i want to integrate it in uClinux. My question is how to do this in uClinux and nios. Did anyone do something like this before (interfacing a pci device in general). Are there any issues that i need to know? I know i need a controller: I want to use the pci controller from OpenCores.org. Afterwards i will have to modify or writing drivers. Any hints, tips and information to start would be great Thanks a lotLink Copied
9 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wrote the PCI driver for Altera pci bridge based on the pci host brdige sample hardware design,
http://forum.niosforum.com/forum/index.php?showtopic=3059 (http://forum.niosforum.com/forum/index.php?showtopic=3059) It still need some clean up. And I will post it in the buildroot guide soon. http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hippo,
I'm happy to hear that someone is already working on this. If your driver is really available i would use the altera pci bridge. This would save me a lot time. Maybe you can tell me something about your driver, so i can start working on this driver for the ethernet controller. I won't have a problem if your driver code is dirty. Forgive me, i don't like waiting... and to be honestly i don't have much time to achieve this part of my project. Thanks a lot...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just one more day.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm looking forward to it
Thank you very much, Hippo. Cheers Helmchen- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check post#52 in the buildroot guide. There is the pci driver in kernel 2.6.15.6 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will try it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are still some problems in flushing cache.
Working fine without dcache in nios2. I am working to resolve this issue.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The dma cache flush issue is resolved.
It works with dcache support now. Please download kernel3.zip again.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First of all, thank you very much. I hope I getting started the next days.
Cheers Helmchen
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page