All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@imc-berlin.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Generating b-records for DragonBall i.MX
Date: Wed, 23 Jun 2004 17:27:30 +0200	[thread overview]
Message-ID: <40D9A162.2010907@imc-berlin.de> (raw)

Hi there,

I just hacked a simple script that converts u-boot.bin into a text file 
containg processor init code, SynchFlash programming code and U-Boot data in 
form of so called b-records.

This can be used to programm U-Boot into (Synch)Flash using the Bootstrap 
Mode of the MC9328MX1/L

0AFE1F3410202E2E2E000000002073756363656564/
0AFE1F44102E0A0000206661696C656420210A0000/
0AFE100000
...
MX1ADS Sync-flash Programming Utility v0.5 2002/08/21

Source address (stored in 0x0AFE0000): 0x0A000000
Target address (stored in 0x0AFE0004): 0x0C000000
Size           (stored in 0x0AFE0008): 0x0001A320

Press any key to start programming ...
Erasing ...
Blank checking ...
Programming ...
Verifying flash ... succeed.

Programming finished.

So no need for a BDI2000 anymore... ;-)

This is working on my MX1ADS eval board. Hope this could be useful for 
someone. (Maybe we even want to include this into the tools directory.)

Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: img2brec.bz2
Type: application/octet-stream
Size: 3730 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040623/93a8f0ae/attachment.obj 

             reply	other threads:[~2004-06-23 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-23 15:27 Steven Scholz [this message]
2004-08-25 13:51 ` [U-Boot-Users] Generating b-records for DragonBall i.MX George G. Davis
2004-10-10 21:39   ` 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=40D9A162.2010907@imc-berlin.de \
    --to=steven.scholz@imc-berlin.de \
    --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.