Received: from [140.186.70.92] (port=34032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P8y7G-00048D-S2 for qemu-devel@nongnu.org; Thu, 21 Oct 2010 12:35:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P8y7F-0007l3-II for qemu-devel@nongnu.org; Thu, 21 Oct 2010 12:35:46 -0400 Received: from moutng.kundenserver.de ([212.227.17.8]:56799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P8y7F-0007kO-4X for qemu-devel@nongnu.org; Thu, 21 Oct 2010 12:35:45 -0400 Message-ID: <4CC06BD9.40206@mail.berlios.de> Date: Thu, 21 Oct 2010 18:35:37 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] qemu arm with non-linux image References: In-Reply-To: Content-Type: multipart/alternative; boundary="------------080602090102080203030109" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nathan Fain Cc: qemu-devel@nongnu.org This is a multi-part message in MIME format. --------------080602090102080203030109 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Am 21.10.2010 03:34, schrieb Nathan Fain: > Is it possible to use qemu with a arm raw image from an embedded > device? The device does not use linux. Any links to documentation or > general knowledge I can search with appreciated. > > thanks Maybe. It depends on the emulated arm platform (qemu supports several of them) load address and other factors. The code is the documentation. Images are loaded from code in hw/arm_boot.c. There you can see that qemu supports elf, u-boot and raw images. Raw images are assumed to be linux images. That's the image loaded by the "-kernel" parameter. Depending on the platform, it is also possible to load (boot) roms. Try parameter "-d in_asm" to see (in file /tmp/qemu) what qemu does with your raw code. If you are a programmer and willing to spend (a lot of) time, the answer to your question is yes. Cheers, Stefan Weil --------------080602090102080203030109 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Am 21.10.2010 03:34, schrieb Nathan Fain:
Is it possible to use qemu with a arm raw image from an embedded device? The device does not use linux. Any links to documentation or general knowledge I can search with appreciated. 

thanks

Maybe. It depends on the emulated arm platform (qemu supports several of them)
load address and other factors.

The code is the documentation. Images are loaded from code in hw/arm_boot.c.
There you can see that qemu supports elf, u-boot and raw images.
Raw images are assumed to be linux images. That's the image loaded by the
"-kernel" parameter.

Depending on the platform, it is also possible to load (boot) roms.

Try parameter "-d in_asm" to see (in file /tmp/qemu) what qemu does
with your raw code.

If you are a programmer and willing to spend (a lot of) time,
the answer to your question is yes.

Cheers,
Stefan Weil

--------------080602090102080203030109--