Re: starting driver at boot up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


- The std procedure is to add the driver statically (as you have did). You
need to find whether you driver files are getting compiled  while compiling
kernel. If it is happening properly add provided you have added your driver
in source code of kernel in proper way it has to get complied and
initialized at the bootup
- If you have written a script to do initialization stuff you can call it
from any of the scripts in /etc/init.d (which is a very crude way). Instead
of doing that write an extra script S*<name> in /etc/init.d and call your
script from there.
   you can refer to S*network or S*httpd in /etc/init.d

cheers,
rahul

On 10/4/08, Manila Goel <manila.goel@xxxxxxxxx> wrote:
>
> Hello To All,
> i m wrking on at91rm9200 with linux2.6.14 ported on it. now i hv written a
> driver and i want to start this driver at linux start up. for this i have
> added this driver as build-in at "make menuconfig" but its not working.
> another method is compiling driver as module at "make menuconfig" and write
> a script to start this driver at start up but i m not getting from to call
> this script.
> if anyone have done anythiong on this? if their is any other way to acheive
> the same.
>
> Thanks
> Manila
>
>
> --
> :)
> -------------------------------------------------------------------
> List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
> Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php
>
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
FAQ:        http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette:  http://www.arm.linux.org.uk/mailinglists/etiquette.php

[Linux ARM]     [Linux ARM MSM]     [Linux ARM Kernel]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

Add to Google Follow linuxarm on Twitter