LinuxQuestions.org
Help answer threads with 0 replies.
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 02-20-2013, 08:13 PM   #1
getanegash
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Rep: Reputation: Disabled
Requesting your help with embedded board driver


am really sorry for my first post i was not briefly write the questions so am asking your excuse, and please help me how to solve this am new for Linux Device driver, here is my question

An embedded system is compossed of an IMX53 board attached to an FPGA board. The two communicates through the IMX53 GPIOs, according to the following protocol:
- GPIO90-GPIO97(8bits) are used as bidirectional data bus. When IMX53 sends data to the FPGA board, the GPIOs are used as outputs;when the IMX53 received data from the FPGA board, the GPIOs are used as inputs

- GPIO98(1bit) is used as DATAWRITE: when the iMX53 sends data to the FPGA board this GPIO must be set to one, otherwise it should be set to zero
- GPIO99(1bits) is used as DATAREAD: when the iMX53 reads data from the FPGA board this GPIO must be set to one, otherwise it should be set to zero

The IMX53 communicates with the FPGA board using the polling technique.

you have to provide:

1. The Linux driver initialization function
2. The implementation of the read and write functions for the Linux driver

Last edited by onebuck; 02-23-2013 at 05:35 PM. Reason: Extend the title to help members understand thread
 
Old 02-20-2013, 08:29 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Hi:

Welcome to Linux Questions!

These articles might help you:

http://www.freesoftwaremagazine.com/.../drivers_linux
http://stackoverflow.com/questions/4...-device-driver
http://www.xml.com/ldd/chapter/book/ch03.html

This PDF explains a lot.
In regard to the implementation of read and write functions of the Linux driver; the request method handles both read and write operations and can be very complex
http://www.sics.se/~amir/files/downl...iver/block.pdf

Reading this PDF should be a great help in this process you are taking on.
Hope this helps
 
Old 02-20-2013, 08:33 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
The IMX53 communicates with the FPGA board using the polling technique.
Can you elaborate a little on 'polling technique'; it's functionality in which the process of how it works?
 
Old 02-22-2013, 05:38 AM   #4
getanegash
LQ Newbie
 
Registered: Feb 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
i think 'polling technique' means without interrupt
 
Old 02-22-2013, 07:33 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, Debian 12, Devuan & MX Linux
Posts: 9,528
Blog Entries: 15

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by getanegash View Post
i think 'polling technique' means without interrupt
W/o interrupt; got it. Understand now-
Did any of those links help?

Last edited by onebuck; 02-23-2013 at 09:56 AM. Reason: clean up by use of close bracket vbcode tags :)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
requesting suggestion for begginer bafflaq Programming 2 12-02-2009 06:26 AM
requesting help!!! SECOND7 Programming 2 11-13-2007 09:51 AM
http requesting lucky6969b Programming 11 12-22-2005 09:02 PM
Requesting Slack 10 webboss Slackware 4 12-14-2004 05:29 AM

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

All times are GMT -5. The time now is 04:15 AM.

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