linux-mips
[Top] [All Lists]

Re: RM200 big endian prom ?

To: Florian Lohoff <flo@rfc822.org>
Subject: Re: RM200 big endian prom ?
From: Ralf Baechle <ralf@oss.sgi.com>
Date: Mon, 6 May 2002 16:11:10 +0800
Cc: linux-mips@oss.sgi.com
In-reply-to: <20020506102732.GC27584@paradigm.rfc822.org>; from flo@rfc822.org on Mon, May 06, 2002 at 12:27:32PM +0200
References: <20020506102732.GC27584@paradigm.rfc822.org>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Mon, May 06, 2002 at 12:27:32PM +0200, Florian Lohoff wrote:

> i yesterday had a try booting my RM200 (Big Endian Sinix firmware)
> with a big endian compiled kernel - It immediatly crashes in ArcWrite
> as the Bios is not an Arc (Probably a bit similar).
> 
> Does anyone have interesting informations about that prom ?
> 
> BTW: There are really some funny lines in arc/init.c :)
> 
> arch/mips/arc/init.c
>      36         if (pb->magic != 0x53435241) {
>      37                 prom_printf("Aieee, bad prom vector magic %08lx\n", 
> pb->magic);
>      38                 while(1)
>      39                         ;
>      40         }
>      41 
> 
> Calling ArcWrite in case of no Arc ;) At least one knows what happens
> if the Firmware is giving out EPC Faulting address (Which in this case
> is 0x6c)

So far the assumption is that SNI's firmware is lookling like ARCS which is
basically a big endian abortion of ARC.  Alternativly it might as well
look similar to the firmware of the old MIPS workstations such as the
RC3230 or similar.

I wonder if the the magic just needs to be endianess swapped?

  Ralf

<Prev in Thread] Current Thread [Next in Thread>