Linux - Embedded & Single-board computerThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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....................
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.