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. <Android-Beginners> Query : How to get the full path of the files under "res" folder of an Android App?

I may be wrong but I don't think you need the full path of where they are on
the device...  You should be able to reference them using the R class.





--~--~---------~--~----~------------~-------~--~----~

2. can I use EditText in AppWidget?

I use EditText in AppWidget,and there is no error in Eclipse,but It
can not run.
Why?what i should do if I want use EditText in AppWidget?

--~--~---------~--~----~------------~-------~--~----~

3. How to submit to ADC 2

4. Customize search bar UI

5. OpenGL - Threading Texture Loading

6. Unable to Set SeekBar Minimum Width Programmatically

7. glQueryMatrixxOES missing from Qualcomm driver?