AnsweredAssumed Answered

what's the best way to compile android kernel?

Question asked by Sun1z on Jul 26, 2017
Latest reply on Aug 17, 2017 by JayTu

Hi All,

I use android M6.0.1_2.1.0 GA for i.MX6Q sabre board, sometimes I will modify the kernel driver, after that, how can I update the boot-imx6q.img? in the android user guide there is a way to compile the kernel standalone, however, only zImage/uImage generated and no boot-imx6q.img is updated, currently I use "make bootimg" to update the boot-imx6q.img, it's a bit slower than compiling the kernel only, besides that, if I modify the menuconfig, "make bootimg" will be fail as followed:

 

No private recovery resources for TARGET_DEVICE sabresd_6dq
make: *** No rule to make target `bootimg'.  Stop.

 

#### make failed to build some targets (42 seconds) ####

 

Does someone can give me some advice on the actions for kernel modication? thanks.

 

B.R.

Sun

Outcomes