Where is the kernel stored ?
I want to add GPIO support to android, so I have to rebuild the kernel with appropriate config. As the whole android image takes a long time to build/copy to sdcard I plan to only recompile the kernel but I don't find the zImage/ramdisk within the 12 (seriously?) partitions, actually most of them are not even mountable (wrong fs type).
So where is the kernel image stored ?
Hi, the kernel and initrd are not stored as a file on one of the filesystems, they are stored as a raw binary blob in one of the partitions that have no filesystem. Android images tend to have between 7 and 20+ partitions sometimes... you have to look at the different scripts in the Android SDK to see how the different partitions are populated and how the kernel image is added to the scheme. That being said, once you followed jonsmirl's new build howto with the sources once, you can create images with your own kernel tweaks...
Come have a chat in the Pine IRC channel >>
Ok thank you.

But it looks like that the kernel is pre-compiled :
'kernel' file is already there and is copy-pasted by tulip_chiphd.mk

Edit: said nothing, found it here https://gitlab.com/pine64-android/linux-3.10

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine A64 running Android 7.1 kernel panic leon 1 3,567 05-12-2017, 04:53 PM
Last Post: ayufan
  Geekbench Scores for Android 7.0 with longsleep kernel? tkaiser 6 7,573 09-20-2016, 04:29 AM
Last Post: tkaiser
  Compiling kernel for Android? HellFire 5 5,526 07-26-2016, 02:17 PM
Last Post: HellFire

Forum Jump:

Users browsing this thread: 1 Guest(s)