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 件の賞賛
返信