[U-Boot-Users] Generating b-records for DragonBall i.MX

Steven Scholz steven.scholz at imc-berlin.de
Wed Jun 23 17:27:30 CEST 2004


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 


More information about the U-Boot mailing list