
Environmental Variables
LITE5200B User’s Manual, Rev. 0
Freescale Semiconductor
5-3
=> md.b 0xF0000000
f0000000:00 00 f0 00 00 00 ff 00 00 00 ff ff 00 00 fe 00 ................
f0000010:00 00 fe ff 00 00 ff ff 00 00 ff ff 00 00 ff ff ................
5.3.2
MW
The mw command may be used to write a memory in byte, half word, and word increments. Syntax for
this command is:
mw [.b, .w, .l] <address> <data>
example:
=> mw 0x0 0xABCDEF12
This will write the value 0xABCDEF12 to address 0x0.
5.4
Environmental Variables
Environmental variable may be used to store u-boot configuration and commands for later usage after
power removed or reset occurs.
5.4.1
printenv
The printenv command may be used to print the currently configured environment variables. Unless
specifically saved into flash these variables will reside in ram until reset occurs or power is lost.
5.4.1.1
Default environment
=> printenv
bootcmd=run flash_self
bootdelay=5
baudrate=115200
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1
flash_nfs=run nfsargs addip;bootm $(kernel_addr)
Содержание Lite5200B
Страница 1: ...Lite5200B User s Manual Devices Supported MPC5200B LITE5200BUM Rev 0 10 2005...
Страница 12: ...Getting Started LITE5200B User s Manual Rev 0 3 2 Freescale Semiconductor Figure 3 1 Quick Start Connectors...
Страница 14: ...Getting Started LITE5200B User s Manual Rev 0 3 4 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 48: ...Boot Monitor LITE5200B User s Manual Rev 0 5 14 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 50: ...Flash Recovery LITE5200B User s Manual Rev 0 6 2 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 79: ...IMM LITE5200B User s Manual Rev 0 Freescale Semiconductor 7 29 7 28 IMM imm i2c memory modify auto incrementing...
Страница 80: ...U Boot Commands LITE5200B User s Manual Rev 0 7 30 Freescale Semiconductor 7 29 IMW imw Memory write fill...
Страница 109: ...USB LITE5200B User s Manual Rev 0 Freescale Semiconductor 7 59 7 53 USB usb USB sub system...
Страница 110: ...U Boot Commands LITE5200B User s Manual Rev 0 7 60 Freescale Semiconductor 7 54 USBBoot usbboot Boot from USB device...
Страница 112: ...U Boot Commands LITE5200B User s Manual Rev 0 7 62 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...
Страница 118: ...PCI Compatibility LITE5200B User s Manual Rev 0 B 2 Freescale Semiconductor THIS PAGE INTENTIONALLY LEFT BLANK...