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.






-- 
Regards,
Deva
www.bittoggler.com

-- 


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

I specified CROSS_COMPILE , LINUX_SRC and LINUX_SRC_MODULE

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

Can you explain how did you build the driver?

Thanks

BR.




-- 



Other Threads

1. Speech Recognition question

Hi

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:

 VOICE_UPLINK_INPUT = 1
 or
 VOICE_DOWNLINK_INPUT = 2

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
time.

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
-Chris

-- 

2. Answer automatically to Incoming Call

hello,
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
automatically.
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);
                            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                               startActivity(intent);
::::
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 ?