Kernel compile - Android Q&A, Help & Troubleshooting

I downloaded sources for my device and i changed that i want.
How to compile android kernel(make zImage) from kernel sources on windows 8.1 ?

Related

[Help] Compile GTAB7-P1000 Kernel

Forgive me if annoying to open new thread.. Ask on gtab section still no one answer..
Yes, theres awesome github source for P1000
But please can someone give proven tutorial to compile kernel for P1000 from samsung source ??
Linux: ubuntu8.4.0 LTS
Kernel Source: update2 (opensource.samsung) & voodoo (github)
Initramfs Source: stock & cfroot (extract with unpack-initramfs on cygwin coz on linux always failed) , voodoo (github)
Toolchain: arm-2009q3-67-arm-none-linux-gnueabi gcc 4.4.1 , arm-2009q3-68-arm-none-eabi gcc 4.4.1 , arm-2011.03-arm-none-linux-gnueabi gcc 4.5.2
Trying combination source kernel, initramfs, and toolchain but still device cant booting not only as zImage but with boot.img too (i find tools on github to build as boot.img)
Thank you before for helping..

How to add my zImage to CM10 build?

Hello,
I don't want to build kernel again, I would like to use already compiled zImage. (kernel compiled in a different directory which I use to build kernel)
How can I force build script to use my compiled zImage?
(I'm building CM10)
lozohcum said:
I don't want to build kernel again, I would like to use already compiled zImage. (kernel compiled in a different directory which I use to build kernel)
How can I force build script to use my compiled zImage?
(I'm building CM10)
Click to expand...
Click to collapse
I think you have to run mkbootimg manually to bundle your zImage with the ramdisk, then read this and use TARGET_PREBUILT_KERNEL in your BoardConfig.mk:
http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building

How can I compile a kernel for my device?

I have a linux environment, kernel source, but no toolchain to compile it with.
Can someone guide me on how to compile a kernel for the device? :good:

Enabling kernel page table dump in android

I found this page on enabling kernel page table dump in Android (https://wenboshen.org/posts/2018-09-09-page-table.html). For this I have to edit a defconfig and rebuild the kernel. I built my own AOSP (Android 9, blueline userdebug) but can't locate the defconfig for my device. In fact the arch/arm64/configs/ directory is missing.
How can I create a custom defconfig within the AOSP repo? Or do I have to download the kernel source for my device and rebuild/flash it?
In general what is the relation between AOSP and the kernel source? Does AOSP not build the kernel as part of it?

amlogic kernel 4.9.113 hid-pl.ko

hello
Does anyone have a driver hid-pl.ko compiled for kernel 4.9.113? (x96maxplus2)
or how to build it on a linux machine
kernel source : https://github.com/McMCCRU/linux-amlogic

Categories

Resources