Compiled code size of ralink wifi driver too huge

by Lay » Wed, 02 Mar 2011 01:25:08 GMT

Sponsored Links
 Hi Android porters,

I am trying to port ralink wifi rt2870sta.ko into Android v2.1. After
compiling the driver with arm-eabi-gcc, the code size of rt2870sta.ko
came up to 9Mbyte. This is too large. When I compiled using the normal
PC gcc on Ubuntu 10.04, the code size is about 700kbyte.

Is this normal behavior?

Thank you.


Re: Compiled code size of ralink wifi driver too huge

by Deva R » Thu, 03 Mar 2011 22:49:09 GMT

 by any chance you passed "-static" flag to gcc?
build library with "make showcommands" and check the flags passed
during compilation.



Sponsored Links

Re: Compiled code size of ralink wifi driver too huge

by Lay » Fri, 04 Mar 2011 14:14:02 GMT

 Thank you for the tip. It is helpful.


Re: Compiled code size of ralink wifi driver too huge

by Louis Tsai » Mon, 28 Mar 2011 00:01:38 GMT

 Hi Lay,

Can you show me how did you port the Ralink driver into Android v2.1 ?

Yesterday, I want to port Ralink 3070 driver in an embedded system
which run on ARM chip,
I modify Makefile in Ralink driver package


Then I do 'make' to build the driver, but there are some ERROR

Can you explain how did you build the driver?




Other Threads

1. Speech Recognition question


I know to recognize speech from the user holding the phone you can use
Recognizer Intent. Cool.

Has anyone tried (or is it possible) to use Recognizer Intent to
detect when someone on the phone is talking?

I imagine this would have to be tied somehow to:


If not with RecognizerIntent is there any creative ideas on how it
might be done in real time like RecognizerIntent works?

Not by recording it to to a file with media recorder but in real

I don't need anything fancy here. I do not need to recognize words and
all that.
All I need to do is to detect when the person on the phone is talking
vs not talking.

I am thinking there has to be a way. It's just a different audio
source. Right?

Thank you for any help


2. Answer automatically to Incoming Call

I know this is not the good forum to post my question, but I need help
and I spend 3 days to try to find solution ,but no way:(.
I'm trying to develop application that can answer incoming call
In my code I use the intent "Action_Anwser"  but it's seem not work.
The snippet of my code
        public void onCallStateChanged(int state, String incomingNumber) {
                        super.onCallStateChanged(state, incomingNumber);
 Intent intent = new Intent(Intent.ACTION_CALL_BUTTON);
Maybe I had forget the permission in manifest or somthing like this!!!
Thanks for your help.
best regards,


3. ImageToggleButton?

4. PreferenceActivity Validation on Checkbox

5. How to add Edittext box in a home screen widget

6. Virtual currency as way to generate income?

7. Need a suggestion regarding an app architectu IPC ?