From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MZOUr-0004Q3-Cl for garchives@archives.gentoo.org; Fri, 07 Aug 2009 12:24:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E854E053D; Fri, 7 Aug 2009 12:24:32 +0000 (UTC) Received: from gator748.hostgator.com (gator748.hostgator.com [174.132.193.194]) by pigeon.gentoo.org (Postfix) with ESMTP id 16371E053D for ; Fri, 7 Aug 2009 12:24:32 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=diablops.com; h=Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Organization:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=G6WNHfsK/wusZQP94gOSTJ+1LO8rcw1W93UOIXUUo13bR2oU5pxcVtAKi6FzswEfCMgG66z54WVbFGfdVhcNBZPH5CLuQpxmADUEqpvy32zRCyBNQoqdP5ukYiOgvNv7; Received: from cpe-98-27-253-252.neo.res.rr.com ([98.27.253.252]:42601 helo=localhost) by gator748.hostgator.com with smtp (Exim 4.69) (envelope-from ) id 1MZOUp-0003ey-NR for gentoo-embedded@lists.gentoo.org; Fri, 07 Aug 2009 07:24:31 -0500 Date: Fri, 7 Aug 2009 08:24:31 -0400 From: Brenden Walker To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] newbie - building bootable image for ARM target on I686 host Message-ID: <20090807082431.31237052@diablops.com> In-Reply-To: <4A7C0B84.90403@hiramoto.org> References: <20090806161959.289b32fb@diablops.com> <4A7C0B84.90403@hiramoto.org> Organization: Diablo Professional Services, LLC X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator748.hostgator.com X-AntiAbuse: Original Domain - lists.gentoo.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - diablops.com X-Archives-Salt: a8ad3754-41b1-4ca7-bd5a-ac48c7339b03 X-Archives-Hash: 1298645fa4d05575a86f4c07ce5cd918 On Fri, 07 Aug 2009 13:09:56 +0200 Karl Hiramoto wrote: > Brenden Walker wrote: > > I'm new to embedded linux, but been using Gentoo for a long time.. > > time the plan was to use QEMU to demonstrate the basic process and > > for use in developing our application, so a disk image suitable for > > QEMU is what I'm hoping for. > The concept of bootable disk doesn't really exist. On most ARM HW > i've worked with the way the boot process works is you have a boot > loader (redboot, uboot, etc) that loads the kernel, then the kernel > paramaters tell it how to mount the root FS. > > QEMU works kinda the same. QEMU is the boot loader and you tell it > the kernel image name, then pass the kernel args to mount the root > for example: > > qemu-system-arm -M versatilepb -hda sda.img -kernel zImage -append > "root=/dev/sda1 clock=pit" > > > If your interested in the kernel details theres a general doc in > /Documentation/arm/Booting > > > I have an old (kernel 2.6.19) qemu image, based on one somebody on > this list posted a long time ago, that you can boot: > http://karl.hiramoto.org/embedded/qemu-arm.tar.lzma Thanks for the help, I think my main issues are what boot loader, how to get it into an image and what to use to build the image. If I can get that figured out, I've got a gentoo setup for building arm binaries... I could probably muddle through the rest ;-).