From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DZrE2-0000Db-Qn for qemu-devel@nongnu.org; Sun, 22 May 2005 10:14:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DZrDs-00007l-DK for qemu-devel@nongnu.org; Sun, 22 May 2005 10:14:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DZrDq-0008Hl-36 for qemu-devel@nongnu.org; Sun, 22 May 2005 10:14:30 -0400 Received: from [194.251.242.242] (helo=fep17.inet.fi) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DZqz5-0004gI-7d for qemu-devel@nongnu.org; Sun, 22 May 2005 09:59:15 -0400 Received: from co.inet.fi ([80.220.124.133]) by fep17.inet.fi with ESMTP id <20050522135000.EWHV15942.fep17.inet.fi@co.inet.fi> for ; Sun, 22 May 2005 16:50:00 +0300 Message-ID: <42908E05.1080305@co.inet.fi> Date: Sun, 22 May 2005 16:49:57 +0300 From: Tero Kaarlela MIME-Version: 1.0 Subject: Re: [Qemu-devel] OS/2 PPC booting making some progress References: <428EF097.8070704@co.inet.fi> <1116676651.15980.61.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: >> 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" <= setting = "io:ide_ctrl:3f6-3f7" setting = "io:ide_cmd:1f0-1f7" setting = "irq:ide_irq:d" setting = "arb:ide_arb:6" setting = "intrtn:ide_rtn:0" So port 0838 is ide_int_reg and from ppc_info.stz: #Delmar/SouthWind 6050: name = "IBM Delmar / South Wind PowerPC Platform" pci_config_space = 0x80800000 bus = isa:4 bus = pci:4 built_in = planar_kbd built_in = planar_mouse built_in = planar_floppy built_in = ppc_planar_parallel built_in = COM1 built_in = COM2 built_in = CMOS_type1 built_in = planar_ide_0 built_in = planar_ide_1 So my guess is that OS/2 ppc reads machine configuration from these files instead of residual data. > > >> 3. Might that unsupported ioport prevent booting? >> >> > >Can be possible... >Have to check the code that uses that I/O port... > >[...] > > > Hmmm... i succeeded to make it go further with following options: boot-device ide_cdrom2 boot-fs cdrom then it works and loads boot.cfg from cd-image shows all lines from boot.cfg (and I have option to uncomment/change all these) loads kernel & device drivers into memory(as defined in boot.cfg) but after boot.cfg has been completely read and real boot should start it gives me invalid/unsupported opcodes again. Tero