Compiling kernel for Android?
#1
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-pine6...2-0-pine64
#2
From SDK i think is a easy way. You download this from wiki of pine
#3
(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
#4
I found this link on web

http://www.murlock.org/a64/lichee_A64_A5.1_V1.0.tar.gz
#5
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
Backer #6878
shipment status: arrived
#6
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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Android 6.0 Tablet and TV (release candidate, maintained) ayufan 228 381,896 12-29-2020, 01:13 AM
Last Post: firmwarefile
Shocked Remote for Android? liodra 18 29,173 12-23-2020, 06:11 AM
Last Post: Learnincurve
  Adding an accelerometer to Android modsbyus 11 16,534 11-02-2020, 08:12 PM
Last Post: Little_Johnny
  Android Things OS dqvsra 2 6,872 12-03-2019, 09:52 AM
Last Post: hangglider
  Is there another link for Android images? Maalth 3 6,937 10-10-2019, 07:57 AM
Last Post: tophneal
Question Android SDK Oreo NGC6691 2 5,523 07-15-2019, 08:29 PM
Last Post: dazza5000
  Putting Android 9 RockPro64 source into easier to manage repositories dazza5000 0 3,291 07-15-2019, 08:29 PM
Last Post: dazza5000
  Android 5.1.1 TV (old-stable, no longer maintained) ayufan 194 253,902 03-12-2019, 04:53 PM
Last Post: neosapien
  Issues with SD Card and Running Android Twistedx 0 3,495 02-26-2019, 11:58 AM
Last Post: Twistedx
  Android 7.1 (PINE A64(+)) pineadmin 59 103,819 02-10-2019, 07:44 PM
Last Post: mmmarcus

Forum Jump:


Users browsing this thread: 1 Guest(s)