From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMpcU-00035i-IG for qemu-devel@nongnu.org; Tue, 13 Jan 2009 15:12:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMpcT-00033X-3H for qemu-devel@nongnu.org; Tue, 13 Jan 2009 15:12:13 -0500 Received: from [199.232.76.173] (port=52826 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMpcS-00032t-Bm for qemu-devel@nongnu.org; Tue, 13 Jan 2009 15:12:12 -0500 Received: from wf-out-1314.google.com ([209.85.200.171]:20344) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMpcR-00079w-Tg for qemu-devel@nongnu.org; Tue, 13 Jan 2009 15:12:12 -0500 Received: by wf-out-1314.google.com with SMTP id 27so194606wfd.4 for ; Tue, 13 Jan 2009 12:12:10 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <496CCF54.4040109@aurel32.net> References: <20090112201836.GF29483@hall.aurel32.net> <20090112204049.GG29483@hall.aurel32.net> <20090112205042.GA23876@volta.aurel32.net> <20090113170333.GA8697@volta.aurel32.net> <496CCF54.4040109@aurel32.net> Date: Tue, 13 Jan 2009 22:12:10 +0200 Message-ID: Subject: Re: [Qemu-devel] [6271] Use ESCC for PowerMac serial From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org On 1/13/09, Aurelien Jarno wrote: > Blue Swirl a =C3=A9crit : > > > On 1/13/09, Aurelien Jarno wrote: > >> On Mon, Jan 12, 2009 at 10:59:11PM +0200, Blue Swirl wrote: > >> > On 1/12/09, Aurelien Jarno wrote: > >> > > On Mon, Jan 12, 2009 at 09:40:49PM +0100, Aurelien Jarno wrote: > >> > > > On Mon, Jan 12, 2009 at 10:32:43PM +0200, Blue Swirl wrote: > >> > > > > On 1/12/09, Aurelien Jarno wrote: > >> > > > > > On Mon, Jan 12, 2009 at 05:40:24PM +0000, Blue Swirl wrot= e: > >> > > > > > >> > > > >> > > > > Strange, at least Debian 3.1 R8 (CD and direct -kernel), Deb= ian 4.0 R5 > >> > > > > (CD and direct -kernel), Debian 4.0 R6 and Gentoo 2008.0 ac= t like > >> > > > > before. > >> > > > > >> > > > I have the same problem with a CDROM, an hard disk, -kernel. > >> > > > > >> > > > > What kind of setup do you have? At least OpenBIOS config is= not > >> > > > > standard, you have enabled PCI debugging. > >> > > > > >> > > > I have built OpenBIOS by hand, native build. This is the unmo= dified SVN. > >> > > > > >> > > > >> > > > >> > > The PCI debugging is enabled by default on the native build, and= disable > >> > > on the cross-build. Disabling the PCI code fixes (or workaround= s?) the > >> > > problem. > >> > > >> > It looks like the address of the boot serial is bad, if I change i= t to > >> > 0x7f013000, PCI debug output works. Maybe something maps over the > >> > address at some point. > >> > >> > >> 0x80013000 is in the middle of the PCI space, so you are hitting anot= her > >> device, probably the VGA card. 0x7f013000 is unused but we have to l= imit > >> the memory to 2032MiB > > > > How about some higher address then, like 0xef013000? > > > > > The PCI space uses 80000000-fdffffff. The ISA IO space uses > fe000000-fe0200000. OpenBios uses 0xfff00000-0xffffffff. This leaves > very few possibilities. > > Alternatively we can map the whole MacIO device at a fixed location > which also makes the location of the serial ports fixed. The G3 beige > uses f3000000-f307ffff for the MacIO device. I just wonder what this means for PCI mapping, will MacIO appear twice (like ESCC now)?