From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DaAcO-0002t8-0Z for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DaAcL-0002rX-5j for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DaAcK-0002qe-Pi for qemu-devel@nongnu.org; Mon, 23 May 2005 06:57:04 -0400 Received: from [62.210.190.9] (helo=brazzaville.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DaAiZ-0003aS-Nt for qemu-devel@nongnu.org; Mon, 23 May 2005 07:03:32 -0400 Received: from private2 (ppp-181.net-555.magic.fr [62.210.255.181]) by brazzaville.magic.fr (8.11.6/8.11.6) with ESMTP id j4NAs3Q26004 for ; Mon, 23 May 2005 12:54:03 +0200 Subject: Re: [Qemu-devel] OS/2 PPC booting making some progress From: "J. Mayer" In-Reply-To: <42908E05.1080305@co.inet.fi> References: <428EF097.8070704@co.inet.fi> <1116676651.15980.61.camel@rapid> <42908E05.1080305@co.inet.fi> Content-Type: text/plain Date: Mon, 23 May 2005 12:54:04 +0200 Message-Id: <1116845644.15980.103.camel@rapid> Mime-Version: 1.0 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 On Sun, 2005-05-22 at 16:49 +0300, Tero Kaarlela wrote: > J. Mayer wrote: > > >> 2. on debug 2. What is this unaffected IO port 838 it tries to read & > >>write ? > >> > >> > > > >This port is not documented in the PREP specification. You should check > >in the Linux kernel to see if this port seems important. Or you may take > >a look to Motorola PowerStack documentation: those boards are well > >documented and OS/2 is supposed to know how to boot on it. > > > > > > Hmmm I found following info from OS/2 stanza files(files describing > hardware to bootloader: > > rdf.stz > > planar_ide_0: > dev_class = IDE > adap_name = "IDE Disk Controller" > setting = "io:ide_int_reg:838" <= Hum, something else I forgot in my previous message: I took a look into residual data of a real PREP machine (ie IBM 7420) and ioport 838 is used for Power Management as you can see. Then, I don't know what is really in use in PREP machine that OS/2 can boot on. ResidualLength = 27148 Version = 0 Revision = 1 EC = 0 VPD PrintableModel = IBM FirmwareSupplier = IBMFirmware FirmwareSupports = 0x00000fc5 : Conventional : Diagnostics : Hex41 : FAT : ISO9660 : SCSI_InitiatorID_Override : Tape_Boot : FW_Boot_Path NvramSize = 8192 NumSIMMSlots = 6 EndianSwitchMethod = UsePort92 SpreadIOMethod = Unknown SmpIar = 0 RAMErrLogOffset = 0 ProcessorHz = 232649620 ProcessorBusHz = 66471369 TimeBaseDivisor = 4000 WordWidth = 32 PageSize = 4096 CoherenceBlockSize = 32 GranuleSize = 32 L1 Cache variables CacheSize = 64 CacheAttrib = Split cache CacheAssoc = 0 CacheLineSize = 0 [...] 13: DEVICE_ID Flags = 0x00002800 : Static : Integrated BaseType = SystemPeripheral (8) SubType = PowerManagement (6) Interface = GeneralPowerManagement (0) BUS_ACCESS info0 = 0 info1 = 0 AllocatedOffset = 0x0000068e LargeVendorItem: 0e 02 00 0e 00 IOPort: 0x82a-0x82b IOPort: 0x838 IOPort: 0x860 IOPort: 0x862 SmallVendorItem: IBM 01 24 4d 01 83 LargeVendorItem: 08 51 1a 00 00 PossibleOffset = 0x000006c5 CompatibleOffset = 0x000006c6 -- J. Mayer Never organized