Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IdPJl-00032u-Jy for qemu-devel@nongnu.org; Thu, 04 Oct 2007 07:56:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IdPJj-00032Y-Cv for qemu-devel@nongnu.org; Thu, 04 Oct 2007 07:56:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IdPJj-00032V-Am for qemu-devel@nongnu.org; Thu, 04 Oct 2007 07:56:35 -0400 Received: from [85.186.197.132] (helo=swpark.galati.ro) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IdPJi-00070b-M2 for qemu-devel@nongnu.org; Thu, 04 Oct 2007 07:56:35 -0400 Message-ID: <2668.86.34.180.179.1191495512.squirrel@comsys.ro> In-Reply-To: <20071004114308.GS16772@networkno.de> References: <4702185B.3010807@comsys.ro> <20071002164027.GG16772@networkno.de> <470352E7.8050200@comsys.ro> <20071003133706.GM16772@networkno.de> <47039DDF.7050004@comsys.ro> <20071003194744.GO16772@networkno.de> <4704C5EC.4040603@comsys.ro> <20071004114308.GS16772@networkno.de> Date: Thu, 4 Oct 2007 13:58:32 +0300 (EEST) Subject: Re: [Qemu-devel] U-Boot patch for qemu -M mips From: vlad@comsys.ro MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 > Vlad Lungu wrote: > [snip] >>>> put some info somewhere (RAM, register, >>>> emulated DIP-dwitch), like RAM size, endianness of the CPU. >>>> >>> >>> Endianness is rather pointless. If your U-Boot binary doesn't explode >>> immediately you got the right endianness. :-) >>> >>> >> It doesn't actually explode, it sort of almost hits the exception >> handler >> and freezes there. I don't have a mipsel gdb at hand >> to watch it, but it should be fun. >> pc=EPC 0xbfc00380 >> ds 0006 >> >> STATUS 0x00400006 >> CAUSE 0x00000428 >> CONFIG0 0x80000082 >> CONFIG1 0x9e190c8b > > Try "qemu-system-mipsel ... -d all", and watch /tmp/qemu.log. :-) Oh crap. Now I see the problem. Either I misread the 0.90 "info reg" or there's a difference in how it's handled. It dies on the first instruction anyway. Vlad