7.3
Upgrading U-Boot
41
Use the
PHYS SDRAM 1 SIZE
variable in
include/configs/neon.h
to
specify the actual size for your hardware.
The Windows CE image supports either, but defaults to 32MB. Set the
RAM SIZE 64 MB
environment variable in your project to indicate that 64MB
should be present.
The RAM size set in the boot loader is passed to the Linux kernel.
7.3
Upgrading U-Boot
As you might expect,
Das U-Boot
is stored at offset zero in flash EEPROM
(i.e.
at address zero).
If you have a new
Das U-Boot
image (typically
u-boot.bin
) on an SD/MMC card, you can upgrade it by first unprotecting
and erasing the first sector of flash, then copying the new image to address
zero as shown below.
$ mmcinit
...
registering device
$ fatload mmc 0 a0008000 u-boot-neon.bin
reading u-boot-neon.bin
134264 bytes read in 271921 ticks, (73 ms),
adler == 0xf0cde398 in 24546 ticks, (6 ms)
$ protect off all
Un-Protect Flash Bank # 1
$ erase 0 3ffff
Erased 1 sectors
$ cp.b a0008000 0 $filesize
Copy to Flash... done
$ cmp.b a0008000 0 $filesize
Total of 134264 bytes were the same
$ reset
After reset, you should see the new build date in the U-Boot banner.
December 28, 2005
Revision 2.8