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
  Rock64 Android Oreo 8.1 TV-Install adventures (Now Android 9.0) Rocklobster 5 391 08-04-2021, 07:35 PM
Last Post: Rocklobster
  How do I prepare/put Android on an SD card using etcher cdotsubo3000 3 2,522 06-27-2021, 02:43 PM
Last Post: clach04
  Android and SD Card gigagames 2 1,761 06-27-2021, 02:38 PM
Last Post: clach04
  Android Images (ROCK64) pineadmin 73 93,862 05-04-2021, 01:58 AM
Last Post: zet_lab
  Android 9.0 and Pluto on Rock64-1G missdeenola 1 1,672 03-12-2021, 01:38 PM
Last Post: Wizzard
  broken android microsd images jbach50 1 1,368 01-16-2021, 09:57 PM
Last Post: jimsurvak
  Android on Rock64 SD Problem ElBoluTony 3 2,462 10-07-2020, 12:10 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 1,046 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 1,978 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 3,895 09-09-2020, 08:44 AM
Last Post: BowerR64

Forum Jump:


Users browsing this thread: 1 Guest(s)