Issue in building Kernel Image from yocto

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

Issue in building Kernel Image from yocto

Jump to solution
1,548 Views
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?

Labels (1)
Tags (2)
0 Kudos
Reply
1 Solution
1,535 Views
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

View solution in original post

2 Replies
1,536 Views
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,513 Views
abhijit_thorat
Contributor III

 hi @yipingwang ,

Thanks.

It's working. 

 

0 Kudos
Reply