All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: uboot-1.1.1 on at91rm9200dk problem
       [not found] <017e01c473f4$580789c0$6400a8c0@BDENSONLAPTOP>
@ 2004-07-29  4:56 ` Aras Vaichas
  0 siblings, 0 replies; only message in thread
From: Aras Vaichas @ 2004-07-29  4:56 UTC (permalink / raw)
  To: Brock Denson, MTD-LIST

I use these scripts to reflash my uboot on my AT91RM9200DK:

Uboot> printenv
...
prooff=protect off 10000000 10007fff; protect off 10010000 1002ffff
proon=protect on 10000000 10007fff; protect on 10010000 1002ffff
ubootgz2flash=loadb 20000000; cp.b 20000000 10010000 ffff
bootbin2flash=loadb 20000000; cp.b 20000000 10000000 5fff
eraseuboot=erase 10000000 10007fff; erase 10010000 1002ffff
upgradeuboot=run prooff; run eraseuboot; run bootbin2flash; run ubootgz2flash; 
run proon


* prooff - PROtect OFF - unprotects the section of flash that holds uboot.

* eraseuboot - erases ONLY the uboot sections of the flash. it leaves the 
environment stuff alone. this saves much typing!

* ubootgz2flash - loads the uboot.gz file over the serial port and copies it to 
flash

* bootbin2flash - loads the boot.bin file over the serial port and copies it to 
flash

* proon - PROtect ON - protects the section of flash that holds uboot

* upgradeuboot - runs all the scripts in the correct order!

to reflash:

Uboot> run upgradeuboot
  ... send boot.bin by KERMIT
  ... send u-boot.gz by KERMIT
Uboot> saveenv   (just in case!)
  ... press reset and hope it works.

If it doesn't work, then you have to get those files in there another way. On 
the AT91RM9200DK, I used the CPU's built in bootloader to load an image of 
u-boot into RAM and execute it.

Aras

Brock Denson wrote:
>>I've had to reflash my old version of u-boot (0.3.2) on a few 
>>occasions,
> 
> 
> Can you explain the steps you used to reflash uboot?
> 
> Thanks,
> Brock Denson
> 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-29  4:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <017e01c473f4$580789c0$6400a8c0@BDENSONLAPTOP>
2004-07-29  4:56 ` uboot-1.1.1 on at91rm9200dk problem Aras Vaichas

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.