[June 19] Armbian (5.42) ROCK64 | [June 19] Armbian (5.38) PINE A64(+) / PINE A64-LTS / SOPINE | [June 19] motionEyeOS (20180224) PINE A64(+) | [June 19] Armbian (5.46) Pinebook | [June 06] Bionic LXDE (0.6.44-239) ROCK64 | Bionic Minimal (0.6.44-239) ROCK64 | [June 06] Debian Stretch Minimal (0.6.44-239) ROCK64 | [June 06] Jessie OpenMediaVault (0.6.44-239) ROCK64 | [May 21] Slackware (20180508) ROCK64

Project Inspiration | Get Started | IRC Logs | Forum Rules/Policy


Compiling android kernel
#1
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!
Reply
#2
(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.
Reply
#3
Thank you very much, this seems to be exactly what I need, I'll try it out soon.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Android Security isndw 29 3,157 06-17-2018, 08:26 AM
Last Post: joe
Rainbow Android 7.1 with Navbar & Statusbar Braindead420 2 162 06-15-2018, 01:20 PM
Last Post: Braindead420
  Installing Android on SD Card Phingum 6 405 06-06-2018, 02:04 PM
Last Post: marlab
  Android Images (ROCK64) pineadmin 46 17,526 06-01-2018, 11:37 AM
Last Post: jzhang18
  Bluetooth CSR8510 not working with Rock64 Android 7.1 efreeze 6 789 05-14-2018, 10:06 AM
Last Post: AlexS
  Android and SD Card gigagames 1 192 05-10-2018, 04:38 PM
Last Post: tllim
  How do I prepare/put Android on an SD card using etcher cdotsubo3000 2 237 05-06-2018, 04:27 PM
Last Post: dougunder
  Android on emmc keep freezing, why? Nelly 6 409 05-06-2018, 03:45 PM
Last Post: dougunder
Question Managing Android through a Gamepad??? Danielsan 7 314 05-06-2018, 06:36 AM
Last Post: Poincare
  What are the diferences between ayufan-rock64 android-7.1 releases IlmarsM 2 351 04-26-2018, 07:54 AM
Last Post: IlmarsM

Forum Jump:


Users browsing this thread: 1 Guest(s)