Here is how to compile LeshaKs Samdroid Kernel with an optimized
Toolchain and Kernel config.
Using his pre-setup development enviroment here:
[Dev] VMWare image for build i5700 kernel (2.6.29 for Android 2.1)
I hope i did not forget something.
Toolchain
-----------
ct-ng menuconfig :
Target options --->
"Architecture level" -> "armv6k" // enable arm v6k extensions
"Target CFLAGS"-> "-O3" // enable level 3 optimizations
Rebuild Toolchain.
Kernel
--------
make menuconfig :
System Type --->
*** Processor Type ***[*] Support ARM V6K processor extensions // was disabled
*** Processor Features ***
[ ] Disable branch predicition // was enabled
Modules Folder
-----------------
_mm1 script:
add "CFLAGS=-O3" to the "make ..." line
_kmake and _kmake_s ( LeshaKs Scripts in ~/bin)
----------------------------------------------------------
"make -j2" ---> "make -j2 CFLAGS=-O3"
"make" ---> "make CFLAGS="-O3"
Resulting Kernel can be found here :
Wohoo ! more speed for your Spica !


LinkBack URL
About LinkBacks
Reply With Quote


Bookmarks