From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DP3He-0005q9-3r for qemu-devel@nongnu.org; Fri, 22 Apr 2005 14:53:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DP3Hc-0005p9-PT for qemu-devel@nongnu.org; Fri, 22 Apr 2005 14:53:45 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DP3Hc-00056B-Lf for qemu-devel@nongnu.org; Fri, 22 Apr 2005 14:53:44 -0400 Received: from [194.251.242.242] (helo=fep17.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DP3JG-0001Qh-AD for qemu-devel@nongnu.org; Fri, 22 Apr 2005 14:55:26 -0400 Received: from co.inet.fi ([80.220.124.133]) by fep17.inet.fi with ESMTP id <20050422185241.EZNG29816.fep17.inet.fi@co.inet.fi> for ; Fri, 22 Apr 2005 21:52:41 +0300 Message-ID: <426947FA.40007@co.inet.fi> Date: Fri, 22 Apr 2005 21:52:42 +0300 From: Tero Kaarlela MIME-Version: 1.0 Subject: Re: [Qemu-devel] Problems with Prep IDE References: <42602B0A.4050305@co.inet.fi> <1113608514.11980.55.camel@rapid> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 J. Mayer wrote: >On Fri, 2005-04-15 at 23:58 +0300, Tero Kaarlela wrote: > > >>Hi, >> >> I am still trying to boot OS/2 PPC edition with Qemu. Non-contiguos >>IO map & no support for Little-endian have been solved now thanks to J. >>Mayer who sent me patches to work these out. Now bootloader gives me >>following message: >> >>IBM Microkernel bootloader press enter for manual boot(enter) >> >>and I have following boot options to choose from: >> >>cdrom >>hd >> >>if I try to use either one of these Qemu gives me >> >>outl: port= 0x0cf8 data=0x80006000 >>inl: port= 0x0cfc >>(Bootloader continues with) >>Invalid PCI configuration >>Device initializion failed >> >>Any ideas why is this? >> >> > >There are two problems here: >first, the PREP PCI controller does not map its legacy ISA IO ports. >This is a bug. >But fixing this point is not sufficient to make the loader happy: >it tries to access the PCI device 0x60 (96) which does not exists. Then, >I think the lack of devices description in Open Hack'Ware residual data >can be a good suspect for this. Or it can be that real PREP machine >always have the IDE (or SCSI !) controller mapped as PCI device 0x60, >but I'm very suspicious about this. > Ok, What I have made now: 1. Changed vendor id of PREP Pci bridge from 1011 to 1014 (ibm) 2. Tried booting and noticed that Bootloader did: pci_config_read: PCI Bridge address:10 value: 0xffffffff 3. Found out that address 10 should have base adress in it. 4. modified this with: d->config[0x10] = 0x08 d->config[0x10] = 0x00 d->config[0x10] = 0x00 d->config[0x10] = 0xF0 to be 0xF0000008 Is this ok?(I just figured it out somehow) Now bootloader gives me: dma:command 0x24 not supported dma:command 0x25 not supported Just figuring out what these commands are.... Tero