recompile the kernel for mfgtools

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

recompile the kernel for mfgtools

1,091 Views
rotechen
Contributor I

Hello,

I has porting the android L5.0.0 into customer board.

In customer board, i using the eMMC 5.0. so i need recompile the kernel for mfgtools.

But it has some error when i using the config "imx_v7_mfg_defconfig".

 

kernel/power/earlysuspend.c: In function 'early_suspend':

kernel/power/earlysuspend.c:109:3: error: implicit declaration of function 'android_wake_unlock' [-Werror=implicit-function-declaration]

kernel/power/earlysuspend.c: In function 'request_suspend_state':

kernel/power/earlysuspend.c:173:3: error: implicit declaration of function 'android_wake_lock' [-Werror=implicit-function-declaration]

cc1: some warnings being treated as errors

 

make[2]: *** [kernel/power/earlysuspend.o] Error 1

make[1]: *** [kernel/power] Error 2

make: *** [kernel] Error 2

 

Can anyone give me some suggestion, thank you!

Original Attachment has been moved to: imx_L5.0_mfg.log.zip

Labels (2)
0 Kudos
2 Replies

435 Views
alejandrolozan1
NXP Employee
NXP Employee

Hi,

I think it is the same problem with the .config

Please refer to the below discussion

Re: Build kernel imx_v7_mfg_defconfig on Android KK 4.4.3 2.0.0 error

Best Regards,

Alejandro

0 Kudos

435 Views
saurabh206
Senior Contributor III

Hi Rote,

Somehow Android kernel fails to build with imx_v7_mfg_defconfig.

You can use Yocto project to buile mfgtool image.

bitbake fsl-image-mfgtool-initramfs

Thanks

Saurabh

0 Kudos