Hi, as i am currently the only person with commit rights on the subversion, i would assume that you have to contact me, which you just did .... :-)
packages/devices/acme/Makefile is the correct place for dev nodes, yes udev is on my list, but there are so many things i still want to do :-) i like to add all drivers that are added by the sdk patch under the drivers/acme folder.... this make maintanance a lot easier for me If you send me your ports, i will add them to the repository, you name will then also appear in the ctributor list :-) John Quoting Eberhard Fahle <[EMAIL PROTECTED]>: > Hi, > > I succesfully ported two new drivers (kernel-modules) for USB-devices for the > foxboard running a 2.6 kernel. As I think that the devices might be useful to > others too, I would like to my share the code/documentation/knowledge. > > Is there a standard procedure to add a new driver to the SDK? > > To make use of the devices the kernel modules (obviously) have to be compiled > and added to the new fimage. The devices will also need some devicenodes > in /dev/xxx. > > For porting and testing I simply added the code for the drivers to the > default linux 2.6 kernel-tree at > os/linux-2.6/drivers/usb/misc > and edited the KConfig file in this directory. This way I have my drivers as > just another build-option when doing a 'make kernelconfig'. > > (I actually started out by following the documentation for "How to compile a > Kernel Module?" from the acme-website, but I always get a long list of > compile/link-errors that seem to be caused by the Makefile itself rather than > my code. The drivers built without errors if compiled in-kernel). > > Since I need some static device-nodes, I added these nodes to the file > packages/devices/acme/Makefile > (So bad we don't have 'udev' for that) > > This all worked fine for me, but I had to edit a few files provided by the > SDK, so any SDK-update done later will revert my changes. > > My question is therefore : what is required to add the drivers to the SDK > permanently? > > Thanks for reading > Eberhard > > PS : > The USB-devices I was talking about are the 'IOWarrior' and the > 'SpinWarrior'. > Information on the devices is to be found on the Manufacturers Homepage > http://www.codemercs.de > (The site is using frames, so you will have to click through to the > products-section) > > > > > > > > >
