Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- U-Boot 1.2.0 (Oct 12 2009 - 17:15:43)
- 6.1.1f
- DRAM: 32 MB
- Macronix MX25l6405D flash found
- Flash: 8 MB
- In: serial
- Out: serial
- Err: serial
- ver="U-Boot 1.2.0 (Oct 12 2009 - 17:15:43)
- 6.1.1f" unchanged
- Press SPACE to abort autoboot in 3 second(s)
- => printenv
- bootcmd=while itest.b 1 == 1;do;if itest.b ${ACTIMAGE} == 1;then echo *** ACTIMA GE = 1, will try to boot UBFI1 stored @${UBFIADDR1};aimgname=UBFI1; aubfiaddr=${ UBFIADDR1};bimgname=UBFI2; bubfiaddr=${UBFIADDR2}; bimgnum=2;else if itest.b ${A CTIMAGE} == 2;then echo *** ACTIMAGE = 2, will try to boot UBFI2 stored @${UBFIA DDR2};aimgname=UBFI2; aubfiaddr=${UBFIADDR2};bimgname=UBFI1; bubfiaddr=${UBFIADD R1}; bimgnum=1;else echo *** ACTIMAGE invalid; exit;fi;fi;if autoscr $aubfiaddr; then echo *** $aimgname bootscript executed successfully.;echo Start booting...; bootm ${LOADADDR};fi;echo *** $aimgname is corrupted, try $bimgname...;setenv AC TIMAGE $bimgnum;if autoscr $bubfiaddr;then echo *** $bimgname bootscript execute d successfully.;echo Check image...;if imi ${LOADADDR};then echo Save updated AC TIMAGE...;saveenv;echo Image OK, start booting...;bootm ${LOADADDR};fi;fi;echo B ackup image also corrupted...exit.;exit;done;
- bootdelay=3
- baudrate=115200
- ethaddr=00:01:02:03:04:05
- ipaddr=192.168.100.1
- serverip=192.168.100.2
- gatewayip=192.168.100.2
- netmask=255.255.255.0
- LOADADDR=0
- UBFINAME1=bootImage1
- sdelay=3
- update=tftpboot 0x80000100 ${imgname} && protect off ${imgaddr} +${filesize} && erase ${imgaddr} +${filesize} && sleep ${sdelay} && cp.b ${fileaddr} ${imgaddr} ${filesize} && protect on ${imgaddr} +${filesize} && if itest.b ${actimg} != 0; then sleep ${sdelay} && setenv ACTIMAGE ${actimg} && saveenv; fi
- update1=actimg=1 && imgaddr=${UBFIADDR1} && imgname=${UBFINAME1} && run update
- update2=actimg=2 && imgaddr=${UBFIADDR2} && imgname=${UBFINAME2} && run update
- update_uboot=actimg=0 && imgaddr=0x48000000 && imgname=u-boot.bin && run update
- erase_env=eval ${envpartsize} + ${envpartsize} && envblocksize=${evalval} && eva l 0x48000000 + ${ubootpartsize} && protect off ${evalval} +$envblocksize && eras e ${evalval} +$envblocksize && protect on ${evalval} +$envblocksize
- netretry=no
- boardtype=tnetc550
- ubootpartsize=0x20000
- envpartsize=0x10000
- UBFIADDR1=0x48040000
- UBFIADDR2=0x483f0000
- ver=U-Boot 1.2.0 (Oct 12 2009 - 17:15:43)
- 6.1.1f
- UBFINAME2=C3101205FU12032009.CDF
- ACTIMAGE=2
- silent=0
- stdin=serial
- stdout=serial
- stderr=serial
- Environment size: 2140/65531 bytes
- =>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement