From: "Erik J. Green" <erik@greendragon.org>
To: "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>
Subject: Re: Unknown ARCS message/hang
Date: Fri, 4 Apr 2003 14:57:30 +0000 [thread overview]
Message-ID: <1049468250.3e8d9d5aecb0a@my.visi.com> (raw)
In-Reply-To: <Pine.GSO.3.96.1030404161724.7307D-100000@delta.ds2.pg.gda.pl>
Quoting "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>:
> On Fri, 4 Apr 2003, Guido Guenther wrote:
>
> > > > Obtaining /vmlinux.64 from server
> > > > 1813568+1150976+172144 entry: 0xa8000000211c4000
> > > >
> > > > *** PROM write error on cacheline 0x1fcd3b00 at PC=0x211c4018
> RA=0xffffffff9fc5ace4
> > [..snip..]
> > >
> > > 0x211c4018 is a mapped address, which you can't use that early in a
> boot.
> > Isn't 0xa8000000211c4000 in xkphys and therefore unmapped? The PROM only
> > seems to look at the lower 32bits of PC though.
>
> 0xa8000000211c4000 is indeed in XKPHYS but the code jumps to 0x211c4018.
Ah, okay. I didn't understand the jr instruction there. That's generated as
part of a macro:
.macro ARC64_TWIDDLE_PC
#if defined(CONFIG_ARC64) || defined(CONFIG_MAPPED_KERNEL)
/* We get launched at a XKPHYS address but the kernel is linked to
run at a KSEG0 address, so jump there. */
PTR_LA t0, \@f
jr t0
\@:
I was under the assumption that Octane is ARC64, I may be wrong.
Clearly then, the kernel is linked at the wrong address to have this work. The
question I have is, why is kseg0 used in this case? Is it due to the 32 to 64
bit conversion that happens later on in the build? It looks like the IP27 load
address was originally 0xa80000000001c000, but was amended to 0x8001c000 for
the current CVS(2.4) kernel. Again, due to the conversion?
Erik
--
Erik J. Green
erik@greendragon.org
next prev parent reply other threads:[~2003-04-04 14:57 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-04 3:44 Unknown ARCS message/hang Erik J. Green
2003-04-04 12:58 ` Maciej W. Rozycki
2003-04-04 13:19 ` Guido Guenther
2003-04-04 14:19 ` Maciej W. Rozycki
2003-04-04 14:35 ` Guido Guenther
2003-04-04 14:40 ` Guido Guenther
2003-04-04 14:57 ` Erik J. Green [this message]
2003-04-04 15:27 ` Maciej W. Rozycki
2003-04-07 15:01 ` 64 to 32 bit jr Erik J. Green
2003-04-07 16:30 ` Maciej W. Rozycki
2003-04-07 17:18 ` Erik J. Green
2003-04-07 18:10 ` Maciej W. Rozycki
2003-04-09 1:33 ` Ralf Baechle
2003-04-04 14:43 ` Unknown ARCS message/hang Erik J. Green
2003-04-04 20:04 ` Thiemo Seufer
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=1049468250.3e8d9d5aecb0a@my.visi.com \
--to=erik@greendragon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox