LinuxQuestions.org
Help answer threads with 0 replies.
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 09-19-2011, 02:03 AM   #1
kasimMCA
LQ Newbie
 
Registered: Jul 2011
Location: hyderabad india
Posts: 8

Rep: Reputation: Disabled
adding vortual driver for mini2440


i upload the kernel into mini2440...its working good....
rootfs.jffs2
uImage
u-boot-256M.bin....al ae wroking fine..but....a sall doubt..


now i want to install a new dirver for mcp2515.c into that board ....actuvaly its a char drvier..and i want cxontrol through
"ioctl".. how i can add anfd execute...


for this any referebcve ,,book is there....

and when i plugged ausb into biard..dmesg..it will show..but how to open the usb,,i donot know...plases tell me....................



with regards..kasim
 
Old 09-27-2011, 02:25 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
The following book might help you, Linux Device Drivers [3rd Ed] -- Publisher: O'REILLY: http://lwn.net/Kernel/LDD3/.
 
Old 09-28-2011, 08:07 AM   #3
saichaitanya
LQ Newbie
 
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by nini09 View Post
The following book might help you, Linux Device Drivers [3rd Ed] -- Publisher: O'REILLY: http://lwn.net/Kernel/LDD3/.
After reading that you can go through - "Essential Linux Device Drivers" by Sreekrishnan Venkateswaran || Publisher - Prentice Hall. You can find a ebook download link online.
This contains more driver structures including I2C,SPI,UART,PCMCIA,PCI,Video,Audio,Network and Flash Drivers. It even basically covers Wi-Fi, Bluetooth Interfacing and Radio and VoIP.
It revolves around Embedded Linux so it fits ur case.

Last edited by saichaitanya; 09-28-2011 at 08:11 AM.
 
Old 10-01-2011, 03:05 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The version of 'mcp2515.c' that I was able to find doesn't seem to be a kernel-mode driver. It is either what is often called a 'userspace driver' (a code fragment that accesses a device using only userspace resources, usually requiring root privileges), or is a sample of code which you might use to incorporate into a kernel-mode device driver that you write. In the latter case, it would require a lot of other supporting code, which would be well described in the books previously mentioned. I either case, it will require the use of an existing driver or library to access the chip through its SPI interface. The SPI interface may or may not be already supported in your kernel.

--- rod.
 
  


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
Help with Angstrom on Mini2440 (Nothings working tried all tutorials) abhinit Linux - Embedded & Single-board computer 1 03-30-2011 08:58 AM
[SOLVED] emDebian on mini2440 + problem to get a root shell jerem02 Linux - Embedded & Single-board computer 16 03-28-2011 05:54 AM
FriendlyArm mini2440 TL-WN321Gv4 kiryat8 Linux - Embedded & Single-board computer 0 02-28-2011 06:50 AM
Mini2440 ARM9 w/3.5" Touch Screen BozoShanks Linux - Newbie 0 08-15-2010 09:45 PM
how configure the serial ports on MINI2440 pix23 Linux - Hardware 3 09-03-2009 02:11 PM

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

All times are GMT -5. The time now is 03:44 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