Need help to add new kernel parameteres - General Questions and Answers

Hello,
i want to use GPIO ports in my phone, but, my kernel has disabled it
i googled a lilttle, and found CONFIG_GPIO_SYSFS should be enabled,
Can someone, unpack the kernel, add this parameter, and recpack it for me?
Thx.
This is my boot.img file-https://drive.google.com/file/d/1UCmPQmOwlLOO6iQ1XRi88pIQD4DmWiWL/view?usp=sharing

Related

kernel configuration needed for compiling module

Greetings!
I need the kernel configuration files for the atrix2 since i want to compile a kernel module. I've tried the standard methods ( config.gz does not exist, and moto has turned off the compile options that allow us to extract it from a running kernel)
Do someone have access to one, or know how to get one - maybe from the source( it is not in the kernel/ source put out by moto, but maybe you know a way to extract it from the build source )
Thanks a ton
Manan

[Q] Kernel source compiling for Xoom.

Hi I looked for sometime for answers but could not find anything relevant.
Looking to get the ftdi VCP drivers to install on Xoom. Which means I either have to compile a kernel or add them as a module. I can not for the life of me find the correct source tree.
I downloaded kernel 2.6.36.3 from google which matches my kernel version.
My kernel version on the tablet is 2.6.36.3-gb899258 .
When I cross compile the module and try to do an insmod its complaining about the magic version is different which leads me to believe that I have the wrong kernel.
Where can I get the right stock kernel?
If i can not find it there is another option to download the config.gz from the device and recompile another version of the kernel with native support for the ftdi drivers.. How do i just install just the kernel on the device? Is it a uImage bzImage and how do I just flash that?
cd
Thanks
edit:
scrap that ...
sorry, not really helpful in your case
I'm assuming you got your source from here? This is the link from the Android website:
git clone https://android.googlesource.com/kernel/tegra.git
If you decide to go the route of compiling another kernel source, the easiest way (and a good way to keep snapshots of various configs) would be to use Koush's AnyKernel to flash the kernel. I don't know anything about what you're trying to do but I hope that helps some.
Yep the code comes from there.....
I finally got it to work , I downloaded the stock kernel from google then when I make the modules I had to modify the Makefile to get it to match the kernel versions.
It seems to work for now...
Thanks for your help

[Q] [DEV] Disable device in init.rc?

Hi!
I would like to know if I can disable a device-driver within init.rc or something.
The reason is, that I would like to totally switch off the touchkey-buttons (the function and the backlight). They are not active in bootloader-mode, but switch on when the device is booting the kernel, so I guess they could be switched off by deleting or at least disabling the driver.
Any ideas on how to do that without having to recompile the whole kernel?
Thanks
McDV

[Q] Help building

I want to build a module for my atrix HD w/ kernel ver 3.0.42-gebf622c. I think I found the source code, but I cannot figure out which config file to use. I have never built a linux kernel for an android before, so I am sure I will run into all kinds of trouble. Can someone give me some pointers for bootstrapping this process? I at least need to know where to find the .config file used to configure this kernel. Shorter term, does anyone have a tun.ko for this kernel?
Thanks!

[Q] Load different kernel module

Hello all.
Sorry for noob question, but I am just a beginner.
I have a tablet (GoClever R105KB) with Rockchip RK3066 chipset.
So far, I did not find any alternative ROM for it.
I am quite happy with the stock firmware (I just rooted it), but I'd like to modify a single thing - the USB_OTG driver.
The stupid device designer compiled the kernel with the flag CONFIG_USB_OTG_BLACKLIST_HUB enabled.
Therefore my keyboard with integrated hub and mouse port does not work.
I'd like to recompile the kernel, however, the device manufacturer did not post any sources.
I am thinking about downloading the kernel sources for 3.0.8+, compile the hub.c myself and somehow force the module to the kernel.
Can anyone advice if this is even possible?
Thanks.
I now found out that there is some option to patch already running kernel, or maybe disassemble the kernel, remove the condition and assemble it back.
Does anyone have experience with such activity?

Categories

Resources