linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: Paul Mackerras <paulus@samba.org>,
	linux-ppc-embedded <linuxppc-embedded@ozlabs.org>
Subject: Re: Required functions for relocating not part of relocate section
Date: Fri, 16 Dec 2005 16:04:50 -0700	[thread overview]
Message-ID: <20051216230450.GR3757@smtp.west.cox.net> (raw)
In-Reply-To: <20051104180605.GA3271@logos.cnet>

On Fri, Nov 04, 2005 at 04:06:05PM -0200, Marcelo Tosatti wrote:
> Hi Paul,
> 
> Recent 2.6-git (from Wednesday) tree fails to boot on 8xx due to:
>                                                                                                                                               
> BDI>i             
>     Target state      : debug mode
>     Debug entry cause : trace
>     Current PC        : 0x005ba8e8
> BDI>md 0x005ba8e8 
> 005ba8e8 : 00000000 00000000 00000000 00000000  ................
> 005ba8f8 : 00000000 00000000 00000000 00000000  ................
> 005ba908 : 00000000 00000000 00000000 00000000  ................
> 005ba918 : 00000000 00000000 00000000 00000000  ................
> 005ba928 : 00000000 00000000 00000000 00000000  ................
> ...
> BDI>go 
> - TARGET: stopped
> BDI>i 
>     Target state      : debug mode
>     Debug entry cause : software emulation exception
>     Current PC        : 0x005ba8e8
> 
> Problem is that flush_instruction_cache (and flush_data_cache)
> from boot/common/util.S are not being copied to the relocate section,
> even though the file contains the proper entry:

So while I don't know why, someone else noted this problem to me
recently, as hit on I believe the Walnut (405GP Eval), saying that
flush_instruction_cache worked prior to relocation, but failed
afterwards.  And if the function was put into the .data section, all was
well (_GLOBAL changed meaning 'recently' which changed this behavior).
No solution, but hopefully more hints..

-- 
Tom Rini
http://gate.crashing.org/~trini/

      parent reply	other threads:[~2005-12-16 23:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 18:06 Required functions for relocating not part of relocate section Marcelo Tosatti
2005-11-07 16:22 ` Tom Rini
2005-11-07 11:48   ` Marcelo Tosatti
2005-12-16 23:04 ` Tom Rini [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=20051216230450.GR3757@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=paulus@samba.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).