From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IaaRO-0005nK-VA for qemu-devel@nongnu.org; Wed, 26 Sep 2007 13:12:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IaaRO-0005mA-9Z for qemu-devel@nongnu.org; Wed, 26 Sep 2007 13:12:50 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IaaRN-0005m0-WB for qemu-devel@nongnu.org; Wed, 26 Sep 2007 13:12:50 -0400 Received: from nf-out-0910.google.com ([64.233.182.184]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IaaRN-0004y1-Ln for qemu-devel@nongnu.org; Wed, 26 Sep 2007 13:12:49 -0400 Received: by nf-out-0910.google.com with SMTP id 30so1895858nfu for ; Wed, 26 Sep 2007 10:12:47 -0700 (PDT) Message-ID: Date: Wed, 26 Sep 2007 20:12:41 +0300 From: "Blue Swirl" Subject: Re: [Qemu-devel] Qemu and Linux 2.4 In-Reply-To: <029001c80059$d7a14960$e90d11ac@spb.in.rosprint.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <46E68AA3.2010907@comsys.ro> <20070911125421.GE10713@networkno.de> <46E69AAF.2090509@comsys.ro> <029001c80059$d7a14960$e90d11ac@spb.in.rosprint.ru> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Voropay , qemu-devel@nongnu.org, openbios@openbios.org Cc: linux-mips@linux-mips.org, vlad@comsys.ro On 9/26/07, Alexander Voropay wrote: > wrote: > > >>> - QEMU malta emulation is not really complete, to put it mildly > >> Out of curiosity, what parts did you miss? > > Like, for example, the PCI stuff. So I can use the network card. > > PCI stuff in the QEMU/Malta works fine, but pseudo-bootrom > does not perform PCI enumeration and leaves uninitialized PCI BARs. > > Linux MIPS/Malta 2.4 can not perform PCI enumeration too. The LANCE > Ethernet driver *requres* a pre-initialized BARs. The situation even worse, > since current Linux 2.4 can't be even built with NEW_PCI and PCI_AUTO > options at all (due to linkage error). > > http://www.linux-mips.org/wiki/PCI_Subsystem > > There is the same PCI problem with NetBSD/evbmips and seems VxWorks/Malta. > > > And yes, I am aware of YAMON. > > AFAIK, YAMON may runs on the MIPS hardware only, and may not > be redistribuded in the source or binary form. > > Anyway, YAMON binary does not work on the Qemu/Malta. The Galileo > chip is far more complicated then Qemu emulation. It contains four DMA > channels, four timers e.t.c. e.t.c. > > >> I recommend to improve the Qemu Malta emulation, and make it work with > >> 2.4 Malta kernels. (ISTR it used to work, so it shouldn't need a lot to > >> get there.) > > > > I'm sure that improving the Qemu Malta emulation is a very noble goal, > > but for people that need a working 2.4 kernel NOW, my patch could be > > useful. Having the QEMU target in 2.6 surely helped me. > > The only thing we need is a good bootrom (BIOS) for the MIPS/Malta > (Free-YAMON ;) Someone could port OpenBIOS or LinuxBIOS to MIPS.