switch軟件恢復(fù)如遇到GPON部分不_第1頁
switch軟件恢復(fù)如遇到GPON部分不_第2頁
免費(fèi)預(yù)覽已結(jié)束,剩余4頁可下載查看

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

GPON/EPON16160的TWSwitchnanderase0x8000000x20000016160load16160SwitchSW??蓪C配置為TFTPServer,按命令printenv的結(jié)果配PCIP地址,TFTPSwitchSWupdateAupdateAB來load16160SW。Comcerto-515> -aliasfor -printorsetaddressoffsetbootA-bootimageAbootB-bootimagecerto-loadCSPimage(binaryorELFformat)andstartComcertodeviceboof-BootfromanELFimageinmemorybootlinux-bootMSPandCSP -bootapplicationimagefrom -bootimagevianetworkusingBootP/TFTPprotocolbootvx-BootvxWorksfromanELFimage -memorycompare -memorycopy -checksumcalculation -switchspidebugger -switchtoemacdebugmode. -eraseFLASHmemory -printFLASHmemorygetSwReg[page][addr] -getswitchreg'sgetbootflag-showuserBootFlag -startapplicationataddress'addr' -printonlinehelpimpenable[1/0][1/0]-impenable<rx_en>loadmsp-loadMSPimage(AXForELFformat)andsaveMSPstartaddress -infinitelooponaddressrange -memory -MIIutility -settingSWITCHreg -memorymodify(auto-incrementing) -simpleRAMtest -memorywrite(fill) -NANDsub-system -bootfromNANDdevice -memorymodify(constant-sendICMPECHO_REQUESTtonetworkhostprintenv-printenvironmentprotect-enableordisableFLASHwriterarpboot-bootimagevianetworkusingRARP/TFTP -PerformRESETofthe -runcommandsinanenvironmentvariablesaveenv-saveenvironmentvariablestopersistentstoragesetSwReg[page][addr][value][bytes(<=4)] -setswitchregtovaluesetbootflag-setbootfromimageAorimageB -setenvironmentsetimp[1/0] -enableordisabletheimpmode. resettheswitch. -SPIutilitytftpboot-bootimagevianetworkusingTFTPprotocolupdateA-downloadimageandwritetoimageAupdateB-downloadimageandwritetoimageBversion-printmonitorversionComcerto-515 用命令printenv確認(rèn)TFTPServer ${tftpdir}/u-boot.bin;erase1:0-47;cp.b ${tftpdir}/${cspname};nanderase400000400000;nandwrite.jffs2${fileaddr}400000${filesize} ${tftpdir}/${mspname};nanderase100000300000;nandwrite.jffs2${fileaddr}100000${filesize} ${tftpdir}/${fsname};nanderasec00000 ;nandwrite.jffs2${fileaddr}c00000${filesize}boottt=runsetbootargs;tftp ${tftpdir}/${mspname};loadmsp${fileaddr}${filesize}; certo${fileaddr} mtdboot=setenvbootargsroot=/dev/mtdblock6rorootfstype=jffs2nfsboot=setenvbootargsroot=/dev/nfsrwnfsroot=${serverip}:${nfsdir}addip=setenvbootargs${bootargs}ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}::eth0addtty=setenvbootargs${bootargs}console=ttyS0,${baudrate}setbootargs=runmtdbootaddttyaddipEnvironmentsize:1495/16380Comcerto-515 檢查當(dāng)前引導(dǎo)區(qū)是A還是userBootFlag==IMAGE_AimageA_bootOK==0x2imageB_bootOK==0x2imageA_MSP_length==0x1c3c20imageA_MSP_crc==0x2e91aa25imageA_kernel_length==0x1106a8imageA_kernel_crc==0x14bd2c16imageA_rootfs_length==0x73da38imageA_rootfs_crc==0x4f0c7836imageB_MSP_length==0x1c3c20imageB_MSP_crc==0x2e91aa25imageB_kernel_length==0x1106a8imageB_kernel_crc==0x14bd2c16imageB_rootfs_length==0x73da38imageB_rootfs_crc==0x4f0c7836Comcerto-515>updateAgp.bin.A.update gp.bin.A.update為SwitchSWTFTPfromserver01;ourIPaddressis52Filename'gp.bin.A.update'.Loadaddress:0xLoading:ArpRequest:NetArpWaitReplyIP=c90fa8c0.Bytestransferred= (927aa8hex)IMAGEGEN_imageCalCrc,19:01:53:crc=0targetOffset=100000,imageOffset=0Erasingat0x3fc000--100%complete.eraseOKWritingdataat0x2c3c00--100%complete.byteswritten:OKtargetOffset=400000,imageOffset=1c3c20Erasingat0x7fc000--100%complete.eraseWritingdataat0x510400--100%complete.byteswritten:OKtargetOffset=c00000,imageOffset=2d412cErasingat0x1bfc000--100%complete.eraseOKWritingdataat0x1252e00--100%complete.byteswritten:OKComcerto-515 U-Boot1.1.6(Apr142009-19:01:21)Mindspeed 64ComcertoFlashSubsystemInitializationam29lv040bmanuf_id=0xbfam29lv040bdevice_id=0xd7foundAM29LV040Bflashatam29lv040bmanuf_id=0x90am29lv040bdevice_id=0x90amlv640umanuf_id=0xdfd1amlv640udevice_id1=0xdfd1amlv640udevice_id2=0x554amlv640udevice_id3=0x554Flash:512kB board_nand_initnand->IO_ADDR_R=nandflash nandflash 64MiB ReserveMSPWarning:swModeInitinmain_loop.buildinfo:Apr142009,19:01:19NOTE:workunder8bitflashmode!!!settingtoSWITCHGMII2GMIImode!regaddr40= regadd

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論