Skip to content

Commit

Permalink
Router pon: ADD IliadBox, AVM FRITZ!Box 5530/5590, ZTE F6645P (#311)
Browse files Browse the repository at this point in the history
* Create free_iliad.md

* Create free_iliad_box_pop.md

* Create free_iliad_F-MDCONU3A.md

* Update _config.yml

* added Free/Iliad

* updated Free/Iliad

* images for Free/Iliad

* iliad updates

* update iliad

* add avm

* update avm

* add zte

* fix

* fix image

* fix iliad

* update

* Update _router_pon/ont-zte-f6645p.md

Co-authored-by: Ernesto Castellotti <[email protected]>

* fix

* add whitelist

* Update avm_fritzbox_5590.md

* Update avm_fritzbox_5590.md

* Update avm_fritzbox_5530.md

* update

* update

---------

Co-authored-by: Luca Anastasio <[email protected]>
Co-authored-by: Ernesto Castellotti <[email protected]>
  • Loading branch information
3 people authored Feb 18, 2024
1 parent 657ea41 commit eddf563
Show file tree
Hide file tree
Showing 16 changed files with 670 additions and 0 deletions.
12 changes: 12 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ collections:
ont_xgs:
permalink: "/xgs/:path/"
output: true
ont_epon:
permalink: "/epon/:path/"
output: true
router_pon:
permalink: "/router/:path/"
output: true
tools:
permalink: "/:path/"
output: true
Expand All @@ -122,6 +128,12 @@ just_the_docs:
ont_xgs:
name: ONT XGS-PON
nav_fold: true
ont_epon:
name: ONT EPON
nav_fold: true
router_pon:
name: Router PON
nav_fold: true
tools:
name: Tools
nav_fold: true
Expand Down
13 changes: 13 additions & 0 deletions _ont_epon/free_iliad.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Free/Iliad
has_children: true
layout: default
---

# Free/Iliad network

Iliad's (Italy) PON network is delivered through two types of technology: GPON or EPON where available. The latter is not actually pure 10G-EPON but DPoE (DOCSIS Provisioning over EPON), confirmed by analyzing the physical layer signals.

Using a Xilinx Kintex 7 FPGA with an integrated logic analyzer, an optical module has been connected to the FPGA's transceiver. The transceiver synchronized successfully and the sync header sequence was the one expected for 10G-EPON: a FEC codeword is a sequence of 31 words. Those words have a sync header binary value of `10` or `01` repeated 27 times corresponding to the original message plus `00, 11, 11, 00` corresponding to the FEC parity information. Discarding the latter part and descrambling the remaining data, the packets have been retrieved.

As an example, a packet starts with `55 d5 55 1b 3c 07 5f` in hex, which corresponds to a DPoE (10G) preamble (actually it's missing one starting `0x55` byte but the CRC8 at the end is correct nonetheless).
206 changes: 206 additions & 0 deletions _ont_epon/free_iliad_F-MDCONU3A.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
---
title: Free/Iliad F-MDCONU3A (v1)
has_children: false
layout: default
parent: Free/Iliad
---

# Hardware Specifications

| | |
| ---------------- | ------------------------------- |
| Vendor/Brand | Free/Iliad |
| Model | F-MDCONU3A |
| ODM ||
| ODM Product Code | |
| Chipset | BCM55030 |
| Flash | W25Q32J (4MB SPI) |
| RAM | embedded |
| CPU | ARCompact[^arc-isa], big endian |
| CPU Clock | |
| Bootloader | |
| System | |
| Load addr | |
| HSGMII | No |
| Optics | SFP w/o MAC |
| IP address | |
| Web Gui | |
| SSH | |
| Telnet | |
| Serial ||
| Serial baud | 57600 |
| Serial encoding | 8-N-1 |
| Form Factor | ONT |

The BCM55030 is a 10G-EPON ONU/ONT.
The BCM55030's UNI (User Network Interface) side should be capable of 4xSGMII (1 GbE) or 1xXAUI (10 GbE) or 1xXFI (10 GbE SFP) or 1xRGMII, but only one SGMII lane is actually routed.
UNI link won't go up when connected to a media converter or directly to a NIC.

## Serial

The serial port is easily accessible at TP5 and TP6. A prompt is available without authentication, it is structured as a tree of directories. To navigate type the subdirectory name. To go back type `/` and hit enter. To list available commands type `help`.

Available commands:

```
- mac/
- epon
- user
- alm/
- info
- gpio
- debug/
- mcast
- mpcp
- nco
- rstp
- sysd
- epon/
- eponmac
- usermac
- dom
- ponspeed
- fds/
- erase
- load/
- info
- commit
- setRecoveryPoint
- runRecoveryPoint
- rx
- mcast/
- domains
- groups
- sources
- reporters
- igmpinfo
- igmpsources
- mem/
- rf
- mpcp/
- info
- failsafe
- oltmac
- pers/
- read
- serdes/
- sdextlptest
- stats/
- clear
- gather
- epon
- fifo
- lif
- uni
- xif
- statsmode
- log/
- show
- level
- sysd/
- frmdmp
- clionly
- clr
- ints
- reg
- reset
- set
- echo
- sftver
```

`load/info` output:
```
TK2000 APP 3.27 May 13 2016 02:48:05 Chip: 4701 B2110816
Mode: App Normal
EPON MAC: 0x8C97EA6C17AC
Executing: NA
2000 0001 v3.2.7 (Rel)
Size: 319044 CRC: 0x2FAF887F
Type: 02 Subtype 0C Flags 04
Stream: 112 Revision: 131152
Time: 2016-05-18 01:28:44Z
Boot: pass
2000 0000 v3.2.7 (NA)
Size: 42896 CRC: 0xC87371F8
Type: 01 Subtype 0C Flags 04
Stream: 114 Revision: 127457
Time: 2016-01-20 05:45:49Z
App 0: fail
FFFF 0000 vFF.FF.FFFF (NA)
Size: 4294967258 CRC: 0xFFFFFFFF
Type: FF Subtype FF Flags FF
Stream: 4294967295 Revision: 4294967295
Time: 65535-255-255 255:255:255Z
App 1: pass
2000 0001 v3.2.7 (Rel)
Size: 319044 CRC: 0x2FAF887F
Type: 02 Subtype 0C Flags 04
Stream: 112 Revision: 131152
Time: 2016-05-18 01:28:44Z
App 2: pass
2000 0001 v3.2.9 (Rel)
Size: 319240 CRC: 0x3FBE2A30
Type: 02 Subtype 0C Flags 04
Stream: 116 Revision: 167733
Time: 2019-03-13 01:47:37Z
Diag: pass
2000 0001 v3.2.7 (Rel)
Size: 319044 CRC: 0x2FAF887F
Type: 02 Subtype 0C Flags 04
Stream: 112 Revision: 131152
Time: 2016-05-18 01:28:44Z
```

`mem/rf [start address] [lenght]` reads bytes from the flash memory, wraps every 512 kB.

## List of partitions

The flash memory is not actually partitioned, upon reset the CPU loads from address 0 (reset vector) and jumps to another address ([page 74](http://me.bios.io/images/d/dd/ARCompactISA_ProgrammersReference.pdf#%5B%7B%22num%22%3A177%2C%22gen%22%3A0%7D%2C%7B%22name%22%3A%22XYZ%22%7D%2C72%2C157%2C0%5D)). Each section ends with its CRC.

| Section | Start address | End address | Size |
| --------------------- | ---------------- | ---------------- | -------------- |
| Bootloader | 0 | 42896/0xA790 | 42896/0xA790 |
| App 0 | ? | ? | ? |
| App 1 | 1179687/0x120027 | 1498731/0x16DE6B | 319044/0x4DE44 |
| App 2 | 1703975/0x1A0027 | 2023215/0x1EDF2F | 319240/0x4DF08 |
| Diag (copy of App 1?) | 2555943/0x270027 | 2874987/0x2BDE6B | 319044/0x4DE44 |

(End address is non-inclusive)
App 1 and App 2 sections are located at a distance of 512 kB (0x80000) from each other. This probably means that the CPU is capable of addressing only 512 kB of flash. It can be verified also by running the `mem/rf` command, which wraps every 512 kB.

# Userful files and binaries

# EEPROM

There is an SFP plug on the UNI side with an embedded EEPROM.

## EEPROM layout

```
00000000 03 04 00 00 00 00 00 00 00 00 00 00 0a 00 00 00 |................|
00000010 00 00 00 00 46 52 45 45 42 4f 58 00 00 00 00 00 |....FREEBOX.....|
00000020 00 00 00 00 00 8c 97 ea 46 2d 4d 44 43 4f 4e 55 |........F-MDCONU|
00000030 33 41 00 00 00 00 00 00 30 32 00 00 00 00 00 38 |3A......02.....8|
00000040 00 00 00 00 38 36 38 38 30 32 4a 32 30 32 33 34 |....868802J20234|
00000050 36 32 39 35 32 30 30 36 30 39 30 30 00 00 00 ec |629520060900....|
00000060 38 36 38 38 30 32 4a 32 30 32 33 34 36 32 39 35 |868802J202346295|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
*
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000200
```

# Miscellaneous Links

![](https://web.archive.org/web/20230609184811/https://xtech.nikkei.com/dm/article/NEWS/20110121/188932/Broadcom_4.jpg)

[^arc-isa]: *ARCompact Instruction Set Architecture Programmer's Reference* http://me.bios.io/images/d/dd/ARCompactISA_ProgrammersReference.pdf
33 changes: 33 additions & 0 deletions _ont_epon/free_iliad_F-MDCONU5A.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
title: Free/Iliad F-MDCONU5A (v2)
has_children: false
layout: default
parent: Free/Iliad
---

# Hardware Specifications

| | |
| ---------------- | ----------- |
| Vendor/Brand | Free/Iliad |
| Model | F-MDCONU5A |
| ODM ||
| ODM Product Code | |
| Chipset | BCM55030 |
| Flash | |
| RAM | |
| CPU | |
| CPU Clock | |
| Bootloader | |
| System | |
| Load addr | |
| HSGMII | No |
| Optics | SFP w/o MAC |
| IP address | |
| Web Gui | |
| SSH | |
| Telnet | |
| Serial | |
| Serial baud | |
| Serial encoding | |
| Form Factor | ONT |
34 changes: 34 additions & 0 deletions _ont_epon/free_iliad_P-MDONU4B.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: Free/Iliad P-MDONU4B (pro)
has_children: false
layout: default
parent: Free/Iliad
---

# Hardware Specifications

| | |
| --------------- | -------------------- |
| Vendor/Brand | Free/Iliad P-MDONU4B |
| Model | P-MDONU4B |
| ODM | |
| Chipset | |
| Flash | |
| RAM | |
| CPU | |
| CPU Clock | |
| Bootloader | |
| System | |
| Load addr | |
| XGMII/XSGMII | Yes |
| 10GBaseX | Yes |
| Optics | SFP w/o MAC |
| IP address | |
| Web Gui | |
| SSH | |
| Telnet | |
| Serial | |
| Serial baud | |
| Serial encoding | |
| Form Factor | ONT |

5 changes: 5 additions & 0 deletions _router_pon/avm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: AVM
has_children: true
layout: default
---
25 changes: 25 additions & 0 deletions _router_pon/avm_fritzbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## SFP Whitelist

- FRITZ!SFP AON (IEEE 802.3ah-2004 1000BASE-BX10, TX 1310 nm, RX 1480 to 1580 nm, LC/APC 8°, 10 km)[^aon]
- FRITZ!SFP AON TV Filter (IEEE 802.3ah-2004 1000BASE-BX10)
- FRITZ!SFP GPON (GPON ITU-T G.984.2/984.5, TX 1310 nm, RX 1490 nm, LC/UPC 8°, 20 km)
- FRITZ!SFP XGS-PON (XGS-PON ITU-T G.9807 TX 1270 nm, RX 1577 nm, è l’unico che usa un SC/UPC, 20 km)


# GPON/OMCI settings

## Setting ONU GPON Serial Number

It is possible to change the serial numebr by editing it in the http://fritz.box/support.lua, in the ASCII format (ZTEG012345678)

{% include image.html file="avm/avm_serial.jpg" alt="Serial number form" caption="Serial number form" %}


## Setting ONU GPON PLOAM password

It is possible to change the GPON PLOAM passowrd by editing it in the logon data, in the ASCII format (PLOAM)

{% include image.html file="avm/avm_ploam.jpg" alt="PLOAM Password form" caption="PLOAM Password form" %}

--
[^aon] [EWE AON Anschluss SFP Transceiver](https://www.glasfaserforum.de/forum/thread/984-ewe-aon-anschluss-sfp-transceiver/)
35 changes: 35 additions & 0 deletions _router_pon/avm_fritzbox_5530.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
---
title: AVM FRITZ!Box 5530
has_children: false
layout: default
parent: AVM
---

# Hardware Specifications

| | |
| --------------- | ------------------------------------------------------------------------ |
| Vendor/Brand | AVM FRITZ!Box 5530 |
| Model | FRITZ!Box 5530 |
| ODM ||
| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 |
| Flash | 128 MB |
| RAM | 1024 MB |
| Chipset | MaxLinear Falcon PRX321B1BI-S-LNEV MIPS32 |
| CPU Clock | 800 MHz |
| Bootloader | |
| System | |
| Load addr | |
| SFP | 1GBASE-BX10 (only FRITZ!SFP AON), PON equivalent symbol GPON and XGS-PON |
| Ethernet | 4 1GbE, 1 2.5GbE LAN/WAN |
| Optics | SC/UPC |
| IP address | 192.168.1.254 |
| Web Gui ||
| SSH | |
| Telnet | |
| Serial | |
| Serial baud | 115200 |
| Serial encoding | 8-N-1 |
| Form Factor | CPE with SFP w/o MAC support |

{% include_relative avm_fritzbox.md %}
Loading

0 comments on commit eddf563

Please sign in to comment.