PINE64
Compiling android kernel - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Android on Rock64 (https://forum.pine64.org/forumdisplay.php?fid=87)
+--- Thread: Compiling android kernel (/showthread.php?tid=6167)



Compiling android kernel - ddaarrius - 06-12-2018

Hey guys!
 
I need to change a few lines of code in the android kernel. I'm using this build but can't seem to find the kernel sources used to compile it. I tried to compile these sources up to the 3.10.104 merge tag but I get a lot of compilation errors. What gcc version should I be using? And once I compile the kernel how do I flash it to the rock64? Do I just use the compiled Image file as the kernel.img in AndroidTool or do I have to package it somehow?

Thanks!


RE: Compiling android kernel - pfeerick - 06-12-2018

(06-12-2018, 04:38 AM)ddaarrius Wrote: Hey guys!
 
I need to change a few lines of code in the android kernel. I'm using this build but can't seem to find the kernel sources used to compile it. I tried to compile these sources up to the 3.10.104 merge tag but I get a lot of compilation errors. What gcc version should I be using? And once I compile the kernel how do I flash it to the rock64? Do I just use the compiled Image file as the kernel.img in AndroidTool or do I have to package it somehow?

Thanks!

ayufan is the best one to answer most of your questions. All I can say is that the build is done inside this docker container as instructed by this Jenkinsfile. Hopefully perusing those two files will give you an idea as to what is going on.


RE: Compiling android kernel - ddaarrius - 06-13-2018

Thank you very much, this seems to be exactly what I need, I'll try it out soon.