Hi, I was trying to set the local repo for kernel and build the yocto image. For that
I have set SRC_URI as below located at $ /fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-wandboard.inc SRC_URI = "git:///home/jos/test/temp/mykernel;protocol=file;bareclone=1" and it started recognizing the local repo.., Also I have modified the linux-imx file "S" parameter as below S = "/home/jos/test/temp/mykernel" But I ran into another error and log is mentioned below The kernel baseline in my local repo is 3.0.35-4.1.0 and the I am using dora yocto branch There are some set of patches I can see at linux-imx_3.0.35.bb as below # GPU support patches SRC_URI += "file://drm-vivante-Add-00-sufix-in-returned-bus-Id.patch \ file://0001-ENGR00255688-4.6.9p11.1-gpu-GPU-Kernel-driver-integr.patch \ file://0002-ENGR00265465-gpu-Add-global-value-for-minimum-3D-clo.patch \ file://0003-ENGR00261814-4-gpu-use-new-PU-power-on-off-interface.patch \ file://0004-ENGR00264288-1-GPU-Integrate-4.6.9p12-release-kernel.patch \ file://0005-ENGR00264275-GPU-Correct-suspend-resume-calling-afte.patch \ file://0006-ENGR00265130-gpu-Correct-section-mismatch-in-gpu-ker.patch" The patch function is failing here. But with the kernel that was downloaded from git previously for wandboard is compiling with same patches with out any problem. These patches don't work for 3.0.35-4.1.0? What should be done here to apply patch & compile the image. please do guide me over here Regards, Pavan PS: Attached is the error log file
Loading cache: 100% |#################################################################################################################| ETA: 00:00:00 Loaded 1737 entries from dependency cache. Parsing recipes: 100% |###############################################################################################################| Time: 00:00:00 Parsing of 1343 .bb files complete (1342 cached, 1 parsed). 1736 targets, 78 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies Build Configuration: BB_VERSION = "1.20.0" BUILD_SYS = "i686-linux" NATIVELSBSTRING = "Ubuntu-12.04" TARGET_SYS = "arm-poky-linux-gnueabi" MACHINE = "wandboard-quad" DISTRO = "poky" DISTRO_VERSION = "1.5.4" TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9" TARGET_FPU = "vfp-neon" meta meta-yocto = "(nobranch):e035c59d7d331ddaeff19b069169567af5e6f8ac" meta-oe = "(nobranch):e75ae8f50af3effe560c43fc63cfd1f39395f011" meta-fsl-arm = "(nobranch):5fdb620c09df11e70434092f675c891e0ba84108" meta-fsl-arm-extra = "(nobranch):375f89b70655be2a17bbde36de6adb4e4a5a6975" meta-fsl-demos = "(nobranch):5a12677ad000a926d23c444266722a778ea228a7" NOTE: Preparing runqueue NOTE: Executing SetScene Tasks NOTE: Executing RunQueue Tasks ERROR: Command Error: exit status: 1 Output: Applying patch drm-vivante-Add-00-sufix-in-returned-bus-Id.patch patching file drivers/gpu/drm/vivante/vivante_drv.c Hunk #1 FAILED at 55. 1 out of 1 hunk FAILED -- rejects in file drivers/gpu/drm/vivante/vivante_drv.c Patch drm-vivante-Add-00-sufix-in-returned-bus-Id.patch can be reverse-applied ERROR: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /home/jos/Desktop/work/yocto/fsl-community-bsp/build/tmp/work/wandboard_quad-poky-linux-gnueabi/linux-wandboard/3.0.35-r0/temp/log.do_patch.8012 ERROR: Task 82 (/home/jos/Desktop/work/yocto/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-wandboard_3.0.35.bb, do_patch) failed with exit code '1' NOTE: Tasks Summary: Attempted 1554 tasks of which 1551 didn't need to be rerun and 1 failed. No currently running tasks (1554 of 1581) Summary: 1 task failed: /home/jos/Desktop/work/yocto/fsl-community-bsp/sources/meta-fsl-arm-extra/recipes-kernel/linux/linux-wandboard_3.0.35.bb, do_patch Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto