Compiling kernel for Android? - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4) +--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5) +--- Thread: Compiling kernel for Android? (/showthread.php?tid=1714) |
Compiling kernel for Android? - HellFire - 07-10-2016 Has anyone managed to build a fully working kernel for Android? And how? I need to enable some extra drivers for my hardware. I've got a kernel built that boots, but only the top USB port is functional. Source I'm using: https://github.com/longsleep/linux-pine64/tree/3.10.102-0-pine64 RE: Compiling kernel for Android? - kap1r0t0 - 07-11-2016 From SDK i think is a easy way. You download this from wiki of pine RE: Compiling kernel for Android? - HellFire - 07-20-2016 (07-11-2016, 01:05 PM)kap1r0t0 Wrote: From SDK i think is a easy way. You download this from wiki of pine but there's no kernel source in it, only a pre-compiled kernel image RE: Compiling kernel for Android? - kap1r0t0 - 07-20-2016 I found this link on web http://www.murlock.org/a64/lichee_A64_A5.1_V1.0.tar.gz RE: Compiling kernel for Android? - mikey0000 - 07-20-2016 The BSP 2.0 package contains kernel source code. I'd apply longsleep patches overtop of the BSP as there are google patches specific to android that won't be in the longsleep kernel (unless it already contains them) and potentially other android specifics as well as the device tree which are not present for the binary blobs (if you were to build the whole android image) EDIT: look here http://linux-sunxi.org/SDK_build_howto RE: Compiling kernel for Android? - HellFire - 07-26-2016 Kernel from BSP is even less functional. A while after showing the Android splash screen, it just reboots. I'm guessing my USB issue is related to the DTBs being missing. I can't figure out how to build the dt.img for PINE.. and the original Android kernel doesn't contain a dt.img or any DTBs in the ramdisk or /system. |