Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
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.


  Search this Thread
Old 09-19-2011, 02:03 AM   #1
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....
uImage 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 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
Senior Member
Registered: Apr 2009
Posts: 1,737

Rep: Reputation: 154Reputation: 154
The following book might help you, Linux Device Drivers [3rd Ed] -- Publisher: O'REILLY:
Old 09-28-2011, 08:07 AM   #3
LQ Newbie
Registered: Sep 2011
Posts: 4

Rep: Reputation: Disabled
Originally Posted by nini09 View Post
The following book might help you, Linux Device Drivers [3rd Ed] -- Publisher: O'REILLY:
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
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,398
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.


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
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 > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 12:50 AM.

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