linux-mips
[Top] [All Lists]

Re: [Qemu-devel] Qemu and Linux 2.4

To: Alexander Voropay <alec@nwpi.ru>
Subject: Re: [Qemu-devel] Qemu and Linux 2.4
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 26 Sep 2007 17:59:01 +0100
Cc: qemu-devel@nongnu.org, Thiemo Seufer <ths@networkno.de>, linux-mips@linux-mips.org, vlad@comsys.ro
In-reply-to: <029001c80059$d7a14960$e90d11ac@spb.in.rosprint.ru>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <46E68AA3.2010907@comsys.ro> <20070911125421.GE10713@networkno.de> <46E69AAF.2090509@comsys.ro> <029001c80059$d7a14960$e90d11ac@spb.in.rosprint.ru>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.14 (2007-02-12)
On Wed, Sep 26, 2007 at 08:25:18PM +0400, Alexander Voropay 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.

Both CONFIG_PCI_NEW and PCI_AUTO were amazingly broken in both concept
and implementation.  It is possible to get them to work well for particular
configurations but for the general case nothing else nothing but rewrite
can rescue things.

> >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.

Alchemy boards run YAMON, too.

> *******************************************************************************************************
> This message and any attachments (the "message") are confidential and 
> intended solely for the addressees. Any unauthorised use or dissemination 

Soley for all the billion internet users, I assume ;-)

  Ralf

<Prev in Thread] Current Thread [Next in Thread>