AnsweredAssumed Answered

SCM-i.MX 6Dual/6Quad Linux Patch not able to bitbake

Question asked by Zafrir Y on Jun 1, 2016


I am trying unsuccessfully to bitbake a build for SCM-i.MX6Dual/6Quad (QWKS-SCMIMX6DQ).

I have been following document # SCMIMX6DQLRNUG Rev. 0, 02/2016. See attached tar file

Per the document, in the build machine the following commands have been given:

$ mkdir fsl-arm-yocto-bsp

$ cd fsl-arm-yocto-bsp

$ cp <path to scm package>/meta-fsl-scm.tar.gz .

$ repo init -u git:// -b imx-3.14.52-1.1.0_ga

$ repo sync

$ tar zxvf meta-fsl-scm.tar.gz -C sources/


$ DISTRO=fsl-imx-fb MACHINE=imx6dqscm-1gb-qwks source BUILD_DIR=build


I have tried both

$ bitbake fsl-image-qt5


$ bitbake core-image-base


This is the error that I get:


NOTE: Preparing RunQueue

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

ERROR: Command Error: exit status: 1  Output:

Applying patch 0007-MLK-11888-1-arm-imx6-common-fix-ddr_type-identificat.patch

patching file arch/arm/mach-imx/common.h

Hunk #1 FAILED at 181.

1 out of 1 hunk FAILED -- rejects in file arch/arm/mach-imx/common.h

Patch 0007-MLK-11888-1-arm-imx6-common-fix-ddr_type-identificat.patch can be reverse-applied

ERROR: Function failed: patch_do_patch

ERROR: Logfile of failure stored in: /home/grimlock/SnipeBlock3/build/tmp/work/imx6dqscm_1gb_qwks-poky-linux-gnueabi/linux-imx/3.14.52-r0/temp/log.do_patch.32251

ERROR: Task 70 (/home/grimlock/SnipeBlock3/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-kernel/linux/, do_patch) failed with exit code '1'


Any thoughts what could cause this?





Original attachment has been moved to