Hello
I am using SDK V2.0 - 1703 for T1042D4RDB-64B. Default kernel compiling process is only giving 4 driver output. I need to enable the drivers I want and want to change the kernel .config file. I followed the procedure as following;
1) bitbake virtual/kernel -c cleansstate
2) bitbake virtual/kernel -c patch
4) bitbake virtual/kernel -c configure
5) make ARCH=powerpc menuconfig
6) bitbake virtual/kernel
But it's giving compilement error as follows.
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 uImage CC=powerpc64-fsl-linux-gcc -fuse-ld=bfd --sysroot=/home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/sysroots/t1042d4rdb-64b LD=powerpc64-fsl-linux-ld.bfd --sysroot=/home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/sysroots/t1042d4rdb-64b LOADADDR=0x80008000
| CHK include/config/kernel.release
| GEN ./Makefile
| CHK include/generated/uapi/linux/version.h
| Using /home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work-shared/t1042d4rdb-64b/kernel-source as source for kernel
| /home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work-shared/t1042d4rdb-64b/kernel-source is not clean, please run 'make mrproper'
| in the '/home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work-shared/t1042d4rdb-64b/kernel-source' directory.
| make[2]: *** [prepare3] Error 1
| make[1]: *** [sub-make] Error 2
| make: *** [__sub-make] Error 2
| WARNING: exit code 1 from a shell command.
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (log file is located at /home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/build_t1042d4rdb-64b/tmp/work/t1042d4rdb_64b-fsl-linux/linux-qoriq/4.1-r0/temp/log.do_compile.14081)
ERROR: Task 5 (/home/hwlab/QorIQ-SDK-V2.0-20160527-yocto/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.1.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 286 tasks of which 285 didn't need to be rerun and 1 failed.
When I do not touch the .config file using "make ARCH=powerpc menuconfig" it's compiling successfully. I want to enable "Load also drivers which will not be used" option in menuconfig. But when I save it as ".config" file and start compiling, it's giving error.
Any idea ?