This page collects the commands shared by the firmwares built on the Lantiq FALC ON SDK with OpenWrt (Lantiq FALC ON PEB98035 chipset), e.g. on the Huawei MA5671A, the Nokia G-010S-P and the FS.com GPON ONU Stick with MAC.
WARNING
These commands do not apply to the firmwares built on other systems (e.g. eCos) or on other SDKs, even if they run on the same chipset. Every firmware also has its own commands and settings: check the page of the firmware.
Dasan H650SFP and DpOptics D23446 are also reported to share the same hardware, this is not verified.
The procedures that depend on the bootloader and on the flash (backup, flashing, switching the active image, serial recovery) are in the device pages, e.g. Huawei MA5671A.
GPON ONU status
Getting the operational status of the ONU
onu ploam_state_getThe short form of the command is onu ploamsg.
Querying a particular OMCI ME
omci_pipe.sh meg MIB_IDX ME_INWhere MIB_IDX is the MIB ID and ME_IN is the ME instance number.
Getting/Setting Speed LAN Mode
To get the LAN Mode:
onu lan_port_status_get 0The short form of the command is onu lanpsg 0. The link_status variable tells the current speed:
Value (for sgmii_mode and link_status) | Speed |
|---|---|
| 3 | 1 Gbps / SGMII with auto-neg on |
| 4 | 1 Gbps / SGMII with auto-neg off |
| 5 | 2.5 Gbps / HSGMII with auto-neg on |
The default LAN mode is set with the sgmii_mode U-Boot variable, e.g. 2.5 Gbps / HSGMII with auto-neg on:
fw_setenv sgmii_mode 5To go back to the default of the firmware:
fw_setenv sgmii_modeU-Boot environment
The settings of these firmwares are mostly stored in the U-Boot environment. To print all the variables, or a single one:
fw_printenv
fw_printenv VARIABLETo set or delete a variable:
fw_setenv VARIABLE VALUE
fw_setenv VARIABLEThe names of the variables (serial number, PLOAM password, LOID, OMCI identity...) depend on the firmware.
Nokia G-010S-A
The firmwares that run on the Nokia G-010S-P and on the Huawei MA5671A also run on the Nokia G-010S-A, provided its MTD layout has been changed beforehand to match the new one. For the full procedure, see this post on lafibre.info.
WARNING
Like the G-010S-P, the G-010S-A has a physical EEPROM: a firmware that does not support it may not work correctly.