Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-31 Thread mike digioia
Yes correct the make file scripts use "uname -r" which works only on a host with the same arch as the target. Not sure how much of this is broken this way. But this can cause this same kind of message when trying to execute. I was able to change this to fix it to my target's arch=ARM. On Fri, May

Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-27 Thread akanksha maggo
Hi, I guess there such a syntax error comes when there is some mismatch between ur toolchain. So try once with gnu toolchain and then check. It should work. Regards, Akanksha On Tue, May 17, 2011 at 10:37 PM, mike digioia wrote: > Other issues, currently pppd depends on libutils for logging and

Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-17 Thread mike digioia
Other issues, currently pppd depends on libutils for logging and many of the other system/ tools have issues like this with libcutils. Has anyone looked into what we want to do moving forward and to allow additional tools like the ones mentiond below? On Tue, May 17, 2011 at 9:32 AM, mike digioia

Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-17 Thread mike digioia
Pavan, Thanks for adding this. I have another question related to this on Pandaboard builds. I have created an external directory (mydroid/external/i2ctools) for my special i2c tools to build them but they do not work once I manually load them onto my SD android filesystem. All the other bins for

Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-16 Thread pavan m
Initialization of the statically linked modules can be deferred using deferred_module_init(). See the complete article here http://elinux.org/Deferred_Initcalls Regards, Pavan On Tue, May 17, 2011 at 9:01 AM, mike digioia wrote: > Once they are built into the kernel they can't be remove with rm

Re: [android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-16 Thread mike digioia
Once they are built into the kernel they can't be remove with rmmod On Mon, May 16, 2011 at 5:36 PM, Anil wrote: > I heard that some drivers are hard coded into the kernel so insmod and > rmmod may not work. Is there a way to skip them running if they cannot > be unloaded? > > On May 13, 3:50 pm,

[android-kernel] Re: how to skip loading drivers at startup and load them all later on?

2011-05-16 Thread Anil
I heard that some drivers are hard coded into the kernel so insmod and rmmod may not work. Is there a way to skip them running if they cannot be unloaded? On May 13, 3:50 pm, Anil wrote: > I am trying an experiment to switch out drivers dynamically - on > demand. On Android 2.2, how to skip loadi