OpenWrt Forum Archive

Topic: How to integrade new driver ?? especially here USB 4 the openrb PPC405

The content of this topic has been archived on 31 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

We have a problem about how this normally could be done to integrate a new driver to the openwrt buildsystem.

A friend of mine made the USB driver for the openrb Routerboard working. First he want to do this with the openwrt system but he had alot of problems. There had to be done some changes to the Kernel and if this will be done openwrt buildsystem ignores at the end the changes and took a default config.

Then he build the Kernel and drivers with his handmade scripts after 2 days of wasting time . So because the driver is now working cool "We have USB on the PowerPC Board"  we would enjoy if this could be integrated to the buildsystem without drilling wholes into our knees.

There are a lot of tutorials webside's and stuff outside which explain how to but non of them worked because they are to old or for other versions or something else.In other words all the descriptions are a little mess

It would be very kind if somebody could describe how to integrate drivers and kernel kernelconfig etc who is familiar with the openwrt buildsystem.
So we can use the saved time to optimize the driver for performance.

At the moment we have about 30% of the max theoretical performance and hopefully with a look of the timing to the signals we could get much more.

So if anybody out there which could assist in how to fit the stuff into the openwrt buildsystem this would be great for all PPC users.


best regards Martin

Wrong forum...

***offtopic*******

Great answer helps a lot :-)

should there be a forum about a forum to discuss the forum where has to be the forum in which forum to be ?

I had a question about how to do xyz

The name of this forum is : "Howtos and Documentation"  so far for me it look's not to much wrong

If you are well or better known an answer like this forum is mor for this please post your question there would help much more, Dogge


Martin

mpc823 wrote:

Great answer helps a lot :-)

Great. Now that you got helped, you can at least inform your friend on how to fix the problem. wink

should there be a forum about a forum to discuss the forum where has to be the forum in which forum to be ?

Yes and it is called FAQ and posters are responsible to read it.

I had a question about how to do xyz

The name of this forum is : "Howtos and Documentation"  so far for me it look's not to much wrong

That's because you did not read and have ignored the FAQs which are usually posted on each forum as stickies. For readers here, posting question on this very HOWTO/DOCUMENTAION forum is a no no and can be considered as an ignorance or even as an offense, YMMV! The forum is for readers to find/read some HOWTO and/or DOCUMENTATION and isn't for asking any questions, AFAIK.

If you are well or better known an answer like this forum is mor for this please post your question there would help much more, ...

Please the FAQ!

Thank you for the answer.

So me show you .

Ok lets go to

There ist a wonderfull page about how to Buildroot -> http://downloads.openwrt.org/docs/build … ation.html

We can find some information like About OpenWrt Kernel Module Compilation like "Create a buildroot option by modifying/inserting into target/linux/Config.in, e.g. "

but there is no "target/linux/Config.in"

or then "Define the binary files for the kernel module by modifying/inserting into target/linux/linux-2.4/Makefile, e.g."

but there is  in target/linux no directory which starts up with Linux

why do you want us to waste our time with old FAQ's which are for the buildsystem from years ago ?

regards and freindly roll  Martin

mpc823 wrote:

why do you want us to waste our time with old FAQ's which are for the buildsystem from years ago ?

You still didn't get it. This forum Howto/Documention isn't for asking questions. Read the FAQ to find out how to post on this forum!

So first I looked at other postinge before mine and saw some posts witch also questiosn e.g

"For the Wi-Fi I could not find a good documentation. "

so I though this forum is also to ask for dokumatation

So a better name for this should be

" Howtos and Documentation, explanation only no questions"

in other boards the admins moves the post to the right forum but here this was not clear to me .

so far its runing here .

Hope somebody makes somethime somewhere a Howto :-)

regards Martin

The discussion might have continued from here.