From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BB99BE01506 for ; Tue, 11 Jun 2013 08:21:30 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id r5BFLSk6006720 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 11 Jun 2013 08:21:28 -0700 (PDT) Received: from [128.224.146.67] (128.224.146.67) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.342.3; Tue, 11 Jun 2013 08:21:28 -0700 Message-ID: <51B74077.4050902@windriver.com> Date: Tue, 11 Jun 2013 11:21:27 -0400 From: Bruce Ashfield User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: Javi Roman References: <51B732EF.9080902@windriver.com> In-Reply-To: Cc: yocto@yoctoproject.org Subject: Re: Custom kernel in Yocto/dylan branch. X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 15:21:32 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 13-06-11 10:47 AM, Javi Roman wrote: > With > > SRC_URI_append = "file://defconfig" > Which is what I expected. And you say that it isn't being applied at all ? Is that by inspecting the final contents of .config ? Or something else ? Since this is on the dylan branches, I know it has been tested explicitly there. I'll switch and do some of my own test builds. Cheers, Bruce > > Javi Roman > > > On Tue, Jun 11, 2013 at 4:23 PM, Bruce Ashfield > wrote: >> On 13-06-11 10:18 AM, Javi Roman wrote: >>> >>> Hi! >>> >>> >>> I few years ago I used to work with OpenEmbedded (the classical >>> branch). The addition of new kernel recipes was easy for me, >>> nevertheless I'm unable to do similar things with the current >>> Yocto-dylan branch. >>> >>> The current Yocto-dylan is based on Linux kernel 3.x branches, all the >>> documentation regarding add custom kernels or new kernel features are >>> based on those 3.x branches. However, I would like to use a 2.6.32 >>> Linux kernel (it's a constraint for my project). >>> >>> I'm using the following kernel recipe in my bsp: >>> >>> linux/ >>> linux-yocto-abacus/ >>> defconfig >>> linux-yocto-abacus_2.6.32.bb >>> >>> ##### linux-yocto-abacus_2.6.32.bb #### >>> >>> inherit kernel >>> require recipes-kernel/linux/linux-yocto.inc >>> >>> INHIBIT_PACKAGE_DEBUG_SPLIT =3D "1" >>> >>> FILESEXTRAPATHS_prepend :=3D "${THISDIR}/${PN}:" >>> SRC_URI_append =3D "file://defconfig" >>> >>> PROVIDES =3D "virtual/kernel" >>> >>> SRC_URI =3D >>> "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.g= >>> it;protocol=3Dgit;nocheckout=3D1" >>> >>> LINUX_VERSION =3D "2.6.32" >>> LINUX_VERSION_EXTENSION =3D "-abacus" >>> >>> # tag: v3.4 76e10d158efb6d4516018846f60c2ab5501900bc >>> # tag: v2.6.32 459b3d520991ec1b8e5ba68fbc4b206d602fee6e >>> SRCREV=3D"459b3d520991ec1b8e5ba68fbc4b206d602fee6e" >>> >>> PR =3D "r1" >>> PV =3D "${LINUX_VERSION}+git${SRCPV}" >>> >>> COMPATIBLE_MACHINE =3D "romley" >>> >>> ############ end ################### >>> >>> When I build the kernel with: >>> >>> # bitbake virtual/kernel >>> >>> The kernel is downloaded from kernel.org, with the correct git tag >>> (v2.6.32) and is built with success. Nevertheless, the "defconfig" is >>> not properly added in the kernel configuration. If I run: >>> >>> # bitbake virtual/kernel -c menuconfig >>> >>> The ncurses menuconfig is not using the "defconfig" added by me. >>> >>> The "defconfig" with all kernel configurations is a deprecated feature? >>> Which is the correct way to add a new kernel recipe? >> >> >> It definitely should still be working, we have plenty of defconfig >> users (whether right or wong ;) and it is tested daily. >> >> How did you specify your defconfig on the SRC_URI ? >> >> Bruce >> >>> >>> Many thanks! >>> Javi Roman >>> _______________________________________________ >>> yocto mailing list >>> yocto@yoctoproject.org >>> https://lists.yoctoproject.org/listinfo/yocto >>> >>