All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Cooper <ecc@cmu.edu>
To: u-boot@lists.denx.de
Subject: [U-Boot] problem running u-boot from RAM
Date: Sat, 16 Apr 2011 21:44:36 -0400	[thread overview]
Message-ID: <20110417014436.GD847@localhost> (raw)

I'm encountering a strange problem trying to run recent versions of
u-boot from RAM on my DockStar.

I have version 2011.03 in NAND flash, and it boots OK and launches
Linux OK.  But if I use it to load u-boot.bin into RAM (at TEXT_BASE =
0x600000) and type "go 600000", it hangs soon after the relocation step.
I've checked using crc32 that the image is correct in RAM, and I've
used both tftpboot and fatload, with identical results.

But here's the strange part: if I use openocd to load the same image
to the same location using JTAG, and do "resume 0x600000", it works
correctly.

I'm not sure what the difference could be.  Does anyone have any
ideas?  It's a lot more convenient to use TFTP to test out new images
than JTAG, so I'd like to get this working.

-- 
Eric Cooper             e c c @ c m u . e d u

             reply	other threads:[~2011-04-17  1:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-17  1:44 Eric Cooper [this message]
2011-04-17  7:42 ` [U-Boot] problem running u-boot from RAM Wolfgang Denk
2011-04-17 14:34   ` Eric Cooper
2011-04-17 15:23     ` 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=20110417014436.GD847@localhost \
    --to=ecc@cmu.edu \
    --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.