From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXiI1-000483-RL for qemu-devel@nongnu.org; Sun, 23 Apr 2006 13:22:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXiI1-00047G-AB for qemu-devel@nongnu.org; Sun, 23 Apr 2006 13:22:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXiI1-000472-6f for qemu-devel@nongnu.org; Sun, 23 Apr 2006 13:22:29 -0400 Received: from [84.96.92.55] (helo=smtP.neuf.fr) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FXiK4-0001Ga-F6 for qemu-devel@nongnu.org; Sun, 23 Apr 2006 13:24:36 -0400 Received: from [84.99.204.67] by sp604004mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0IY60081CQP7P9N0@sp604004mt.gpm.neuf.ld> for qemu-devel@nongnu.org; Sun, 23 Apr 2006 19:17:31 +0200 (CEST) Date: Sun, 23 Apr 2006 19:16:43 +0200 From: Fabrice Bellard Subject: Re: [Qemu-devel] [PATCH] Add MIPS ELF loader In-reply-to: <4428DE4B.6040802@gmail.com> Message-id: <444BB67B.3090301@bellard.org> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT References: <4428DE4B.6040802@gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I just added an ELF loader (inspirated from the SPARC one) which should work for all architectures. It supports symbol loading and use the CPU physical memory mappings to compute correct RAM addresses. Fabrice. Dirk Behme wrote: > Hi, > > ELF loader feature for MIPS in patch > > http://lists.gnu.org/archive/html/qemu-devel/2006-03/msg00033.html > > was rejected because it breaks loading of raw kernel images: > > http://lists.gnu.org/archive/html/qemu-devel/2006-03/msg00082.html > > What about the patch in attachment? It first tries to load > image as an ELF file. If this fails it falls back to raw > image load. Additionally, it takes feature of patch above to > go on even if no BIOS is found. > > Regards > > Dirk