linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Richard Danter <richard.danter@windriver.com>
To: Wolfgang Denk <wd@denx.de>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: 750/107 CHRP question
Date: Fri, 01 Aug 2003 09:16:21 +0100	[thread overview]
Message-ID: <3F2A21D5.2040204@windriver.com> (raw)
In-Reply-To: 20030731233230.59FBCC602D@atlas.denx.de


Hi Wolfgang,

I am CC'ing the list as there may be some useful info in here...

Wolfgang Denk wrote:
> In message <3F298CED.8010701@windriver.com> you wrote:
>>Yes, I work for WRS, but this is a little personal project just for the
>>hell of it. I just happen to be using a WRS board and vICE to do the
>>debugging.
>
> Did you try what happens when you disconnect the visionIce?
> Are you 100% sure it understands virtual addresses correctly?

Yes, in fact besides my personal interest in Linux, my job is supporting
visionXXX customers (I worked for EST before it was bought by WR).

There is a command in the vICE-II called "CF MMU LINUX" which turns on
MMU handling (doesn't have to be Linux running) and then you use the
MMUA command to set up the mapping (eg MMUA C0000000 0 F0000000) and hey
presto!

I have been stepping through the kernel source code quite happily. I
tracked the problem down the the point where the 1st write occurs to the
serial port. If I let it run on from there I end up in an inf. loop
which just jumps to itself. When I reach that point I can stop the
target and use the memory window to dump the "log_buf" which is where
all the kprintf messages are going and I can get the back trace from
that and it points to the same offending instruction in serial setup.

I also tried not having a serial port compiled in and everything works
perfectly.

It is fixed now tho as I decided to add a ioremap() call. The other
suggestions I got ware probably more flexible but this was so simple -
just editing 1 line.


Rich


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-08-01  8:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-31 16:54 750/107 CHRP question Richard Danter
2003-07-31 21:07 ` Matt Porter
2003-07-31 21:41   ` Richard Danter
2003-07-31 22:48     ` Matt Porter
2003-07-31 23:32     ` Wolfgang Denk
2003-08-01  8:16       ` Richard Danter [this message]
2003-08-01  4:34 ` Sangmoon Kim
     [not found] <20030801082845.A38F6C602D@atlas.denx.de>
2003-08-01  9:02 ` Richard Danter
2003-08-01 12:17   ` Wolfgang Denk
2003-08-01 12:24     ` Richard Danter

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=3F2A21D5.2040204@windriver.com \
    --to=richard.danter@windriver.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=wd@denx.de \
    /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).