How to compile governors as modules? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

:angel:

I love you too my Angel.
GO AVENGERS+GREEEEETZ!!!

do you mean loadable module (*.ko) ? if your governor source code already integrated in kernel source code tree just select m in config. if not you need make new makefile and kernel source code which already compiled (at lease once). but not every kernel module can be compiled as loadable module. original interactive governor can not compiled as loadable module. see makefile in bcm-tweak for example how to write your own makefile.

Related

[Q] Need linux kernel source 2.6.29.REVO by microslav_mm

I strongly need the linux kernel 2.6.29.REVO used by CM7 SwiftDroid SDSL v2.0. Can anyone tell me where I can down the source?
What I am currently doing is to hack the wireless module of my GT540 phones. So I need the linux kernel source to recompile the module: /system/lib/modules/wireless.ko. I have tried the kernel source from two github repositories.
* One is the swift kernel 2.6.29 authored by Quarx2k
* The other is by wingrime
But when I inserted the compiled wireless.ko, the CM7 SwiftDroid SDSL system throws out the version magic error.
# dmesg
wireless: version magic '2.6.29 preempt mod_unload ARMv6 should be '2.6.29.REVO preempt mo-unload ARMvt'
So I may need the exact linux version 2.6.29.REVO authored by microslav_mm.
Where can I download it? microslav_mm's github only provides 2.6.35 kernel right now.
Any suggestions are extremely appreciated. Already trapped by this kernel compilation issue for a whole week.
Shawn
http://forum.xda-developers.com/showpost.php?p=27315587&postcount=985
there you go
Thanks for this message.
But this webpage seems to contains only the already-built linux kernel and android image.
What I need is the source code of linux kernel 2.6.29.REVO. Any place to download?
Regards
Shawn
I dont know....
I think I saw it once on github :OO
Sign. But I strongly need this kernel source linux kernel source 2.6.29.REVO for wifi driver hacking.

Compile Mako Kernel with Linaro Toolchain

Hi,
I am new with custom ROM and Android kernel things.
I successfully boot my phone with my kernel compiled from source with Google toolchain. And someone suggested to me to use Linaro toolchain.
Then I went through this page https://android-build.linaro.org/ to get some idea, seems none on Mako.
Any suggestion?
I am using arm-linux-androideabi-4.6 tool chain now for kernel compiling.

[Q] Kernel Panic s3cfb on SMDK4412

I am porting OmniROM to UrBetter s702 devices (Hyundai T7s/T7) using the Mixtile Garage board (mixtile.com) as a reference design. The CPU is Exynos4412.
The Mixtile Garage board comes with Linux kernel 3.0.15 and I am trying to update to 3.0.64 using the smdk4412 kernel source tree from Omni.
After creating the necessary mach-mixtile4x12.c file on arch/arm/mach-exynos (using mach-smdk4x12.c as a reference and adapting it, it compiles but on boot is panicking on s3cfb_clk_on: http://paste.omnirom.org/view/0d0fd2ec
The modified kernel tree is here: https://github.com/Frontier314/kernel_smdk4x12
The kernel source is compiled with GCC arm-eabi-4.7; gcc-arm-eabi-4.4.3 has the same problem so it should be something in the source tree.
Any ideas on how to fix this?
Many thanks in advance.

[Q] adding cpu governor

I have omni sources cloned and setup to build the kernel for my Xperia V.
The kernel sources are cloned from the dev of the rom I am using NeoWave 1.2.2 for xperia V
I can build a fully working kernel fine, but when adding new cpu governors, they just don't show up...
everything is included in all the relevant files, Kconfig, Makefile,cpufreq.h, cpufreq_xxx, and ....defconfig..
strange thing is if I run a standard make ARCH=arm CROSS_COMPILE=....../arm-eabi- on the same source, they show up and work fine, the only problem being that my build doesn't use the vendor/blobs for my device..
Does anyone know something simple I'm missing, or alternatively a way I can add the vendor blobs directly to my source and just do a standard make?
I'm fairly new to all this...
To answer my own question, it seems that the governors also need to be specified in the cm_xxxx_defconfig file.. That confused me as i have added a module to <device>_defconfig file and it built fine!!

Compile and flash stock rom?

Hi,
I have a kernel module that I compiled using the kernel source provided by Xiaomi, unfortunately I can't load the modules since it's not signed with Xiaomi's key so I want to compile my own kernel with module signature disabled so i can load my module.
I've tried to compile the kernel source provided by Xiaomi and after fixing some errors in the source I got my zImage file and flashed it using Anykernel3, but the device keeps bootlooping to the fastboot mode.
Is there some guide or tips to compile stock kernel ?
Regards
where you get xiaomi's kernel source?
gamecss said:
where you get xiaomi's kernel source?
Click to expand...
Click to collapse
Look around GitHub
Use predator kernel source.
Search self
Have a nice day
GitHub - stormbreaker-project/kernel_xiaomi_lavender
Contribute to stormbreaker-project/kernel_xiaomi_lavender development by creating an account on GitHub.
github.com
i think this does not to be the internal kernel of Xiaomi
you should get xiaomi kernel there:
GitHub - MiCode/Xiaomi_Kernel_OpenSource at lavender-p-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
(android9)
GitHub - MiCode/Xiaomi_Kernel_OpenSource at lavender-q-oss
Xiaomi Mobile Phone Kernel OpenSource. Contribute to MiCode/Xiaomi_Kernel_OpenSource development by creating an account on GitHub.
github.com
(android10)

Categories

Resources