From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 4B644E00C02 for ; Tue, 22 Apr 2014 01:23:24 -0700 (PDT) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s3M8NCcD029111; Tue, 22 Apr 2014 09:23:12 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GR086tOztJrn; Tue, 22 Apr 2014 09:23:11 +0100 (BST) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s3M8N8lG029107 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 22 Apr 2014 09:23:09 +0100 Message-ID: <1398154982.16672.25.camel@ted> From: Richard Purdie To: Richard Leitner - SKIDATA Date: Tue, 22 Apr 2014 09:23:02 +0100 In-Reply-To: References: X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: "Yocto Project Discussion ML \(yocto@yoctoproject.org\)" Subject: Re: Problem with own kernel recipe on Dora 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, 22 Apr 2014 08:23:28 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Tue, 2014-04-22 at 07:52 +0000, Richard Leitner - SKIDATA wrote: > Hi Yocto-Community, > as the subject already says I've a problem with my kernel recipe after the "migration" from the Dylan to the Dora (10.0.1) branch. > I've tried the 10.0.1 release tag as well as the current dora master (50e9ccb2aff7b9f9dca4fda99a6832c60f64de3b). > > The kernel recipe I'm using is derived from the skeleton: > DESCRIPTION = "Linux Kernel" > SECTION = "kernel" > LICENSE = "GPLv2" > LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" > inherit kernel > KSRC = "/home/leri/VCS/git/linux" > KBRANCH = "master" > SRC_URI = "git://${KSRC};protocol=file;branch=${KBRANCH};name=kernel;nocheckout=1" > SRCREV = "2014_03_07" > PR = "sd_15.2" > LINUX_VERSION = "${PV}" > LINUX_VERSION_EXTENSION = "-${PR}+${SRCREV}" > COMPATIBLE_MACHINE = "skidata-harmony|smartcpu" > KERNEL_IMAGETYPE = "uImage" > SRC_URI += "file://defconfig" > require recipes-kernel/linux/linux-yocto.inc > > > This recipe was working well with the Dylan branch and following changes: > -SRC_URI = "git://${KSRC};protocol=file;branch=${KBRANCH};name=kernel;nocheckout=1" > +SRC_URI = "git://${KSRC};protocol=file;branch=${KBRANCH};name=kernel" > +S = "${WORKDIR}/git" > > > When compiled with the dora branch the kernel hangs at "Starting kernel..." and doesn't start: > ## Booting kernel from Legacy Image at 00000000 ... > Image Name: Linux-3.1.10-sd_15.2 > Image Type: ARM Linux Kernel Image (uncompressed) > Data Size: 3181616 Bytes = 3 MiB > Load Address: 00008000 > Entry Point: 00008000 > Verifying Checksum ... OK > Loading Kernel Image ... OK > OK > > Starting kernel ... > > > I've already looked through the migration notes in the manual but I'm unable to find any hints... > Are there any ideas why the kernel doesn't start with the Dora branch? We saw an issue recently on beaglebone that looked very like this. It turned out the load address for the kernel was conflicting in memory with the device tree binary. It easily be something different but I thought I'd mention it. Cheers, Richard