public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Generating b-records for DragonBall i.MX
@ 2004-06-23 15:27 Steven Scholz
  2004-08-25 13:51 ` George G. Davis
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Scholz @ 2004-06-23 15:27 UTC (permalink / raw)
  To: u-boot

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 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Generating b-records for DragonBall i.MX
  2004-06-23 15:27 [U-Boot-Users] Generating b-records for DragonBall i.MX Steven Scholz
@ 2004-08-25 13:51 ` George G. Davis
  2004-10-10 21:39   ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: George G. Davis @ 2004-08-25 13:51 UTC (permalink / raw)
  To: u-boot

On Wed, Jun 23, 2004 at 05:27:30PM +0200, Steven Scholz wrote:
> Hi there,
> 

Sorry, I meant to look at this long ago...

> 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

Nice!

<snip>

> 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.)

I agree, it would be nice to include this in u-boot CVS.

--
Regards,
George
> 
> Steven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot-Users] Generating b-records for DragonBall i.MX
  2004-08-25 13:51 ` George G. Davis
@ 2004-10-10 21:39   ` Wolfgang Denk
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-10-10 21:39 UTC (permalink / raw)
  To: u-boot

In message <20040825135108.GD27443@mvista.com> you wrote:
> 
> > 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
> 
> Nice!
> 
> <snip>
> 
> > 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.)
> 
> I agree, it would be nice to include this in u-boot CVS.

Added as "tools/img2brec.sh"

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Operating-system software is the program that  orchestrates  all  the
basic functions of a computer.
- The Wall Street Journal, Tuesday, September 15, 1987, page 40

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-10 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-23 15:27 [U-Boot-Users] Generating b-records for DragonBall i.MX Steven Scholz
2004-08-25 13:51 ` George G. Davis
2004-10-10 21:39   ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox