Issue in building Kernel Image from yocto

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

Issue in building Kernel Image from yocto

跳至解决方案
1,626 次查看
abhijit_thorat
Contributor III

Hi,

I am using T2080QDS for my project and using yocto to build kernel image.

I want to customize Linux kernel. So I follow steps from document QorIQ-SDK-2.0-IC-Rev0.pdf topic 3.3.2 Customize Linux Kernel

I run command bitbake -c cleansstate virtual/kernel to clear cache 

and bitbake -c patch virtual/kernel to download source code

When I run command bitbake -c compile -f virtual/kernel to compile kernel I always get following error

ERROR: Function failed: do_configure (log file is located at /home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.23196)
ERROR: Logfile of failure stored in: /home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.23196
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: Executing shell function do_configure
| cp: cannot stat '/home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/git/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig': Too many levels of symbolic links
| WARNING: /home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/run.do_configure.23196:1 exit 1 from
| cp /home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/git/arch/powerpc/configs/corenet64_fmanv3h_smp_defconfig .config
| ERROR: Function failed: do_configure (log file is located at /home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/build_t2080qds-64b/tmp/work/t2080qds_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.23196)
ERROR: Task 4 (/home/abhijit/yocto/install/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_configure) failed with exit code '1'

 

Is there any way to resolve this issue?

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,613 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the resolution provided by Pavel in the following thread.

https://community.nxp.com/t5/QorIQ/QorIQ-Linux-SDK-v2-0-1703-kernel-compilation-issues/m-p/651136

 

Please use the attached linux-qoriq_4.1.bbappend file to replace sources/meta-nxp-npi-1703/recipes-kernel/linux/linux-qoriq_4.1.bbappend

在原帖中查看解决方案

2 回复数
1,614 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the resolution provided by Pavel in the following thread.

https://community.nxp.com/t5/QorIQ/QorIQ-Linux-SDK-v2-0-1703-kernel-compilation-issues/m-p/651136

 

Please use the attached linux-qoriq_4.1.bbappend file to replace sources/meta-nxp-npi-1703/recipes-kernel/linux/linux-qoriq_4.1.bbappend

1,591 次查看
abhijit_thorat
Contributor III

 hi @yipingwang ,

Thanks.

It's working. 

 

0 项奖励
回复