Skip to content

Commit c613a67

Browse files
authored
Update YOTC M2-2050-G40 specifications and commands
Updated chipset and CPU clock information, added software versions, and included commands for image management.
1 parent 9f625d0 commit c613a67

1 file changed

Lines changed: 239 additions & 0 deletions

File tree

_ont_xgs/ont-yotc-m2-2050-g40.md

Lines changed: 239 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,239 @@
1+
---
2+
title: YOTC M2-2050-G40
3+
has_children: false
4+
layout: default
5+
parent: YOTC
6+
---
7+
8+
# Hardware Specifications
9+
10+
| | |
11+
| --------------- | ---------------------------------------------------------------------- |
12+
| Vendor/Brand | YOTC |
13+
| Model | M2-2050-G40 |
14+
| Chipset | Realtek RTL9607C / RTL9607Cv2 |
15+
| Flash | SPI NAND 128MB |
16+
| RAM | 256MB |
17+
| CPU | Formosa MIPS interAptiv (multi) V2.0 |
18+
| CPU Clock | 900MHz / 1150MHz |
19+
| BogoMIPS | 597.60MHz / 766.77MHz |
20+
| System | Linux 4.4.140 (GCC Realtek MSDK-4.8.5p1 Build 3068) |
21+
| Ethernet ports | 2x1G |
22+
| Optics | SC/APC |
23+
| IP address | 192.168.1.1 or 192.168.8.1 |
24+
| Web Gui | ✅ user `super`, password `opticalink` OR user `User`, password `User` |
25+
| Telnet | ✅ user `super`, password `opticalink` OR user `User`, password `User` |
26+
| SSH | NO |
27+
| Serial baud | 115200 |
28+
| Serial encoding | 8-N-1 |
29+
| Form Factor | ONT |
30+
31+
32+
{% include image.html file="yotc-m2-2050-g40-top.jpg" alt="YOTC M2-2050-G40 Top" caption="YOTC M2-2050-G40 Top" %}
33+
{% include image.html file="yotc-m2-2050-g40-bottom.jpg" alt="YOTC M2-2050-G40 Bottom" caption="YOTC M2-2050-G40 Bottom" %}
34+
{% include image.html file="yotc-m2-2050-g40-pcb-top.jpg" alt="YOTC M2-2050-G40 PCB Top" caption="YOTC M2-2050-G40 PCB Top" %}
35+
{% include image.html file="yotc-m2-2050-g40-pcb.jpg" alt="YOTC M2-2050-G40 PCB Bottom" caption="YOTC M2-2050-G40 PCB Bottom" %}
36+
37+
# Serial
38+
39+
{% include image.html file="yotc-m2-2050-g40-ttl.jpg" alt="Serial Pinout (dont connect vcc)" caption="Serial Pinout (dont connect vcc)" %}
40+
41+
## List of Software versions
42+
- 518_V300R02B15 (doesn't have upg_app, wget, wget_manage)
43+
- 518_V300R02B21
44+
- 518_V300R02B22
45+
- 518_V300R02B25
46+
- 518_V300R02B31
47+
48+
## List of partitions (MTD)
49+
50+
| dev | size | erasesize | name |
51+
| ----- | -------- | --------- | ------------- |
52+
| mtd0 | 000c0000 | 00020000 | "boot" |
53+
| mtd1 | 00020000 | 00020000 | "env" |
54+
| mtd2 | 00020000 | 00020000 | "env2" |
55+
| mtd3 | 00020000 | 00020000 | "static_conf" |
56+
| mtd4 | 07c60000 | 00020000 | "ubi_device" |
57+
| mtd5 | 0081d000 | 0001f000 | "ubi_Config" |
58+
| mtd6 | 00516000 | 0001f000 | "ubi_k0" |
59+
| mtd7 | 0141a000 | 0001f000 | "ubi_r0" |
60+
| mtd8 | 00516000 | 0001f000 | "ubi_k1" |
61+
| mtd9 | 0141a000 | 0001f000 | "ubi_r1" |
62+
63+
## List of volumes (UBI)
64+
65+
| dev | size | type | name |
66+
| ------ | ---------- | ------- | ------------ |
67+
| ubi0_0 | 8507392B | dynamic | "ubi_Config" |
68+
| ubi0_1 | 5332992B | dynamic | "ubi_k0" |
69+
| ubi0_2 | 21078016B | dynamic | "ubi_r0" |
70+
| ubi0_3 | 5332992B | dynamic | "ubi_k1" |
71+
| ubi0_4 | 21078016B | dynamic | "ubi_r1" |
72+
73+
74+
To back up a volume, `cat` the appropriate `/dev/ubi0_X` device to a file or pipe, to restore a volume, use the `ubiupdatevol` utility.
75+
76+
This ONT supports dual boot.
77+
78+
Volumes `ubi_k0` and `ubi_r0` respectively contain kernel and rootfs of the first image, while `ubi_k1` and `ubi_r1` contain kernel and rootfs of the second one.
79+
80+
# Useful files and binaries
81+
82+
## Useful files
83+
84+
User Configuration:
85+
```
86+
/var/config/config.xml
87+
```
88+
89+
Custom Default Configuration:
90+
```
91+
/var/config/config_custom_default.xml
92+
```
93+
94+
Custom Configuration (on reset):
95+
```
96+
/var/config/custom_config.sh
97+
```
98+
99+
Hardware Configuration:
100+
```
101+
/var/config/config_hs.xml
102+
```
103+
104+
# GPON/OMCI settings
105+
106+
## Set OMCI mode to customized so versions don't reset
107+
```
108+
mib set OMCI_OLT_MODE 3
109+
```
110+
111+
## Setting OMCI software version (ME 7)
112+
```
113+
mib set OMCI_SW_VER1 YOURSWVER
114+
mib set OMCI_SW_VER2 YOURSWVER
115+
```
116+
117+
## Setting OMCI vendor ID (ME 256)
118+
```
119+
mib set PON_VENDOR_ID VEND
120+
```
121+
122+
## Setting ONU GPON Serial Number
123+
```
124+
mib set GPON_SN VEND1234ABCD
125+
```
126+
127+
## Setting OMCI hardware version (ME 256)
128+
```
129+
mib set HW_HWVER YOURHWVER
130+
```
131+
132+
## Setting OMCC version (ME 257), only accepts decimal values.
133+
```
134+
mib set OMCC_VER 128
135+
```
136+
137+
## Setting Product Code (ME 257), only accepts decimal values.
138+
```
139+
mib set OMCI_VENDOR_PRODUCT_CODE 0
140+
```
141+
142+
## Setting OMCI equipment ID (ME 257)
143+
```
144+
mib set GPON_ONU_MODEL YOUREQUIPMENTID
145+
```
146+
147+
## Setting VEIP slot ID (example for 255), only accepts decimal values.
148+
```
149+
mib set OMCI_VEIP_SLOT_ID 255
150+
```
151+
152+
## Commit Changes.
153+
```
154+
mib commit
155+
```
156+
157+
158+
# Verification commands for settings changed above (all settings take a reboot to apply)
159+
160+
## Verify SwVer (ME 7)
161+
```
162+
omcicli mib get 7
163+
```
164+
165+
## Verify Vendor ID, HwVer, and G984 Serial (ME 256)
166+
```
167+
omcicli mib get 256
168+
```
169+
170+
## Verify OMCC version, Equipment ID and Product Code (ME 257)
171+
```
172+
omcicli mib get 257
173+
```
174+
175+
## Verify VEIP customized slot ID (ME 329)
176+
```
177+
omcicli mib get 329
178+
```
179+
180+
181+
# Advanced Settings
182+
183+
## Setting management MAC
184+
```
185+
mib set ELAN_MAC_ADDR 1A2B3C4D5E6F
186+
```
187+
188+
## Setting management IP
189+
```
190+
mib set LAN_IP_ADDR 192.168.8.1
191+
```
192+
193+
## Checking the currently active image
194+
```
195+
nv getenv sw_active
196+
```
197+
198+
## Booting to a different image
199+
```
200+
# Switch to image 0
201+
nv setenv sw_commit 0
202+
nv setenv sw_tryactive 0
203+
```
204+
205+
```
206+
# Switch to image 1
207+
nv setenv sw_commit 1
208+
nv setenv sw_tryactive 1
209+
```
210+
211+
## Cloning of image 0 into image 1
212+
```
213+
cp /dev/ubi0_1 /tmp/
214+
cp /dev/ubi0_2 /tmp/
215+
ubiupdatevol /dev/ubi0_3 /tmp/ubi0_1
216+
ubiupdatevol /dev/ubi0_4 /tmp/ubi0_2
217+
```
218+
219+
## Rebooting the ONU
220+
```
221+
reboot
222+
```
223+
224+
## Enable Ethernet Ports
225+
```
226+
mib set SW_PORT_TBL.0.Enable 1
227+
mib set SW_PORT_TBL.1.Enable 1
228+
mib set SW_PORT_TBL.2.Enable 1
229+
mib set SW_PORT_TBL.3.Enable 1
230+
```
231+
232+
## Enable 5GHz WiFi
233+
```
234+
mib set WLAN_MBSSIB_TBL.0.wlanDisabled 0
235+
```
236+
237+
# Teardown and other photos
238+
{% include image.html file="yotc-m2-2050-g40-pcb-top-b21.jpg" alt="YOTC M2-2050-G40 PCB Top (newer revision with RTL9607Cv2)" caption="YOTC M2-2050-G40 PCB Top (newer revision with RTL9607Cv2)" %}
239+
{% include image.html file="yotc-m2-2050-g40-pcb-b21.jpg" alt="YOTC M2-2050-G40 PCB Bottom (newer revision with RTL9607Cv2)" caption="YOTC M2-2050-G40 PCB Bottom (newer revision with RTL9607Cv2)" %}

0 commit comments

Comments
 (0)