From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: FISCHER Thierry <thierry@sdl.hitachi.co.jp>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Linux boot problem, pc does not point to virtual memory
Date: Thu, 12 Mar 2009 18:31:29 +1100 [thread overview]
Message-ID: <1236843089.7086.82.camel@pasglop> (raw)
In-Reply-To: <49B8A9A1.4090908@sdl.hitachi.co.jp>
On Thu, 2009-03-12 at 15:20 +0900, FISCHER Thierry wrote:
> Hi,
>
> I am having some problem booting linux on Powerpc 405 (xilinx virtex4).
>
> I have the following output on the terminal:
> ******************************************************
> zImage starting: loaded at 0x00400000 (sp: 0x0070feb0)
> Allocating 0x38a79c bytes for kernel ...
> gunzipping (0x00000000 <- 0x0040d000:0x0059ee42)...done 0x367f58 bytes
> Attached initrd image at 0x0059f000-0x0070ef20
> initrd head: 0x1f8b0808
>
> Linux/PowerPC load: console=ttyUL0 root=/dev/ram
> Finalizing device tree... flat tree at 0x71c300
> *******************************************************
>
> The strange thing is that when I check the value of pc register, it does
> not return values of the virtual memory but values like:
> pc :0x0000ebd4
> pc :0x00002148
> pc :0x00002194
> pc :0x00002150 ...
> Instead of values like 0xcXXXXXXX
If it's a 405 it has a real mode (for example when it takes an
exception) so it may just be running in real mode when you sample it.
Cheers
Ben.
> It looks like there is a problem with the MMU or something like that ?
> I have seen similar problems on the xilinx forum but it did not helped
> me so much:
> http://forums.xilinx.com/xlnx/board/message?board.id=ELINUX&message.id=595&query.id=371581#M595
>
> http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=6235&query.id=367949#M6235
>
>
> If anyone has experienced similar problem please let me know.
> Any suggestion is welcomed.
>
> Thanks,
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
prev parent reply other threads:[~2009-03-12 7:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-12 6:20 Linux boot problem, pc does not point to virtual memory FISCHER Thierry
2009-03-12 7:31 ` Benjamin Herrenschmidt [this message]
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=1236843089.7086.82.camel@pasglop \
--to=benh@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=thierry@sdl.hitachi.co.jp \
/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).