Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id BCF03E00F54; Fri, 2 Sep 2016 08:27:21 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id EC66EE00F57 for ; Fri, 2 Sep 2016 08:26:43 -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.15.2/8.15.1) with ESMTPS id u82FQ9rb004927 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 2 Sep 2016 08:26:31 -0700 (PDT) Received: from [128.224.56.48] (128.224.56.48) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.3.248.2; Fri, 2 Sep 2016 08:26:23 -0700 To: Mircea Gliga , References: <704c1142-0ba3-f5df-2801-c6d31ee19574@windriver.com> <706ab63f-2747-a14f-1ce6-dab3c1accbfc@windriver.com> <1b067ad8-be70-c4ff-1e85-96967cb578a8@vitheia.com> <3876aba6-a0ec-b575-0b68-2d76193f1e42@windriver.com> From: Bruce Ashfield Message-ID: <83171542-fd07-a930-b61c-59b6fbcda184@windriver.com> Date: Fri, 2 Sep 2016 11:26:22 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <3876aba6-a0ec-b575-0b68-2d76193f1e42@windriver.com> Subject: Re: custom linux kernel recipe 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: Fri, 02 Sep 2016 15:27:21 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit On 2016-09-02 09:58 AM, Bruce Ashfield wrote: > On 2016-09-02 03:51 AM, Mircea Gliga wrote: >> Hi Bruce, >> >> Do you have any new input in regards with qemuarm booting with kernel >> 4.7.2 LTS ? >> Have you managed to test this ? >> I wander if this can be reproduce elsewhere and what's the solution >> for it. > > I was tied up with the introduction of the 4.8 kernel, but I *think* > the coast is clear on that front (for the moment). > > I can try and spin up a korg based 4.7.x build and see how it goes. The issue is in your defconfig. qemuarm login: root root@qemuarm:~# uname -a Linux qemuarm 4.7.2-yocto-standard #1 PREEMPT Fri Sep 2 11:15:30 EDT 2016 armv5tejl GNU/Linux root@qemuarm:~# I created a similar recipe: -------- inherit kernel require recipes-kernel/linux/linux-yocto.inc FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable:" KBRANCH ?= "linux-4.7.y" SRCREV ?= "84fae3f89282ce86a0c0da30e35fe66dbcadda6f" KBRANCH ?= "linux-4.7.y" SRCREV_machine_qemuarm ?= "84fae3f89282ce86a0c0da30e35fe66dbcadda6f" KERNEL_DEVICETREE_qemuarm = "versatile-pb.dtb" KBRANCH_qemuarm ?= "linux-4.7.y" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;bareclone=1;branch=${KBRANCH}" SRC_URI += "file://defconfig" LINUX_VERSION = "4.7.2" PV = "${LINUX_VERSION}+git${SRCPV}" COMPATIBLE_MACHINE = "qemuarm" ---------- And I took the "defconfig" from the -stable tree (the defconfig_versatile). When I built and booted that, I had no output. So I grabbed the .config from my 4.8 build, copied it into my layer as the 'defconfig', rebuilt .. and was able to log in with the prompt you see above. So the 4.7 defconfig is missing something, I didn't iterate to find it. Cheers, Bruce > > Bruce > >> >> Thanks >> Mircea >> >> On 08/30/2016 06:09 PM, Bruce Ashfield wrote: >>> >>> I'm finishing up 4.8 today, but without doing a boot test, I can't say >>> for sure. I'll see if I can cycle in some korg 4.7.x testing tomorrow to >>> see if I can get a clean boot. >> >