Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B63EEE00503; Wed, 19 Oct 2016 10:17:25 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [212.227.17.24 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message X-Greylist: delayed 1919 seconds by postgrey-1.32 at yocto-www; Wed, 19 Oct 2016 10:17:23 PDT Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C1589E002AC for ; Wed, 19 Oct 2016 10:17:23 -0700 (PDT) Received: from LNSYSCH3 ([81.130.69.98]) by mrelayeu.kundenserver.de (mreue102) with ESMTPSA (Nemesis) id 0Lc8iD-1cdMhz0Hgr-00jWZS for ; Wed, 19 Oct 2016 19:17:22 +0200 From: To: References: <03ba01d22a28$2f1eece0$8d5cc6a0$@ln-systems.com> In-Reply-To: <03ba01d22a28$2f1eece0$8d5cc6a0$@ln-systems.com> Date: Wed, 19 Oct 2016 18:17:21 +0100 Organization: LN Systems Limited Message-ID: <044801d22a2c$a75467e0$f5fd37a0$@ln-systems.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQG9hRXfdoFE2/KVRMZzl4sk/Eax3aDZTuyg X-Provags-ID: V03:K0:Ku1mU+5bbQMp893RUg/Zn+PIgm597ZeuEY6DXuRyCR6eZCm4CWQ C3EJaFQRrAWBxTcHNtZBIr47kvbiFah84cq2MX4L2AT+BjVdolo5iz6tGJjWtC853sfcS4l k41EXCDKzuaOJ514iHwyisgvhfDAeNsukJiCpj8wqjnbASrfr86wn/+uACbijoAqNM6MRZ6 Eax+T53h+YrC8AelqyGDQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:xx5lytVuqjo=:l1onY0G8KiUi00rpsaCEia scSdXlgP7qKMYBdyJP08QcGRIW1aKLCXwX6fLvmL1Wj7Il0l+asebQaEdFoG9MP8j5knP5nPZ FQgtAmstXzUI0IW+G1tiN4L+aHW16PCef4vbnmLm505wbtqmUpGhSB5trTWbX2sNER/Qo4LPU Nn+Z//2uNuFmTAXBiVgcxsy76+xu53Gipw3Z0UfynFofD7JI7xxWgLZgDnxjJ8kcb5JA+QOqv d6qEhinueKzV43/BdPxW0+CUTPB11+zCSBxIBH8xT0EEk+XjZjRwrzejQ94IpW5u1xjYmeTmz d6qqmfF8NTI/m6d6VDLxB21awog5qvC3A50n7bQE8ZMintoJDSsGJPl1FFDjlWZy8kBDlziFb e23ImhANw0F76yt/Ur4WNL3n6jw++jP3w+NopOPy8/AAHEfJgdn89/ITq5dojlvVsAFWbnG8U uyhVmOVQlpSEtQhk/rWrT7Vfh0dqJHE7vrHewOQS3UbRzVqEwYf3U5oHbhH1OrAOElObHXYxm ho4t+C9Qz9kkhVRvwUkw9hKxfOUS6bThKLmDd+Y5dRpE76F+OKGuaB7h+rLpgEzE/njK5mGDB jfcsTuFByaU1ixbmDopdI3erbmWeN+3wB7dKzyEfqRTpmiBTCjl+VbEl2v6HmVdGAWbEE/OOi eR/n9HSE4NiOleAEqUyjoY7x5R32uQ1Y6laxxaCx2/BUJWSjQsMrNQ9UbQdib1UJuqBqH/Tnd X6NCAO6WrHKqy4dA Subject: Re: Unable to use a defconfig in my own kernel recipe X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: colin.helliwell@ln-systems.com List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2016 17:17:25 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0449_01D22A35.091B40E0" Content-Language: en-gb ------=_NextPart_000_0449_01D22A35.091B40E0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Ah.. Sorry for the noise - worked out what I was getting wrong! Sent: 19 October 2016 17:45 To: meta-freescale@yoctoproject.org Subject: [meta-freescale] Unable to use a defconfig in my own kernel recipe I'm trying to customize my kernel for use with a KaRo TX6 module. I've created my own recipe in my own layer&recipe - mylayer/recipes-kernel/linux/linux-myboard_4.4.bb, based on the existing (meta-fsl-arm-extra\recipes-kernel\linux\linux-karo_4.4bb): SUMMARY = "Linux Kernel for my board (Ka-Ro electronics TX6 Computer-On-Modules)" require recipes-kernel/linux/linux-imx.inc require recipes-kernel/linux/linux-dtb.inc DEPENDS += "lzop-native bc-native" SRCBRANCH = "karo-tx6-mainline" LOCALVERSION = "-2016-03-10" SRCREV = "03f89bc99b43fcb07414557eb94e3e10002f8ce2" KERNEL_SRC = "git://git.karo-electronics.de/karo-tx-linux.git;protocol=git" SRC_URI = "${KERNEL_SRC};branch=${SRCBRANCH} \ file://defconfig \ " KERNEL_IMAGETYPE="uImage" COMPATIBLE_MACHINE = "myboard-*" I've also defined my own machine: require ${BSPDIR}/sources/meta-fsl-arm-extra/conf/machine/include/tx6-karo-common.in c SOC_FAMILY = "mx6:mx6dl:tx6" UBOOT_MACHINE = "tx6s-8035_config" PREFERRED_PROVIDER_virtual/kernel = "linux-myboard" PREFERRED_PROVIDER_u-boot = "u-boot-myboard " PREFERRED_VERSION_linux-myboard ?= "4.4%" The build *is* using my layer&recipe, but I'm struggling to get my own defconfig (which I've placed in mylayer/recipes-kernel/linux/linux-myboard_4.4/) pulled into the kernel build - it seems to still be defaulting to KaRo's own default config What's the missing steps for getting it to take my defconfig.? ------=_NextPart_000_0449_01D22A35.091B40E0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Ah…. Sorry for the = noise – worked out what I was getting = wrong!

 

Sent: 19 October 2016 = 17:45
To: meta-freescale@yoctoproject.org
Subject: = [meta-freescale] Unable to use a defconfig in my own kernel = recipe

 

I’m = trying to customize my kernel for use with a KaRo TX6 module. I’ve = created my own recipe in my own layer&recipe  - = mylayer/recipes-kernel/linux/linux-myboard_4.4.bb, based on the existing = (meta-fsl-arm-extra\recipes-kernel\linux\linux-karo_4.4bb):

 

SUMMARY =3D = "Linux Kernel for my board (Ka-Ro electronics TX6 = Computer-On-Modules)"

 

require = recipes-kernel/linux/linux-imx.inc

require = recipes-kernel/linux/linux-dtb.inc

 

DEPENDS +=3D = "lzop-native bc-native"

 

SRCBRANCH =3D = "karo-tx6-mainline"

LOCALVERSION =3D = "-2016-03-10"

SRCREV =3D = "03f89bc99b43fcb07414557eb94e3e10002f8ce2"

KERNEL_SRC =3D = "git://git.karo-electronics.de/karo-tx-linux.git;protocol=3Dgit"= ;

SRC_URI =3D = "${KERNEL_SRC};branch=3D${SRCBRANCH} \

           file://defconfig = \

"

 

KERNEL_IMAGETYPE=3D"uImage"

 

COMPATIBLE_MACHINE  =3D = "myboard-*"

 

 

I’ve = also defined my own machine:

 

require = ${BSPDIR}/sources/meta-fsl-arm-extra/conf/machine/include/tx6-karo-common= .inc

 

SOC_FAMILY =3D = "mx6:mx6dl:tx6"

 

UBOOT_MACHINE =3D = "tx6s-8035_config"

 

PREFERRED_PROVIDER_virtual/kernel =3D = "linux-myboard"

PREFERRED_PROVIDER_u-boot =3D "u-boot-myboard = "

 

PREFERRED_VERSION_linux-myboard ?=3D = "4.4%"

 

 

The build *is* = using my layer&recipe, but I’m struggling to get my own = defconfig (which I’ve placed in = mylayer/recipes-kernel/linux/linux-myboard_4.4/) pulled into the kernel = build – it seems to still be defaulting to KaRo’s own = default config

 

What’s = the missing steps for getting it to take my = defconfig…?

 

------=_NextPart_000_0449_01D22A35.091B40E0--