recompile the kernel for mfgtools

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

recompile the kernel for mfgtools

1,388 次查看
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

标签 (2)
0 项奖励
回复
2 回复数

732 次查看
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 项奖励
回复

732 次查看
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 项奖励
回复