kenwi

printenv

Jul 25th, 2014
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. U-Boot 1.2.0 (Apr 16 2008 - 22:17:01)
  2. 1.0.0.4
  3.  
  4. DRAM: 32 MB
  5. Found SPANSION Flash
  6. Flash: 8 MB
  7. In: serial
  8. Out: serial
  9. Err: serial
  10. Press SPACE to abort autoboot in 3 second(s)
  11. => printenv
  12. bootargs=root=/dev/mtdblock5 mtdparts=physmap-flash.0:512k(U-Boot)ro,256K(env1),256K(env2),0x40000(script),0x140000(Kernel),0x140000(RootFileSystem),5M@1M
  13.  
  14. (UBFI1),5M(UBFI2) console=ttyS0,115200n8 ethaddr0=${ethaddr}
  15. bootcmd=while itest.b 1 == 1;do;if itest.b ${ACTIMAGE} == 1;then echo *** ACTIMAGE = 1, will try to boot UBFI1 stored @${UBFIADDR1};aimgname=UBFI1;
  16.  
  17. aubfiaddr=${UBFIADDR1};bimgname=UBFI2; bubfiaddr=${UBFIADDR2}; bimgnum=2;else if itest.b ${ACTIMAGE} == 2;then echo *** ACTIMAGE = 2, will try to boot UBFI2
  18.  
  19. stored @${UBFIADDR2};aimgname=UBFI2; aubfiaddr=${UBFIADDR2};bimgname=UBFI1; bubfiaddr=${UBFIADDR1}; bimgnum=1;else echo *** ACTIMAGE invalid; exit;fi;fi;if
  20.  
  21. autoscr $aubfiaddr;then echo *** $aimgname bootscript executed successfully.;echo Start booting...;bootm ${LOADADDR};fi;echo *** $aimgname is corrupted, try
  22.  
  23. $bimgname...;setenv ACTIMAGE $bimgnum;if autoscr $bubfiaddr;then echo *** $bimgname bootscript executed successfully.;echo Check image...;if imi
  24.  
  25. ${LOADADDR};then echo Save updated ACTIMAGE...;saveenv;echo Image OK, start booting...;bootm ${LOADADDR};fi;fi;echo Backup image also
  26.  
  27. corrupted...exit.;exit;done;
  28. bootdelay=3
  29. baudrate=115200
  30. UBFIADDR1=0x48040000
  31. LOADADDR=0
  32. UBFIADDR2=0x483F0000
  33. sdelay=3
  34. update1=tftpboot 0x80000100 ${UBFINAME1} && protect off ${UBFIADDR1} +${filesize} && erase ${UBFIADDR1} +${filesize} && sleep ${sdelay} && cp.b ${fileaddr}
  35.  
  36. ${UBFIADDR1} ${filesize} && protect on ${UBFIADDR1} +${filesize} && sleep ${sdelay} && setenv ACTIMAGE 1 && saveenv
  37. update2=tftpboot 0x80000100 ${UBFINAME2} && protect off ${UBFIADDR2} +${filesize} && erase ${UBFIADDR2} +${filesize} && sleep ${sdelay} && cp.b ${fileaddr}
  38.  
  39. ${UBFIADDR2} ${filesize} && protect on ${UBFIADDR2} +${filesize} && sleep ${sdelay} && setenv ACTIMAGE 2 && saveenv
  40. update_uboot=tftpboot 0x80000100 u-boot.bin && protect off 0x48000000 +${filesize} && erase 0x48000000 +${filesize} && sleep ${sdelay} && cp.b ${fileaddr}
  41.  
  42. 0x48000000 ${filesize} && protect on 0x48000000 +${filesize}
  43. update_uimage=tftpboot 0x80000100 uImage && protect off ${UBFIADDR1} +${filesize} && erase ${UBFIADDR1} +${filesize} && sleep ${sdelay} && cp.b ${fileaddr}
  44.  
  45. ${UBFIADDR1} ${filesize} && protect on ${UBFIADDR1} +${filesize}
  46. update_sqfs=tftpboot 0x80000100 sqfs.img && protect off ${UBFIADDR2} +${filesize} && erase ${UBFIADDR2} +${filesize} && sleep ${sdelay} && cp.b ${fileaddr}
  47.  
  48. ${UBFIADDR2} ${filesize} && protect on ${UBFIADDR2} +${filesize}
  49. erase_env=protect off 1:2-3 && erase 1:2-3 && protect on 1:2-3
  50. netretry=no
  51. ubootpartsize=0x20000
  52. envpartsize=0x10000
  53. ethaddr=00.20.4e.00.00.07
  54. consolesecurity=readWrite
  55. usbhostaddr=00.1d.8b.cf.3b.c2
  56. UBFNAME1=puma5_ubfi.bin saveenv
  57. UBFINAME1=puma5_ubfi.bin saveenv
  58. ACTIMAGE=2
  59. UBFINAME1=puma5_ubfi.bin
  60. UBFINAME1=puma5_ubfi.bin
  61. UBFINAME2=puma5_ubfi.bin
  62. filesize=380000
  63. fileaddr=80000100
  64. gatewayip=192.168.100.2
  65. netmask=255.255.255.0
  66. ipaddr=192.168.100.1
  67. serverip=192.168.100.2
  68. ACTIMAGE=2
  69. stdin=serial
  70. stdout=serial
  71. stderr=serial
  72. ver=U-Boot 1.2.0 (Apr 16 2008 - 22:17:01)
  73. 1.0.0.4
  74.  
  75. Environment size: 3037/65531 bytes
  76. =>
Advertisement
Add Comment
Please, Sign In to add comment