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 Images (ROCK64) pineadmin 73 80,530 05-04-2021, 01:58 AM
Last Post: zet_lab
  Android 9.0 and Pluto on Rock64-1G missdeenola 1 1,179 03-12-2021, 01:38 PM
Last Post: Wizzard
  broken android microsd images jbach50 1 932 01-16-2021, 09:57 PM
Last Post: jimsurvak
  Android on Rock64 SD Problem ElBoluTony 3 1,658 10-07-2020, 12:10 PM
Last Post: ElBoluTony
  Error! Android Rockchip tools method BowerR64 0 715 09-18-2020, 08:12 PM
Last Post: BowerR64
Lightbulb Any older versions of Android for the Rock64? BowerR64 2 1,401 09-18-2020, 07:58 PM
Last Post: BowerR64
  Can't boot android 9 on rock64 maks2204 5 2,878 09-09-2020, 08:44 AM
Last Post: BowerR64
  Boot Android from USB? Max_H 3 2,334 09-09-2020, 08:26 AM
Last Post: BowerR64
Question Regular Android build for Rock64? fender90 18 9,130 09-09-2020, 08:04 AM
Last Post: BowerR64
  Cannot flash android 9 rockchip tool totalgaara 2 1,844 09-09-2020, 07:05 AM
Last Post: BowerR64

Forum Jump:


Users browsing this thread: 1 Guest(s)