public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: robert lazarski <robertlazarski@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems writing to memory with mw
Date: Tue, 20 Nov 2007 11:58:10 -0500	[thread overview]
Message-ID: <f87675ee0711200858s8dd09d5qa28fa8531efeb828@mail.gmail.com> (raw)
In-Reply-To: <4742F53A.2030107@ge.com>

On Nov 20, 2007 9:54 AM, Jerry Van Baren <gerald.vanbaren@ge.com> wrote:
>
> robert lazarski wrote:
> > Hi all,
> >
> > I'm trying to track down problems loading a linux kernel on my custom
> > 8548 board off of 1.3RC3 - it loads sometimes via a ramdisk and gives
> > me a bash shell - but most times it crashes in unusual, different
> > places.
> >
> > I ram mtest in the monitor and it crashes at 00000a90 . When using mw I get:
> >
> > => mw 00000a90 cafecafe
> > NIP: CAFECAFC XER: 00000000 LR: 1FFC109C REGS: 1ff9dc40 TRAP: 0700 DAR: 00000000
<snip>
> >
> > I can write to  00000a90 via the bdi . u-boot otherwise runs
> > perfectly. Any ideas?
> > Robert
>
> 98% probability you have a SDRAM configuration problem.  2% probability
> you have a hardware problem.  I'm rooting for SDRAM config problem, you
> probably should too. ;-)
>    <http://www.denx.de/wiki/view/DULG/UBootCrashAfterRelocation>
>
> Writing to location 0x0A90 doesn't sound like a good idea to me.  I'm
> not familiar with the 8548, but this is in the middle of the exception
> vectors.  You are probably overwriting exception handling code (check
> your 85xx UM), so that would be an invalid test (red herring).
>
> gvb
>

Ahh, seems my test is invalid - thanks for pointing that out. I
defined and ran my boards testram() succesfully when I brought the
board up - that seems to write to 0x0A90 et all when its safe to do
so. I'll try again but its a long test.

I see no problems with u-boot - relocation seems to work. The link
suggested following my memory specs "to the letter" . So far I'm just
calling spd_sdram() like most 85xx boards do - should I look there?
Since my kernel boots sometimes into bash, but usually doesn't, I'm
trying to confirm my memory is functioning. When the kernel fails to
boot the eldk 85xx uRamdisk, its crashes at several different places
before it loads the RFS. A few times everything just worked fine,
which makes me think its a hardware issue. Any suggestions to tracking
that type of problem down?

Thanks, Robert

  reply	other threads:[~2007-11-20 16:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-20 14:42 [U-Boot-Users] Problems writing to memory with mw robert lazarski
2007-11-20 14:54 ` Jerry Van Baren
2007-11-20 16:58   ` robert lazarski [this message]
2007-11-20 17:47     ` Jerry Van Baren
2007-11-20 20:50       ` robert lazarski
2007-11-21 17:22       ` robert lazarski
2007-11-21 18:14         ` Jerry Van Baren
2007-11-21 19:16           ` David Hawkins
2007-11-21 20:40           ` Wolfgang Denk
2007-11-21 20:37         ` Wolfgang Denk
2007-11-20 20:57     ` Clemens Koller

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=f87675ee0711200858s8dd09d5qa28fa8531efeb828@mail.gmail.com \
    --to=robertlazarski@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox