summaryrefslogtreecommitdiffstats
path: root/_ont
diff options
context:
space:
mode:
authorGiammarco Marzano <stich86@gmail.com>2023-04-02 16:44:47 +0200
committerGitHub <noreply@github.com>2023-04-02 16:44:47 +0200
commit7a06558a2c5284fc973a4f3aeaaff5d127324a21 (patch)
tree253d07f374d521da764e570b23c582ed164282ca /_ont
parentUpdate sfp-standard.md (#159) (diff)
downloadhack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar.gz
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar.bz2
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar.lz
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar.xz
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.tar.zst
hack-gpon.github.io-7a06558a2c5284fc973a4f3aeaaff5d127324a21.zip
Diffstat (limited to '_ont')
-rw-r--r--_ont/ont-zte-f601.md103
1 files changed, 93 insertions, 10 deletions
diff --git a/_ont/ont-zte-f601.md b/_ont/ont-zte-f601.md
index 2b05fec..33e0205 100644
--- a/_ont/ont-zte-f601.md
+++ b/_ont/ont-zte-f601.md
@@ -16,7 +16,7 @@ parent: ZTE
| CPU Clock | 266 MHz | 600 MHz | | |
| Chipset | ZTE FA626TE | ZTE ZX279125@A9 | | |
| Flash | 16 MB (SPI Flash w25q128) | 16 MB (SPI Flash mx25l12805d) | | ZX279127S |
-| RAM | 64 MB | 32 MB | | 128 MB (ESMT M15T1G1664A) |
+| RAM | 32 MB | 32 MB | | 128 MB (ESMT M15T1G1664A) |
| System | | | | |
| 2.5GBaseT | No | No | No | No |
| Optics | SC/APC or SC/UPC | SC/APC | SC/APC | SC/APC |
@@ -24,7 +24,7 @@ parent: ZTE
| Web Gui | ✅ user `admin`, password `admin` or user `user`, password `user` | ✅ user `admin`, password `admin` or user `user`, password `user` | | |
| SSH | | | | |
| Telnet | | | | |
-| Serial | | | | |
+| Serial | ✅ | ✅ | | |
| Form Factor | ONT | ONT | ONT | ONT |
{% include image.html file="f601_v6_1.jpg" alt="F601 v6" caption="F601 v6" %}
@@ -32,21 +32,104 @@ parent: ZTE
{% include image.html file="f601v9/front.jpg" alt="F601 v9" caption="F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
## List of software versions
-### HW V6.0
-- V6.0.10P6T1
-- V6.0.10P6T4
-- V6.0.10P6N7
+### HW V6.0
+- V6.0.10P6T1 (OpenFiber)
+- V6.0.10P6T4 (OpenFiber)
+- V6.0.10P6N7 (OpenFiber)
+- V6.0.10N40 (TIM Italy)
+- V6.0.10P3T1 (Generic)
+- V6.0.10P1T26 (Generic)
### HW V7.0
-- V7.0.10P6N7
+- V7.0.10P6N7 (OpenFiber)
+- V7.0.10P6T4 (Generic)
### HW V9.0
- V9.0.10P2N1
+## List of partitions (V6.0/V7.0)
+
+| dev | size | erasesize | name |
+| ---- | -------- | --------- | -------------- |
+| mtd0 | 01000000 | 00010000 | "whole flash" |
+| mtd1 | 00080000 | 00010000 | "uboot" |
+| mtd2 | 00700000 | 00010000 | "kernel0" |
+| mtd3 | 00390000 | 00010000 | "kernel1" |
+| mtd4 | 00700000 | 00010000 | "others" |
+| mtd5 | 00010000 | 00010000 | "SECTION_EGIS" |
+| mtd6 | 00010000 | 00010000 | "parameter tags" |
+| mtd7 | 00160000 | 00010000 | "usercfg" |
+
+# General Settings and Useful Commands
+{% include alert.html content="Commands have been tested on V6/V7 HW rev on TIM and OF firmware" alert="Note" icon="svg-info" color="blue" %}
+
+## Changing the ONT's S/N
+{% include alert.html content="You have to change S/N and the VID. 2176 is for the VID (first 4 letters of the S/N) and 2177 is for the last 8 digits" alert="Note" icon="svg-info" color="blue" %}
+```sh
+setmac 1 2176 ZTEG
+setmac 1 2177 AABBCCDD
+```
+
+## Changing the ONT's PLOAM password
+{% include alert.html content="The PLOAM password is stored in the ASCII format." alert="Note" icon="svg-info" color="blue" %}
+This can be done easily via web ui. If you prefer to do it via the shell use:
+```sh
+setmac 1 2181 1234567890
+setmac 1 2178 1234567890
+```
+
+## Checking connection state
+To see the connection state use the following command:
+```
+gpontest -gstate
+```
+`[gpontest] gpon state is [O5]` for O5 state
+
+## Querying a particular OMCI ME
+
+The `sendcmd` commands for OMCI debug will print output only on serial or log file. The log file in this case is `/var/log/OmciLogCache.log`.
+So first thing to do is to enable the logging use this command:
+
+```sh
+sendcmd 132 omcidebug setprintlevel 3 1 2
+```
+
+Then query the OMCI ME Class needed with this command:
+
+```sh
+sendcmd 132 omcidebug showmedata ID_MIB (eg. 131 for OLT type)
+```
+
+Finally check the log `/var/log/OmciLogCache.log` to see the result that is like the following one:
+
+```sh
+##################################
+MIB INFO:
+ ME CLASS: 131
+ DB NAME: olt_g, DBHandle: 32
+##################################
+
+<-----MeID[ 0x0000,0 ], Addr[ 0x19a2b1]----->
+ Vendorid:48 57 54 43
+ EquipmentID:00 00 00 00 00 00 00 00 00 00
+ 00 00 00 00 00 00 00 00 00 00
+ Version:31 30 00 00 00 00 00 00 00 00
+ 00 00 00 00
+ TimeofDay:00 00 00 00 00 00 00 00 00 00
+ 00 00 00 00
+---------------------------------------------------------------------
+```
+
+After you have debug the OMCI stuff, turn it off using the following command:
+
+```sh
+sendcmd 132 omcidebug setprintlevel 0 0 0
+```
+
# Random notes
- The F601v7 is mounted 'upside down' to save on waveguides, the LEDs would be on the bottom of the PCB, so it would have to be turned upside down to make it cooler...
-- The F601v6 turns on and runs even with 9 V input
-- F601v7 turns on and runs even with 5 V input
+- The F601v6 turns on and runs even with 9V input
+- The F601v7 turns on and runs even with 5V input
# Miscellaneous Links
@@ -78,4 +161,4 @@ parent: ZTE
{% include image.html file="f601v9/back.jpg" alt="Bottom of the F601 v9" caption="Bottom of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
{% include image.html file="f601v9/teardown-1.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
{% include image.html file="f601v9/teardown-2.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}
-{% include image.html file="f601v9/teardown-3.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %} \ No newline at end of file
+{% include image.html file="f601v9/teardown-3.jpg" alt="Teardown of the F601 v9" caption="Teardown of the F601 v9 <a href='https://forum.fibra.click/u/mirko991'>@mirko991</a>" %}