LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-09-2011, 03:40 AM   #1
condo4
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Drivers for Complex PCI FPGA (Wishbone, DTS)


Today, we have a product with a AMCC 440ep processor, and linux 2.6.32
built for PowerPC platform (44x).
On the OPB (processor's bus) we have an FPGA with many functions (bus
Wishbone):
- Led managment
- Keyboard
- Video controler
- Many SPI controler
- An Interrupt controler
.....

For each a this functions, we wrote the corresponding driver with the
linux driver model.
The content of this FPGA is describe into the DTS and all drivers are
probed to all devices.

The problem, for our futur products, we will use another processor,
and we can't use OPB for this multi-functions FPGA.
So we will put it on PCI-E bus with the xilinx IP (limited to 1 pci-
functions).

The question is, how we can write drivers with this conception ?

If I understand PCI drivers on linux, I will have 1 driver, with 1
pci_iomap, but, I need many driver for all function of this FPGA.

I look for many solutions:

1) The pci_driver use a unused node in DTS and use
of_platform_bus_probe to scan sub-devices
but in this case, how can I connect of_iomap into subdevice to the
mapped address of my pci_iomap ?

2) Write a bus driver ? how can i do ? There is some exemples ?


To resume, what is the good architecture to use a multi-function
FPGA ?

Thanks for all leads....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standard Dual Channel PCI IDE Controller driver for FPGA controller weshutchins Linux - Kernel 1 07-11-2012 07:15 AM
Convert cd to dts 5.1 jmdlcar Linux - Desktop 2 07-04-2011 09:18 PM
fpga driver using PCI linux driver Linux_Kid_ Linux - Embedded & Single-board computer 0 06-09-2009 11:53 PM
xilinx system ace driver for compact flash on a fpga based pci card doesnt work urwithsudheer Programming 0 03-22-2006 02:28 AM
DISCUSSION: DTS to AC3 XavierP LinuxAnswers Discussion 0 01-11-2006 01:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration