All of lore.kernel.org
 help / color / mirror / Atom feed
From: mss59 at att.net <mss59@att.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] MPC8270 Custom Board: Stack Pointer Corruption
Date: Mon, 20 Oct 2003 14:43:51 +0000	[thread overview]
Message-ID: <102020031443.17137.46b4@att.net> (raw)

I am working on an MPC8270 based custom board. u-boot is ported from EP8260
board version. RAM is 128M, flash is 16M.
After u-boot relocates code in the ram, sometimes, stack pointer gets
corrupted. And sometimes, I get bus fault which overwirtes all u-boot area in
the RAM with some pattern like this

bus fault
07f6bcd0 : 02001111 07f6be18 07f6bc68 11111111  ...........h....
07f6bce0 : 42757320 4661756c 74204020 30782020  Bus Fault @ 0x
07f6bcf0 : 20202020 20202020 20202020 20202020
07f6bd00 : 20202020 20202020 20202020 20202020
07f6bd10 : 20202020 20202020 20202020 20202020
07f6bd20 : 20202020 20202020 20202020 20202020
07f6bd30 : 20202020 20202020 20202020 20202020
07f6bd40 : 20202020 20202020 20202020 20202020
07f6bd50 : 20202020 20202020 20202020 20202020
07f6bd60 : 20202020 20202020 20202020 20202020
07f6bd70 : 20202020 20202020 20202020 20202020
07f6bd80 : 20202020 20202020 20202020 20202020
07f6bd90 : 20202020 20202020 20202020 20202020
07f6bda0 : 20202020 20202020 20202020 20202020
07f6bdb0 : 20202020 20202020 20202020 20202020
07f6bdc0 : 20202020 20202020 20202020 20202020  ---> This patters is written
till the end of ram.
BDImn8270>rd
GPR00: 00000000 07f6bbd0 ffdfffff 08000004
GPR04: 00000000 00000010 07f58a9d 00000007
GPR08: 00000001 00000000 00000000 00000007
GPR12: 00000020 00400000 07ffd000 080cc000
GPR16: fffdffff bffdffff ff7fffff fff7ef5f
GPR20: 48000002 07f6bad0 00000000 07fcf098
GPR24: 07f6bce0 00000001 07fecdbc 07f6bfb4
GPR28: 07f6bcee 07f6bf70 07ffdcb8 07ff2ed8
CR   : 48000002     MSR: 00000000


Any ideas.....

Thanks

Ravi.

             reply	other threads:[~2003-10-20 14:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-20 14:43 mss59 at att.net [this message]
2003-10-20 20:32 ` [U-Boot-Users] MPC8270 Custom Board: Stack Pointer Corruption Wolfgang Denk

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=102020031443.17137.46b4@att.net \
    --to=mss59@att.net \
    --cc=u-boot@lists.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.