Hello,
I'm sorry if there is an easy answer to this problem, but I'm just getting my feet under me in the Linux world. I have yocto-project dora branch installed and tried to make the core-image-minimal with machine as cgtqmx6 and am running in to the problem below. An issue with the patch 0001-Add-linux-support-for-congatec-evaluation-board-qmx6q.patch. Is there something I'm missing or have misconfigured?
Build Configuration:
BB_VERSION = "1.20.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-12.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "cgtqmx6"
DISTRO = "poky"
DISTRO_VERSION = "1.5"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
meta-oe = "(nobranch):513e7ca20ddd0a5c3b649bf292a67c3e0473d3a8"
meta-fsl-arm = "(nobranch):5b3b6618426ad06e4fb6a3a77c4a53dfb47f0556"
meta-fsl-arm-extra = "(nobranch):11ac45d22963a3f047a85c96009c36cb6e156d0a"
meta-fsl-demos = "(nobranch):cd6275042cdd2d87490521f6cbeb65972ed37a66"
meta-hob = "(nobranch):75bed4086eb83f1d24c31392f3dd54aa5c3679b1"
NOTE: Preparing runqueue
NOTE: Marking Active Tasks
NOTE: Pruned 4360 inactive tasks, 1528 left
NOTE: Assign Weightings
NOTE: Compute totals (have 1 endpoint(s))
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Command Error: exit status: 1 Output:
Applying patch 0001-Add-linux-support-for-congatec-evaluation-board-qmx6q.patch
patching file arch/arm/configs/qmx6_defconfig
patching file arch/arm/configs/qmx6_updater_defconfig
patching file arch/arm/mach-mx6/Kconfig
patching file arch/arm/mach-mx6/Makefile
patching file arch/arm/mach-mx6/board-mx6dl_qmx6.h
patching file arch/arm/mach-mx6/board-mx6q_qmx6.c
patching file arch/arm/mach-mx6/board-mx6q_qmx6.h
patching file arch/arm/mach-mx6/mx6q_qmx6_pmic_pfuze100.c
patching file arch/arm/plat-mxc/include/mach/esdhc.h
patching file arch/arm/tools/mach-types
patching file drivers/mmc/host/sdhci-esdhc-imx.c
patching file drivers/net/fec.c
Hunk #3 succeeded at 200 (offset 1 line).
Hunk #4 succeeded at 250 (offset 1 line).
Hunk #5 succeeded at 518 (offset 1 line).
Hunk #6 succeeded at 768 (offset 1 line).
Hunk #7 succeeded at 927 (offset 1 line).
Hunk #8 succeeded at 1112 (offset 1 line).
Hunk #9 FAILED at 1140.
Hunk #10 succeeded at 1930 (offset 6 lines).
1 out of 10 hunks FAILED -- rejects in file drivers/net/fec.c
patching file drivers/net/phy/micrel.c
patching file include/linux/micrel_phy.h
patching file sound/soc/imx/Kconfig
patching file sound/soc/imx/imx-sgtl5000.c
Patch 0001-Add-linux-support-for-congatec-evaluation-board-qmx6q.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/elemec/dora-fsl-community-bsp/conga-qmx6/tmp/work/cgtqmx6-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/temp/log.do_patch.2400
ERROR: Task 239 (/home/elemec/dora-fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1502 tasks of which 1499 didn't need to be rerun and 1 failed.
No currently running tasks (1502 of 1528)
Summary: 1 task failed:
/home/elemec/dora-fsl-community-bsp/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.0.35.bb, do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Solved! Go to Solution.
I sent the patch to the mailing list; you can fetch it there or from:
Confirm.
After "repo sync" cannot reproduce the error anymore.
Thank You Otavio!
I will prepare a patch to fix this. Are you able to test it? please join meta-freescale so you can get the patch there.
Yes I can test it. Thank you very much for the quick response! I apologize for my ignorance but how do I get the patch?
I sent the patch to the mailing list; you can fetch it there or from:
Please Post this into meta-freescale. I believe you are baking from a master branch, otherwise this issue would have already detected.
FYI OtavioSalvador
No; I reproduced this in dora as well.