SHARE
TWEET

SFP_GPON "fw_printenv"

_Petronas_ Oct 3rd, 2019 (edited) 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@SFP:/# fw_printenv
  2. act_img_addr=0xBF20003C
  3. addip=setenv bootargs ${bootargs} ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off
  4. addmisc=setenv bootargs ${bootargs} ethaddr=${ethaddr} machtype=${machtype} ignore_loglevel vpe1_load_addr=0x83f00000 vpe1_mem=1M mem=63M ${mtdparts}
  5. addmtdparts0=setenv mtdparts mtdparts=sflash:256k(uboot)ro,512k(uboot_env),7424k(linux),8192k(image1)
  6. addmtdparts1=setenv mtdparts mtdparts=sflash:256k(uboot)ro,512k(uboot_env),7424k(image0),8192k(linux)
  7. asc0=1
  8. baudrate=115200
  9. bertEnable=0
  10. boot_image=run boot_image${c_img};
  11. boot_image0=run kernel0_from_sf flashargs addip addmtdparts0 addmisc && bootm ${ram_addr}
  12. boot_image1=run kernel1_from_sf flashargs addip addmtdparts1 addmisc && bootm ${ram_addr}
  13. boot_image_err=setenv kernel_offs ${kernel0_offs};httpd && setenv image0_is_valid 1
  14. bootcmd=run flash_flash
  15. bootdelay=0
  16. committed_image=0
  17. env_offs=0x40000
  18. env_offs_redund=0x80000
  19. ethact=SERDES
  20. ethaddr=00:06:B5:0(EDIT)
  21. ethprime=SERDES
  22. fileaddr=80F00000
  23. filesize=340092
  24. flash_flash=run select_image boot_image
  25. flashargs=setenv bootargs rootfstype=squashfs,jffs2
  26. gDtiaGentEnable=false
  27. gatewayip=192.168.2.0
  28. goi_calibrated=1
  29. goi_config=begin-base64 644 goi_config@H4sIALKh1VgCA+2YS2/bOBCAfV3/Ci568CkKh09phR6yTVoETbFBbLiHoBBo@ibaFtUxDUtruv9+hHcfyq11sW6MPzcGm58EhKX7kyLZOz92iztPzicuT2oxm@NpmZypZJacfJCFtBWr3vfJFQFCXE8htl95uCph3gVEnOqKK6gwpgvENo5wTy@UN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1
  34. image1_addr=0xB0800000
  35. image1_is_valid=0
  36. image_name=openwrt-lantiq-falcon-SFP
  37. ipaddr=192.168.1.10
  38. kernel0_from_sf=sf probe 0;sf read ${ram_addr} ${kernel0_offs} ${max_kernel_size}
  39. kernel0_offs=0xC0000
  40. kernel1_from_sf=sf probe 0;sf read ${ram_addr} ${kernel1_offs} ${max_kernel_size}
  41. kernel1_offs=0x800000
  42. load_kernel=tftp ${ram_addr} ${tftppath}${image_name}-uImage
  43. load_uboot=tftp ${ram_addr} ${tftppath}u-boot.img
  44. machtype=SFP
  45. magic_addr=0xBF200038
  46. magic_val=0xDEADBEEF
  47. max_kernel_size=180000
  48. nDyingGaspEnable=1
  49. net_nfs=run load_kernel nfsargs addip addmtdparts0 addmisc;bootm ${ram_addr}
  50. netmask=255.255.255.0
  51. nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath},${nfsoptions}
  52. nfsoptions=rsize=1024,wsize=1024
  53. omci_loid=loid
  54. omci_lpwd=lpasswd
  55. preboot=gpio intput 100;gpio input 105;gpio input 106;gpio input 107;gpio input 108;gpio set 3
  56. ram_addr=80F00000
  57. reset_uboot_env=sf probe 0;sf erase 40000 80000
  58. save_uboot=sf probe 0;sf erase 0 40000;sf write ${ram_addr} 0 ${filesize}
  59. select_image=setenv activate_image -1;if itest *${magic_addr} == ${magic_val} ; then if itest *${act_img_addr} == 0 ; then setenv activate_image 0;fi;if itest *${act_img_addr} == 1 ; then setenv activate_image 1;fi;mw ${magic_addr} 0x0;mw ${act_img_addr} 0x0;fi;if test $activate_image = -1 ; then setenv c_img $committed_image;else setenv c_img $activate_image;setenv activate_image -1;fi;if test $c_img = 0 && test $image0_is_valid = 0 ; then setenv c_img 1;fi;if test $c_img = 1 && test $image1_is_valid = 0 ; then setenv c_img 0;fi;if test $image0_is_valid = 0 && test $image1_is_valid = 0 ; then setenv c_img _err;fi;exit 0
  60. serverip=192.168.1.100
  61. sfp_a2_info=begin-base64 644 sfp_a2_info @XwDOAFoA0wCMoHUwiLh5GK/IAACIuAAA9ncV98PGG6cMWgAICc8ACgAGtQfH@YAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gAAAAAAAAAEAAAABAAAAAQAAAAEA@AAAAAAC/GgCB4Az4RVIAAf////8CAABA//8AQAAAcAAAAAAAIAD/////////@////////////////////////////////////////////////////////////@////////////////////////////////////////////////////////////@//////8A////////////////////////////////////////////////////@////////////////////////////////////////////////////////////@////////////////////////////////////////////////////////////@/////////////////wD//wAAEBFPRU0gAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAA==@====@
  62. stderr=serial
  63. stdin=serial
  64. stdout=serial
  65. tx_fault_pin=2
  66. update_image0=tftp ${ram_addr} ${tftppath}${image_name}-squashfs.image;sf probe 0;sf erase ${kernel0_offs} +${filesize};sf write ${ram_addr} ${kernel0_offs} ${filesize}
  67. update_image1=tftp ${ram_addr} ${tftppath}${image_name}-squashfs.image;sf probe 0;sf erase ${kernel1_offs} +${filesize};sf write ${ram_addr} ${kernel1_offs} ${filesize}
  68. update_openwrt=run update_image0 && setenv committed_image 0 && setenv image0_is_valid 1 && saveenv
  69. update_uboot=run load_uboot && run save_uboot
  70. ver=U-Boot 2011.12-lantiq-gpon-1.2.24 (Nov 03 2014 - 22:46:28)
  71. image0_verison=AR_LBFIBRA_sp-00.03.04.091
  72. sfp_a0_low_128=begin-base64 644 sfp_a0_low_128 @AwQBAAAAAAAAAAADDAAUyAAAAABIdWF3ZWkgICAgICAgICAgAAAAAEhHODI0@MCAgICAgICAgICAwMSAgBR4A9wAaAAAwMGYyMDEyMDAwNDUzNzY3MDExMDE5@ICBo8AU+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA@AAAAAAAAAAAAAA==@====@
  73. nPassword=1234567890
  74. nSerial=00..(EDIT)
  75. ont_serial=00..(EDIT)
  76. image1_version=V1..(EDIT)
  77. image0_version=6..(EDIT)
  78. root@SFP:/#
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top