You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [Nokia G-010S-A](/ont-nokia-g-010s-a) can be flashed with the Nokia G-010S-P firmware, provided the MTD layout has been changed beforehand to match the new one. For the full procedure, see the post on [lafibre.info](https://lafibre.info/remplacer-livebox/guide-de-connexion-fibre-directement-sur-un-routeur-voire-meme-en-2gbps/msg870551/#msg870551)
49
49
50
+
## List of software versions
51
+
52
+
- 3FE56853AOPD39
53
+
50
54
## Serial
51
55
52
56
The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the SFP connector.
@@ -167,33 +171,6 @@ uci commit
167
171
168
172
{% include alert.html content="There is also the `onu gtc_password_set` command to set the ploam password but it does not seem to work." alert="Info" icon="svg-info" color="blue" %}
169
173
170
-
171
-
## Getting/Setting Speed LAN Mode
172
-
173
-
The known speed values are as follows:
174
-
175
-
| Value | Speed |
176
-
| ----- | -------- |
177
-
| 4 | 1 Gbps |
178
-
| 5 | 2.5 Gbps |
179
-
180
-
To set the (H)SGMII Mode:
181
-
182
-
```sh
183
-
fw_setenv sgmii_mode 5
184
-
```
185
-
186
-
To remove the value (back to default):
187
-
```sh
188
-
fw_setenv sgmii_mode
189
-
```
190
-
191
-
To get the (H)SGMII Mode:
192
-
193
-
```sh
194
-
onu lanpsg 0
195
-
```
196
-
197
174
The `link_status` value shows the speed.
198
175
199
176
## Disabling Dying Gasp
@@ -208,7 +185,7 @@ reboot
208
185
209
186
## Checking whether the connection with the OLT was successful (O5 state)
210
187
211
-
```shell
188
+
```sh
212
189
onu ploamsg
213
190
```
214
191
@@ -239,10 +216,37 @@ cp /dev/mtdX /tmp
239
216
{% include alert.html content="If you use a modern OpenSSH version (e.g. >= 8.8) you will have to use the legacy protocol and enable some deprecated algorithms: `scp -oKexAlgorithms=+diffie-hellman-group1-sha1 -oHostKeyAlgorithms=+ssh-dss [...]`" alert="Info" icon="svg-info" color="blue" %}
{% include alert.html content="Image 0 can be flashed to image 1, while image 1 cannot be flashed to image 0 because it has larger rootfs_data" alert="Warning" icon="svg-warning" color="yellow" %}
240
+
241
+
The following commands are used to clone image0 to image1 and then boot to it
242
+
```sh
243
+
# cat /dev/mtd2 > /tmp/mtd2.bin
244
+
# mtd -e image1 write /tmp/mtd2.bin image1
245
+
# fw_setenv committed_image 1
246
+
# fw_setenv image1_is_valid 1
247
+
# reboot
248
+
```
249
+
246
250
## Flashing a new rootfs via SSH
247
251
248
252
{% include alert.html content="Only the inactive image can be flashed" alert="Info" icon="svg-info" color="blue" %}
@@ -261,7 +265,7 @@ The following commands are used to flash a new rootfs to image1 and then boot to
261
265
262
266
If you wish to change the firmware via serial, we recommend using the web app: [Web Serial Flash](/ont-nokia-g-010s-p-ymodem)
263
267
264
-
# TX Fault / Serial
268
+
##TX Fault / Serial
265
269
266
270
The stick stays in a perpetual "TX Fault" state since the same SFP pin is used for both serial and TX Fault signaling, if that causes you issues (normally it shouldn't) you can issue the commands below to disable it. Note that it will disable both the TX Fault signal and Serial on the stick after boot.
267
271
@@ -277,10 +281,125 @@ FALCON => setenv asc0 0
277
281
FALCON => saveenv
278
282
```
279
283
284
+
## Getting/Setting Speed LAN Mode
285
+
286
+
| Velue | Speed |
287
+
| ----- | ---------------------------------- |
288
+
| 4 | 1 Gbps / SGMII |
289
+
| 5 | 2.5 Gbps / HSGMII with auto-neg on |
290
+
291
+
To enable the 2.5 Gbps / HSGMII with auto-neg on:
292
+
293
+
```sh
294
+
fw_setenv sgmii_mode 5
295
+
```
296
+
297
+
To remove the value (back to default):
298
+
```sh
299
+
fw_setenv sgmii_mode
300
+
```
301
+
302
+
To get the (H)SGMII Mode:
303
+
304
+
```sh
305
+
onu lanpsg 0
306
+
```
307
+
The `link_status` variable tells the current speed
308
+
309
+
## Querying a particular OMCI ME
310
+
```sh
311
+
omci_pipe.sh meg MIB_IDX ME_IN
312
+
```
313
+
Where `MIB_IDX` is the MIB ID and the `ME_IN` is the ME instance number
314
+
315
+
# EEPROM (I2C slave simulated EEPROM)
316
+
317
+
The Nokia G-010S-P does not have a physical EEPROM, the Falcon SOC emulates an EEPROM by exposing it on the I2C interface as required by the SFF-8472 specification.
318
+
319
+
On the I2C interface there will be two memories of 256 bytes each at the addresses `1010000X (A0h)` and `1010001X (A2h)`.
320
+
321
+
The Zyxel PMG3000-D20B stores the content of the emulated EEPROM1 (A2h) in Boot env variable `sfp_a2_info` to restore it after a reboot.
322
+
323
+
{% include alert.html content="The contents of EEPROM0 (A0h) are not stored anywhere and is regenerated at each boot" alert="Info" icon="svg-info" color="blue" %}
324
+
325
+
## EEPROM1 layout
326
+
327
+
| address | size | name | default value | description |
0 commit comments