Talk:U-Boot

From GumstixDocsWiki

Jump to: navigation, search

In my own updating of uboot I was somewhat worried that my newly minted uboot 1.2.0 might not work. I did the crc verification, but I had no idea if it was right - i'd just compiled from a new svn checkout. Fortunately it was and my gumstix still works. However I as I learned more about uboot I don't think this needed to be a scary procedure and I'm surprised its not list here. I believe it is possible to load the new uboot into ram via

loadb a2000000
crc32 a2000000 ${filesize}
> crc32 <uboot file> on host
> kermit transfer from host
go a2000000

The addition of the go a2000000 should boot the new version of uboot without every touching the known good copy of uboot in flash. This at least means that you have a mostly working uboot. I believe one should then probably reset as you are running out of the lower memory... though in theory you could loadb again into a higher address and then copy that to flash... I would add some of this to the page, but I wanted to confirm with those in the know first.

Personal tools