On 02/27/2011 03:43:39 AM, Madhavi Manchala wrote:
> Dear All,
> 
> Our device is not shown up in the "make menuconfig" menu list. Where
> can I modify the files for getting our device in "menuconfig" list? I
> will modify/add the files to the OpenWRT sources to show up our 
> device
> in the "menuconfig" list.

I have no qualifications for giving advice but have picked up
some information over time that you may find helpful.

If you have a device driver you want to get into the linux kernel
you need to contact the Linux kernel developers.  Start at kernel.org,
but befoe doing anything read the documentation found in the kernel
source code in the directory helpfully called "Documentation".
The kernel develpers want to code and don't like to have to tell
you what they have already written down.  The developers communicate
via an email mailing list, send your code to that list when you think
it's ready for inclusion.  There is no doubt a number of published 
books on the subject as well.  The O'Reily press has a reputation
for publishing high qualtiy techincal information.

The kernel developers have a process that will assit you in getting
your driver included in the kernel and, I believe, will also
arrange maintain the code over time so you can always use
the latest kernel, and get code improvments, without you
having to put effort into it.  I could be wrong, they may
want some sort of committment from you but I'm under the
impression that device drivers get speical treatment.
There is a pledge that so long as one user is using a
driver it will not be abandoned by the kernel developers.
I think they will even write the driver for you if you provide
specifications for the device.  Note that they will not
put code into the kernel unless it meets a certain
standard of quality.

If you don't want to include your code in the kernel then I would
not think that the kernel developers, or most FOSS developers,
will be interested in helping you with a private project which brings
the community no benfit.

> 
> By the way, where can I find the HAL (Hardware Abstraction Layer) 
> code
> in the OpenWRT sources? I checked out the trunk through svn. I need 
> to
> change the RAM, FLASH, MCU and memory controller details in the HAL
> code in order to support our device.

Again, I'm not an expert but I believe that hal is long depreciated
and will not work with any kernel of recent vintage.  Use udev instead.



Karl <[email protected]>
Free Software:  "You don't pay back, you pay forward."
                 -- Robert A. Heinlein

_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to