All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: linux-mips@linux-mips.org
Subject: Re: prom start
Date: Sat, 09 Feb 2013 22:54:48 -0500	[thread overview]
Message-ID: <51171A08.20302@gentoo.org> (raw)
In-Reply-To: <20130206160508.GR2118@belle.intranet.vanheusden.com>

[-- Attachment #1: Type: text/plain, Size: 1830 bytes --]

On 02/06/2013 11:05 AM, folkert wrote:
> Hi,
> 
> Is this mailing list also meant for generic mips questions? (if not: any
> suggestions for one that is?)
> 
> If so: I'mm experimenting a bit with mips, specifically on SGI hardware
> (Indigo). Now it seems all mips systems have the prom at 0xbfc00000. But
> how does it start? The first 0x3c0 bytes seem to be nonsense. Somewhere
> on the web I found that 0xbfc00884 is the starting point but after
> single stepping 5 instructions, the program counter jumps to 0x00000000
> so I don't think that's the right one either. Also, reading the first 4
> bytes from bfc00000 and using that as a pointer seems to be invalid too:
> 0bf000f0.
> Anyone with insights regarding the booting of the prom on sgi systems?
> 
> 
> Regards,
> 
> Folkert van Heusden

The first Indigo?  IP12?  Or the Indigo2 series (IP22, IP26, or IP28)?

ARCS (the SGI prom) is a bit of black magic and voodoo.  It also terrifies
the priests of Ancient Mu.

You might want to hunt down copies of the PROM images for other SGI systems,
such as IP22, IP32 (O2), IP30 (Octane) (the latter two are on certain IRIX
media) and analyze those in a disassembler and see if you can discern
something from there.

You might also try gxemul and see if it can boot one of those proms (it's a
machine emulator like Qemu, but has some code tailored to SGI hardware in
it).  Might give you some additional insight.

Would be curious about your results if you can learn anything else from it
via your own work.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@gentoo.org
4096R/D25D95E3 2011-03-28

"The past tempts us, the present confuses us, the future frightens us.  And
our lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 834 bytes --]

  reply	other threads:[~2013-02-13 14:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 16:05 prom start folkert
2013-02-10  3:54 ` Joshua Kinard [this message]
2013-02-10 12:56 ` Ralf Baechle
2013-02-10 16:43   ` folkert

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=51171A08.20302@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.