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

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

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

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
participants (3)
-
George G. Davis
-
Steven Scholz
-
Wolfgang Denk