LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-07-2006, 05:19 AM   #1
yugandhar
LQ Newbie
 
Registered: Jun 2006
Posts: 28

Rep: Reputation: 15
Question Kernel Module


Hi Guys,
I am new in writing drivers for Linux based PDAs.
Can i able to write a driver for Linux PDA which is using Mobilinux. If possible what is the development environment in that case.Can anyone writing drivers for Linux based PDAs please help me.
How can i load a module into PDA either statically or dynamically.Explain both the methods.
 
Old 06-07-2006, 05:57 AM   #2
ghatamos
Member
 
Registered: Nov 2003
Posts: 35

Rep: Reputation: 15
Can i able to write a driver for Linux PDA which is using Mobilinux?

>>> Yes, if you have the cross compiler for the linux kernel running for that system. Also if you a have away to interface with the system (serial, ftp, etc.)

How can i load a module into PDA either statically or dynamically?
>>> Statically, you need to add your code in the main zImage/bzImage compile of the kernel. Look at other built-in drivers on the kernel you have to get your driver to compile.

Dynamically, you need to compile your code as a module. The steps are the same when you compile it in your PC linux. Then download it to your system and insmod it. I would prefer that you do this since it will save you the hassle of recompiling the kernel everytime you change your code.

Hope this helps.
 
  


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
Can a kernel module call the function of another kernel module sceadu Programming 3 05-02-2011 02:22 AM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 06:34 PM
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 11:19 AM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM
kernel module ignorant newbie looking for any one with kernel module knowledge cpoet Slackware 4 11-24-2003 09:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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