
Boot Monitor
LITE5200B User’s Manual, Rev. 0
5-4
Freescale Semiconductor
flash_self=run ramargs addip;bootm $(kernel_addr) $(ramdisk_addr)
net_nfs=tftp 200000 $(bootfile);run nfsargs addip;bootm
rootpath=/opt/eldk/ppc_82xx
bootfile=/tftpboot/MPC5200/uImage
ethaddr=00:11:22:33:44:55
autoload=n
stdin=serial
stdout=serial
stderr=serial
Environment size: 703/65532 bytes
5.4.2
setenv
The setenv command may be used to set an environmental variable in ram. Please note that if power is lost
currently configured variables in ram will not be saved unless the environment has been stored to
non-volatile memory.
usage:
=> setenv autoload n
5.4.3
saveenv
This command will save the current environment to flash for later usage. After the first saveenv, the “Bad
CRC” message at boot time will no longer appear.
usage:
=> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...Erasing Sector: 244 - 0xfff40000
done
Erased 1 sectors