qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tero Kaarlela <turo.kaarlela@co.inet.fi>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] OS/2 PPC booting making some progress
Date: Sun, 22 May 2005 16:49:57 +0300	[thread overview]
Message-ID: <42908E05.1080305@co.inet.fi> (raw)
In-Reply-To: 1116676651.15980.61.camel@rapid

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

  reply	other threads:[~2005-05-22 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-21  8:25 [Qemu-devel] OS/2 PPC booting making some progress Tero Kaarlela
2005-05-21 10:02 ` [Qemu-devel] OS/2 PPC booting making some progress(sorry this has correct entry point :) Tero Kaarlela
2005-05-21 11:57 ` [Qemu-devel] OS/2 PPC booting making some progress J. Mayer
2005-05-22 13:49   ` Tero Kaarlela [this message]
2005-05-23 10:47     ` J. Mayer
2005-05-23 10:54     ` J. Mayer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42908E05.1080305@co.inet.fi \
    --to=turo.kaarlela@co.inet.fi \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).