Return-Path: Received: from astoria.ccjclearline.com (astoria.ccjclearline.com [64.235.106.9]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3DA6E00596 for ; Fri, 2 Mar 2012 04:41:53 -0800 (PST) Received: from cpec03f0ed08c7f-cm001ac318e826.cpe.net.cable.rogers.com ([99.241.91.63] helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1S3Ro1-00064u-3C; Fri, 02 Mar 2012 07:41:53 -0500 Date: Fri, 2 Mar 2012 07:41:46 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@oneiric To: Paul Eggleton In-Reply-To: <2719498.jaIID8MHL8@helios> Message-ID: References: <1620680.bZkznn7mE0@helios> <2719498.jaIID8MHL8@helios> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - yoctoproject.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Cc: yocto@yoctoproject.org Subject: Re: simplest recipe for running yocto qemu images? [SOLVED] X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2012 12:41:53 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 2 Mar 2012, Paul Eggleton wrote: > On Friday 02 March 2012 07:16:08 Robert P. J. Day wrote: > > i gathered that. but is it unreasonable to suggest that this is > > something that *should* be easy to do? if new users simply want to > > see what a yocto-generated image looks like under qemu, shouldn't > > there be a way to let them do that without going through an entire > > build? > > I see what you're saying, but the problem with this is the qemu > version we build is not the same as qemu that might be installed on > the host machine. We apply quite a number of patches to qemu in > order to support features we need (such as GL); if you allow > beginners to easily use something else then it just makes support > harder because certain things that normally work in the current > setup will not work when the host tools are being used instead. just for fun, i addressed the only thing that was stopping me, and that was that runqemu was looking for a slightly different sysroots directory name than the toolchain provided, so: /opt/poky/1.1/sysroots$ sudo ln -s x86_64-pokysdk-linux/ x86_64-linux and then ran: $ TMPDIR=/opt/poky/1.1 runqemu qemuarm zImage-2.6.37-qemuarm-1.0.bin core-image-minimal-qemuarm.ext3 and it worked. yes, i'm sure i'm abusing all sorts of things but, in the end, once i dug through it, it seemed fairly easy to get it to work. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================