Created
September 14, 2017 06:14
-
-
Save morimolymoly/7b7f98254779ffa5f356b139f2fc29e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RT3052 # printenv | |
bootcmd=tftp | |
bootdelay=5 | |
baudrate=57600 | |
ethaddr="00:AA:BB:CC:DD:10" | |
preboot=echo;echo | |
ramargs=setenv bootargs root=/dev/ram rw | |
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off | |
addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1 | |
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr) | |
kernel_addr=BFC40000 | |
u-boot=u-boot.bin | |
load=tftp 8A100000 $(u-boot) | |
u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize) | |
loadfs=tftp 8A100000 root.cramfs | |
u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize) | |
test_tftp=tftp 8A100000 root.cramfs;run test_tftp | |
ethact=Eth0 (10/100-M) | |
filesize=2df000 | |
fileaddr=80800000 | |
autostart=no | |
serverip=3.3.3.123 | |
bootfile=uImage | |
stdin=serial | |
stdout=serial | |
stderr=serial | |
ipaddr=192.168.1.1 | |
Environment size: 844/65532 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment