public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [MPC8272ADS/BDI2000]Can not program my u-boot into Flash
Date: Mon, 19 Jan 2009 08:28:37 -0500	[thread overview]
Message-ID: <49748005.3080205@ge.com> (raw)
In-Reply-To: <8cad0aa0901190518n46baadbdr74dad30c3ca93190@mail.gmail.com>

Jean-Michel Hautbois wrote:
> Hi everybody !
> 
> I am currently trying to flash u-boot into my MPC8272ADS board, but it
> is not working.
> When I am launching the "PROG" command, it tells:
> "Programming u-boot.bin , please wait ....
> # Programming flash memory failed at 0x00000000"

[snip]

> Please find my config file attached.
> Thx & Best Regards
> JM

Hi JM,

Try disabling the workspace line:
;no;WORKSPACE   0x04700000	;workspace in target RAM for fast download

The workspace significantly speeds up programming by copying a helper 
routine into RAM and then running that instead of bit-banging the writes 
through the JTAG port.  The downside is that you have to have your RAM 
properly configured for it to work.  Odds are pretty good this is biting 
you.

If disabling the workspace works, you are on your way.  If and when you 
need (want) more programming speed, you will have to figure out what is 
misconfigured.

Personally, I only load the first u-boot (and an occasional oops-brick 
fix) via JTAG.  I program all successive u-boots via u-boot itself, so I 
generally don't bother with the workspace.

HTH,
gvb

  reply	other threads:[~2009-01-19 13:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-19 13:18 [U-Boot] [MPC8272ADS/BDI2000]Can not program my u-boot into Flash Jean-Michel Hautbois
2009-01-19 13:28 ` Jerry Van Baren [this message]
2009-01-19 14:58   ` Jean-Michel Hautbois
2009-01-19 14:59     ` Jean-Michel Hautbois
2009-01-19 18:02       ` Jean-Michel Hautbois
2009-01-19 19:06         ` Jerry Van Baren
2009-01-19 19:29           ` Jean-Michel Hautbois
2009-01-19 19:55             ` Jerry Van Baren
2009-01-19 20:17               ` Jean-Michel Hautbois
2009-01-19 20:26                 ` Jerry Van Baren
2009-01-19 20:33                   ` Jean-Michel Hautbois
2009-01-19 20:37                     ` Jerry Van Baren
2009-01-19 20:39                   ` Wolfgang Denk
2009-01-20  8:38                     ` Jean-Michel Hautbois

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=49748005.3080205@ge.com \
    --to=gerald.vanbaren@ge.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