diff --git a/_ont_epon/CIG.md b/_ont_epon/CIG.md new file mode 100644 index 00000000..232c4dff --- /dev/null +++ b/_ont_epon/CIG.md @@ -0,0 +1,14 @@ +--- +title: CIG +has_children: true +layout: default +--- + +# CIG EPON +10G EPON can be broadly categorized into the following three standards defined by IEEE 1904.1: +* SIEPON Package-A (DPoE - DOCSIS Provisioning over EPON) +* SIEPON Package-B (NTT - Nippon Telegraph and Telephone EPON) +* SIEPON Package-C (CTC - China Telecom Corporation EPON) + +While commonly available CIG EPON ONTs are SIEPON-C, they can be switched to SIEPON-A by installing custom firmware. +This provides compatibility with many EPON networks, including Free/Iliad network EPON and au-hikari network EPON. diff --git a/_ont_epon/CIG_XE-99S.md b/_ont_epon/CIG_XE-99S.md new file mode 100644 index 00000000..9f4e4932 --- /dev/null +++ b/_ont_epon/CIG_XE-99S.md @@ -0,0 +1,268 @@ +--- +title: CIG XE-99S +has_children: true +layout: default +parent: CIG +--- + +# Hardware Specifications + +| | | +| ---------------- | -------------------------------------------------------------------------- | +| Vendor/Brand | CIG | +| Model | XE-99S | +| ODM | CIG | +| ODM Product Code | XE-99S | +| Chipset | Cortina CA8271S | +| Flash | MX35LF1GE4AB 128MB | +| RAM | 128MB | +| CPU | Taroko V0.2 (MIPS) | +| CPU Clock | 125MHz | +| Bootloader | SATURN uboot | +| System | Custom Linux by Cortina (Saturn SDK) based on Kernel 4.4 Saturn-sfpplus-r1 | +| 2.5GBaseX | Yes | +| XGMII/XSGMII | Yes | +| Optics | SC/UPC | +| IP address | 192.168.0.1 | +| Web Gui | ✅ user `admin`, password `admin` (Custom firmware only) | +| SSH | ✅ Oliginal firmware : user `root`, password is none / Custom firmware : user `root`, password `ca8271` | +| Telnet | ✅ Oliginal firmware : user `root`, password is none / Custom firmware : user `root`, password `ca8271` | +| Serial | ✅ | +| Serial baud | 115200 | +| Serial encoding | 8-N-1 | +| Form Factor | miniONT SFP | + +{% include image.html file="CIG_XE-99S/front.jpg" alt="CIG_XE-99S front plate" caption="CIG_XE-99S front plate" %} + +## Serial + +The stick has a TTL 3.3V UART console (configured as 115200 8-N-1) that can be accessed from the SFP connector, but no components are mounted. + +The UART can be accessed by any of the following methods. +- Touch the needle to a specific point +- Shorting a specific pad to access from SFP + +### Access from PCB +The UART can be accessed by connecting a wire or touching a needle to the following points. + +{% include image.html file="CIG_XE-99S/UART_needle.png" alt="CIG_XE-99S UART Touch point" caption="CIG_XE-99S UART Touch point" %} + +### Access from SFP +By shorting these two points with solder, you can access the UART from SFP pins 2 and 7. + +| USB - TTL Adapter | SFP Connector (Molex, etc) | +| --------------------- | -------------------------- | +| Vcc (3.3V) | pin #15 , #16 | +| TX | pin #7 | +| RX | pin #2 | +| GND | pin #10 | + +{% include alert.html content="USB TTL adapter may not work due to insufficient power supply. If possible, obtain 3.3V from a dedicated power supply instead of the USB TTL adapter." alert="Note" icon="svg-info" color="blue" %} + +{% include image.html file="CIG_XE-99S/UART_SFP.png" alt="CIG_XE-99S UART Short point" caption="CIG_XE-99S UART Short point" %} + +{% include image.html file="CIG_XE-99S/UART_bridge.png" alt="CIG_XE-99S UART solder bridge" caption="CIG_XE-99S UART solder bridge" %} + +## Custom firmware is interchangeable with +The custom firmware is compatible with the following. +- CIG XG-99S (GPON) +- ECIN EN-XGSFPP-OMAC v1 (GPON) +- FS XGS-ONU-25-20NI (GPON) +- Hisense LTF-7267-BH+ (GPON) +- Hisense LTF-7263-BH+ + +## Firmware versions +### Original firmware (SIEPON Package-C) +- CTC20220901 + +### Custom Firmware (SIEPON Package-A) +- v1.0.0 +- v1.1.0 +- v1.2.0 +- v1.3.0 + +The CIG XE-99S is supported from v1.1.0 onwards. + +## Custom firmware files +* [Firmware repository by YuukiJapanTech](https://github.com/YuukiJapanTech/CA8271x/tree/main/mod/siepon_a) + +## List of partitions + +| dev | size | erasesize | name | +| ------ | -------- | --------- | ----------------- | +| mtd0 | 00040000 | 00020000 | "ssb" | +| mtd1 | 00100000 | 00020000 | "uboot-env" | +| mtd2 | 00100000 | 00020000 | "dtb0" | +| mtd3 | 00600000 | 00020000 | "kernel0" | +| mtd4 | 02800000 | 00020000 | "rootfs0" | +| mtd5 | 00100000 | 00020000 | "dtb1" | +| mtd6 | 00600000 | 00020000 | "kernel1" | +| mtd7 | 02800000 | 00020000 | "rootfs1" | +| mtd8 | 01400000 | 00020000 | "userdata" | +| mtd9 | 00100000 | 00020000 | "mfginfo1" | +| mtd10 | 00100000 | 00020000 | "mfginfo2" | + +This ONT supports dual boot. + +`kernel0` and `rootfs0` respectively contain the kernel and firmware of the first image, `kernel1` and `rootfs1` the kernel and firmware of the second one. + +# Usage + +## Configure IP Address +Set your PC’s IP address to `192.168.0.5/24` + +## Download Custom Firmware +Download the following firmware files and place them on a TFTP server (e.g., 3CDaemon): +* `SIEPONA_rootfs.bin` +* `SIEPONA_kernel.bin` + +## Log in to the Stick root shell +``` +$ ssh root@192.168.0.1 + +root@XE-99S:~# +``` + +## Upload Firmware to the Stick +Run the following commands to download the firmware via TFTP: +``` +cd /tmp +tftp -r SIEPONA_kernel.bin -g 192.168.0.5 +tftp -r SIEPONA_rootfs.bin -g 192.168.0.5 +``` + +## Reset Configuration +``` +mkdir /userdata/upper +rm -r /overlay/upper/* +``` + +## Flash the Firmware +Execute the following commands to write the firmware: +``` +flash_erase /dev/$(awk -F: '$2 ~ /"kernel1"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"kernel1"/ {print $1}' /proc/mtd) /tmp/SIEPONA_kernel.bin +flash_erase /dev/$(awk -F: '$2 ~ /"rootfs1"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"rootfs1"/ {print $1}' /proc/mtd) /tmp/SIEPONA_rootfs.bin + +flash_erase /dev/$(awk -F: '$2 ~ /"kernel0"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"kernel0"/ {print $1}' /proc/mtd) /tmp/SIEPONA_kernel.bin +flash_erase /dev/$(awk -F: '$2 ~ /"rootfs0"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"rootfs0"/ {print $1}' /proc/mtd) /tmp/SIEPONA_rootfs.bin +``` + +## Reboot the Stick +Reboot or power off the device: +``` +reboot +``` +The reboot process takes approximately 180 seconds. +If an error occurs with the reboot command, simply turn off the power. + +## Access the Web UI +Open the following URL in your browser: +* http://192.168.0.1 + +| User | Password | +| ---- | ---------- | +| `admin` | `admin` | + +## Set PON MAC Address +From the menu, select "PON MAC Address" and configure the EPON MAC address of your ONT. + +## Configure Forced Bridge Mode +From the menu, select "Forced Bridge mode" and enable it. + +## Reboot the Stick +Select "Reboot" from the menu. The reboot process takes approximately 180 seconds. + +## Connect the Fiber +Connect the ISP fiber cable to the stick. + +## ONT Authentication +Once authentication is successful, the "PON" and "AUTH" status indicators under the "Status" menu will show "OK". +At this point, the stick is successfully connected to the ISP network. + +# EPON ONT status + +## Getting the operational status of the ONT +Check the ONT Registration State with the following command: + +``` +ca-iros-> wca_epon_mpcp_registration_status_get -device_id 0 -port_id 0x20007 -llid 0 +[deregistration_cause = 0] +[mpcp_llid = 65535] +[olt_mac_addr = 00:00:00:00:00:00] +[reg_state = 0] +[retry_times = 0] +Return Value : 0 - CA_E_OK +0 +``` + +Check the ONT auth state with the following command: + +``` +ca-iros-> wca_epon_llid_traffic_enable_get -device_id 0 -port_id 0x20007 -llid 0x0 +[downstream = 1] +[upstream = 1] +0 +``` + +# EPON/OAM TLV settings +The XE-99S Custom firmware uses a web UI for configuration. +* http://192.168.0.1 + +| User | Password | +| ---- | ---------- | +| `admin` | `admin` | + +## Getting/Setting ONT EPON MAC Address +``` +Menu > PON Setup > PON MAC Address +``` + +## Getting/Setting OAM firmware version (TLV D7/03) +``` +Menu > TLV Setup > Firmware Info (D7/03) +``` + +## Getting/Setting OAM chipset info (TLV D7/04) +``` +Menu > TLV Setup > Chipset Info (D7/04) +``` + +## Getting/Setting OAM manufacture date (TLV D7/05) +``` +Menu > TLV Setup > Date of Manufacture (D7/05) +``` + +## Getting/Setting OAM manufacture info (TLV D7/06) +``` +Menu > TLV Setup > Date of Manufacture Info (D7/06) +``` + +## Getting/Setting OAM vendor Name (TLV D7/11) +``` +Menu > TLV Setup > Vendor Name (D7/11) +``` + +## Getting/Setting OAM model Name (TLV D7/12) +``` +Menu > TLV Setup > Model Number (D7/12) +``` + +## Getting/Setting OAM hardware version (TLV D7/13) +``` +Menu > TLV Setup > Hardware Version (D7/13) +``` + +# Useful files and binaries +## Disguise as Cisco SFP+ module +To disguise an SFP as a genuine Cisco SFP module, execute the following command : +``` +root@saturn-sfpplus-eng:~# BOSA_Write /script/BOSA/cisco.txt +``` +The ONT will automatically restart once the process is complete. + +# Miscellaneous Links +- [GitHub - CA8271x](https://github.com/YuukiJapanTech/CA8271x) diff --git a/_ont_epon/HiSense.md b/_ont_epon/HiSense.md new file mode 100644 index 00000000..2e17e6d3 --- /dev/null +++ b/_ont_epon/HiSense.md @@ -0,0 +1,14 @@ +--- +title: HiSense +has_children: true +layout: default +--- + +# HiSense EPON +10G EPON can be broadly categorized into the following three standards defined by IEEE 1904.1: +* SIEPON Package-A (DPoE - DOCSIS Provisioning over EPON) +* SIEPON Package-B (NTT - Nippon Telegraph and Telephone EPON) +* SIEPON Package-C (CTC - China Telecom Corporation EPON) + +While commonly available HiSense EPON ONTs are SIEPON-C, they can be switched to SIEPON-A by installing custom firmware. +This provides compatibility with many EPON networks, including Free/Iliad network EPON and au-hikari network EPON. diff --git a/_ont_epon/LTF7263-BH+.md b/_ont_epon/LTF7263-BH+.md new file mode 100644 index 00000000..46670892 --- /dev/null +++ b/_ont_epon/LTF7263-BH+.md @@ -0,0 +1,233 @@ +--- +title: HiSense LTF7263-BH+ +has_children: true +layout: default +parent: HiSense +--- + +# Hardware Specifications + +| | | +| ---------------- | -------------------------------------------------------------------------- | +| Vendor/Brand | HiSense | +| Model | LTF7263-BH+ | +| ODM | HiSense | +| ODM Product Code | LTF7263-BH+ | +| Chipset | Cortina CA8271S | +| Flash | MT29F1G01ABAFDWB 128MB | +| RAM | 128MB | +| CPU | Taroko V0.2 (MIPS) | +| CPU Clock | 500MHz | +| Bootloader | SATURN uboot | +| System | Custom Linux by Cortina (Saturn SDK) based on Kernel 4.4 Saturn-sfpplus-r1 | +| 2.5GBaseX | Yes (Custom firmware only) | +| XGMII/XSGMII | Yes | +| Optics | SC/UPC | +| IP address | 192.168.0.1 | +| Web Gui | ✅ Oliginal firmware : user `admin`, password `system` / Custom firmware : user `admin`, password `admin` | +| SSH | ✅ Oliginal firmware : user `root`, password `hbmtsfp` / Custom firmware : user `root`, password `ca8271` | +| Telnet | ✅ Oliginal firmware : user `root`, password `hbmtsfp` / Custom firmware : user `root`, password `ca8271` | +| Serial | ✅ | +| Serial baud | 115200 | +| Serial encoding | 8-N-1 | +| Form Factor | miniONT SFP | + +{% include image.html file="LTF-7263-BH/front.jpg" alt="LTF-7263-BH front plate" caption="LTF-7263-BH front plate" %} + +## Serial +The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface. It’s near the SFP header. TX, RX and ground pads need to be connected to a USB2TTL adapter supporting 3V3 logic. +{% include image.html file="LTF-7263-BH/UART.png" alt="LTF-7263-BH UART" caption="LTF-7263-BH UART" %} + +## Custom firmware is interchangeable with +The custom firmware is compatible with the following. +- CIG XG-99S (GPON) +- ECIN EN-XGSFPP-OMAC v1 (GPON) +- FS XGS-ONU-25-20NI (GPON) +- Hisense LTF-7267-BH+ (GPON) +- CIG XE-99S +- Hisense LTF-7263-BH+ + +## Firmware versions +### Original firmware (SIEPON Package-C) +- 20210421024332 + +### Custom Firmware (SIEPON Package-A) +- v1.0.0 +- v1.1.0 +- v1.2.0 +- v1.3.0 + +## Custom firmware files +* [Firmware repository by YuukiJapanTech](https://github.com/YuukiJapanTech/CA8271x/tree/main/mod/siepon_a) + +## List of partitions + +| dev | size | erasesize | name | +| ------ | -------- | --------- | ----------------- | +| mtd0 | 00040000 | 00020000 | "ssb" | +| mtd1 | 00100000 | 00020000 | "uboot-env" | +| mtd2 | 00100000 | 00020000 | "dtb0" | +| mtd3 | 00600000 | 00020000 | "kernel0" | +| mtd4 | 02800000 | 00020000 | "rootfs0" | +| mtd5 | 00100000 | 00020000 | "dtb1" | +| mtd6 | 00600000 | 00020000 | "kernel1" | +| mtd7 | 02800000 | 00020000 | "rootfs1" | +| mtd8 | 01400000 | 00020000 | "userdata" | + +This ONT supports dual boot. + +`kernel0` and `rootfs0` respectively contain the kernel and firmware of the first image, `kernel1` and `rootfs1` the kernel and firmware of the second one. + +# Usage + +## Configure IP Address +Set your PC’s IP address to `192.168.0.5/24` + +## Download Custom Firmware +Download the following firmware files and place them on a TFTP server (e.g., 3CDaemon): +* `SIEPONA_rootfs.bin` +* `SIEPONA_kernel.bin` + +## Log in to the Stick root shell +``` +$ ssh root@192.168.0.1 +root@192.168.0.1's password: hbmtsfp + +root@saturn-sfpplus-eng:~# +``` + +## Upload Firmware to the Stick +Run the following commands to download the firmware via TFTP: +``` +cd /tmp +tftp -r SIEPONA_kernel.bin -g 192.168.0.5 +tftp -r SIEPONA_rootfs.bin -g 192.168.0.5 +``` + +## Reset Configuration +``` +mkdir /userdata/upper +rm -r /overlay/upper/* +``` + +## Flash the Firmware +Execute the following commands to write the firmware: +``` +flash_erase /dev/$(awk -F: '$2 ~ /"kernel1"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"kernel1"/ {print $1}' /proc/mtd) /tmp/SIEPONA_kernel.bin +flash_erase /dev/$(awk -F: '$2 ~ /"rootfs1"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"rootfs1"/ {print $1}' /proc/mtd) /tmp/SIEPONA_rootfs.bin + +flash_erase /dev/$(awk -F: '$2 ~ /"kernel0"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"kernel0"/ {print $1}' /proc/mtd) /tmp/SIEPONA_kernel.bin +flash_erase /dev/$(awk -F: '$2 ~ /"rootfs0"/ {print $1}' /proc/mtd) 0 0 +nandwrite -p /dev/$(awk -F: '$2 ~ /"rootfs0"/ {print $1}' /proc/mtd) /tmp/SIEPONA_rootfs.bin +``` + +## Reboot the Stick +Reboot or power off the device: +``` +reboot +``` +The reboot process takes approximately 180 seconds. +If an error occurs with the reboot command, simply turn off the power. + +## Access the Web UI +Open the following URL in your browser: +* http://192.168.0.1 + +| User | Password | +| ---- | ---------- | +| `admin` | `admin` | + +## Set PON MAC Address +From the menu, select "PON MAC Address" and configure the EPON MAC address of your ONT. + +## Configure Forced Bridge Mode +From the menu, select "Forced Bridge mode" and enable it. + +## Reboot the Stick +Select "Reboot" from the menu. The reboot process takes approximately 180 seconds. + +## Connect the Fiber +Connect the ISP fiber cable to the stick. + +## ONT Authentication +Once authentication is successful, the "PON" and "AUTH" status indicators under the "Status" menu will show "OK". +At this point, the stick is successfully connected to the ISP network. + +# EPON ONT status + +## Getting the operational status of the ONT +Check the ONT Registration State with the following command: + +``` +ca-iros-> wca_epon_mpcp_registration_status_get -device_id 0 -port_id 0x20007 -llid 0 +[deregistration_cause = 0] +[mpcp_llid = 65535] +[olt_mac_addr = 00:00:00:00:00:00] +[reg_state = 0] +[retry_times = 0] +Return Value : 0 - CA_E_OK +0 +``` + +Check the ONT auth state with the following command: + +``` +ca-iros-> wca_epon_llid_traffic_enable_get -device_id 0 -port_id 0x20007 -llid 0x0 +[downstream = 1] +[upstream = 1] +0 +``` + +# EPON/OAM TLV settings +The LTF7263-BH+ Custom firmware uses a web UI for configuration. +* http://192.168.0.1 + +| User | Password | +| ---- | ---------- | +| `admin` | `admin` | + +## Getting/Setting ONT EPON MAC Address +``` +Menu > PON Setup > PON MAC Address +``` + +## Getting/Setting OAM firmware version (TLV D7/03) +``` +Menu > TLV Setup > Firmware Info (D7/03) +``` + +## Getting/Setting OAM chipset info (TLV D7/04) +``` +Menu > TLV Setup > Chipset Info (D7/04) +``` + +## Getting/Setting OAM manufacture date (TLV D7/05) +``` +Menu > TLV Setup > Date of Manufacture (D7/05) +``` + +## Getting/Setting OAM manufacture info (TLV D7/06) +``` +Menu > TLV Setup > Date of Manufacture Info (D7/06) +``` + +## Getting/Setting OAM vendor Name (TLV D7/11) +``` +Menu > TLV Setup > Vendor Name (D7/11) +``` + +## Getting/Setting OAM model Name (TLV D7/12) +``` +Menu > TLV Setup > Model Number (D7/12) +``` + +## Getting/Setting OAM hardware version (TLV D7/13) +``` +Menu > TLV Setup > Hardware Version (D7/13) +``` + +# Miscellaneous Links +- [GitHub - CA8271x](https://github.com/YuukiJapanTech/CA8271x) diff --git a/assets/img/CIG_XE-99S/UART_SFP.png b/assets/img/CIG_XE-99S/UART_SFP.png new file mode 100644 index 00000000..611c7cee Binary files /dev/null and b/assets/img/CIG_XE-99S/UART_SFP.png differ diff --git a/assets/img/CIG_XE-99S/UART_bridge.png b/assets/img/CIG_XE-99S/UART_bridge.png new file mode 100644 index 00000000..4e2b78ca Binary files /dev/null and b/assets/img/CIG_XE-99S/UART_bridge.png differ diff --git a/assets/img/CIG_XE-99S/UART_needle.png b/assets/img/CIG_XE-99S/UART_needle.png new file mode 100644 index 00000000..90526ccc Binary files /dev/null and b/assets/img/CIG_XE-99S/UART_needle.png differ diff --git a/assets/img/CIG_XE-99S/front.jpg b/assets/img/CIG_XE-99S/front.jpg new file mode 100644 index 00000000..ae38dfa7 Binary files /dev/null and b/assets/img/CIG_XE-99S/front.jpg differ diff --git a/assets/img/LTF-7263-BH/UART.png b/assets/img/LTF-7263-BH/UART.png new file mode 100644 index 00000000..d9f81986 Binary files /dev/null and b/assets/img/LTF-7263-BH/UART.png differ diff --git a/assets/img/LTF-7263-BH/front.jpg b/assets/img/LTF-7263-BH/front.jpg new file mode 100644 index 00000000..20ddfaf5 Binary files /dev/null and b/assets/img/LTF-7263-BH/front.jpg differ