AnsweredAssumed Answered

QorIQ Linux SDK v2.0-1703 kernel compilation issues

Question asked by Debdutta Banerjee on Apr 28, 2017
Latest reply on Sep 28, 2017 by Vijaykumar Desai

Hi,

I have installed the QorIQ Linux SDK v2.0-1703 in the installation folder of QorIQ-SDK-V2.0-20160527-yocto.

I am compiling for T1042D4RDB-64b. The build- "bitbake fsl-image-full" is successful and all the images are generated.

 

However, I cannot customize Linux Kernel. After installing the source, I fail at kernel config:

bitbake -c menuconfig virtual/kernel.

I get these errors

ERROR: Function failed: do_configure (log file is located at /home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.18093)
ERROR: Logfile of failure stored in: /home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.18093
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/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/git/arch/powerpc/configs/corenet64_fmanv3l_smp_defconfig': Too many levels of symbolic links
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_configure.18093)
ERROR: Task 4 (/home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 285 tasks of which 284 didn't need to be rerun and 1 failed.
No currently running tasks (285 of 286)

Summary: 1 task failed:
/home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_configure
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

 

I have noted that the kernel source is a symlink:

tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/git -> /home/debdutta/QorIQ/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work-shared/t1042d4rdb-64b/kernel-source

 

I think this is creating [roblem.

Outcomes