From e910418580f6ac56641854b08e468bf032a4cc70 Mon Sep 17 00:00:00 2001 From: Giammarco Marzano Date: Tue, 29 Nov 2022 13:17:33 +0100 Subject: Update LEOX lxt-010s-h wiki (#44) - add info about connector type - add info about UART connection and image - add flash and ram size - add web ui confirmation - add partition layout - add current known firmware revision - add current known issues - add commands to change IP and LAN_SDS_MODE --- _ont/ont-leox-lxt-010s-h.md | 75 ++++++++++++++++++++++++++++++--- assets/img/ont-leox-lxt-010s-h_ttl.jpg | Bin 0 -> 64882 bytes 2 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 assets/img/ont-leox-lxt-010s-h_ttl.jpg diff --git a/_ont/ont-leox-lxt-010s-h.md b/_ont/ont-leox-lxt-010s-h.md index 4bf89a2..c2e0878 100644 --- a/_ont/ont-leox-lxt-010s-h.md +++ b/_ont/ont-leox-lxt-010s-h.md @@ -12,27 +12,68 @@ parent: Leox | Vendor | Leox | | Model | LXT-010S-H | | Chipset | RTL9601CI | -| Flash | | -| RAM | | +| Flash | 128MB | +| RAM | 32MB | | System | Linux 3.18 (Luna SDK 3.3) | | HSGMII | ✅ | -| Optics | | +| Optics | SC/UPC | | IP address | 192.168.100.1/24 | -| Web Gui | | +| Web Gui | ✅ | | Telnet | ✅ user `leox`, password `leolabs_7` | | Form Factor | miniONT SFP | ## List of software versions ## List of partitions -## List of firmwares and files + +| dev | size | erasesize | name | +| ----- | -------- | --------- | --------------- | +| mtd0 | 00040000 | 00001000 | "boot" | +| mtd1 | 00002000 | 00001000 | "env" | +| mtd2 | 00002000 | 00001000 | "env2" | +| mtd3 | 0003c000 | 00001000 | "config" | +| mtd4 | 00300000 | 00001000 | "k0" | +| mtd5 | 004c0000 | 00001000 | "r0" | +| mtd6 | 00300000 | 00001000 | "k1" | +| mtd7 | 004c0000 | 00001000 | "r1" | +| mtd8 | 00001000 | 00001000 | "Partition_008" | +| mtd9 | 00001000 | 00001000 | "Partition_009" | +| mtd10 | 00001000 | 00001000 | "Partition_010" | +| mtd11 | 00001000 | 00001000 | "Partition_011" | +| mtd12 | 00300000 | 00001000 | "linux" | +| mtd13 | 004c0000 | 00001000 | "rootfs" | + +This stick supports dual boot. + +`k0` and `r0` respectively contain the kernel and firmware of the first image, `k1` and `r1` the kernel and the firmware of the second one + +## Serial Console + + +The stick has a TTL 3.3v UART console (configured as 115200 8-N-1) that can be accessed from the top surface. To accept TX line commands, GND of TTL adapter should be attached to the stick's shield: + +{% include image.html file="ont-leox-lxt-010s-h_ttl.jpg" alt="Leox LXT-010S-H TTL Pinout" caption="Leox LXT-010S-H TTL Pinout" %} + +## List firmware version + +{% include alert.html content="There is a new firmware avaliable from LeoLabs that fix the 2.5GbE" alert="Note" icon="svg-info" color="blue" %} + +- V3.3.4L3 +- V3.3.4L4rc1 (Fix 2.5GbE HiSGMII) # Useful Commands +## Change IP address +```sh +# /etc/scripts/flash get LAN_IP_ADDR +LAN_IP_ADDR=192.168.2.1 +# /etc/scripts/flash set LAN_IP_ADDR 192.168.1.1 + ``` + ## Getting/Setting the ONT's S/N ```sh # /etc/scripts/flash get GPON_SN -GPON_SN=TMBB00000000 +GPON_SN=LEOX00000000 # /etc/scripts/flash set GPON_SN TMBB0A1B2C3D ``` @@ -46,7 +87,29 @@ GPON_PLOAM_PASSWD=AAAAAAAAAA # /etc/scripts/flash set GPON_PLOAM_PASSWD AAAAAAAAAA ``` +## LAN SDS Mode (with firmware V3.3.4L4rc1): + +| mode | description | +| -------------------- | ------------------------------------ | +| LAN_SDS_MODE = 1 | 1GbE with auto-neg on | +| LAN_SDS_MODE = 7 | 1GbE with auto-neg off | +| LAN_SDS_MODE = 8 | 2.5GbE with auto-neg off | + +If you try to use a mode not listed here, stick will use 1 as default + +to change the link mode use this command: + +```sh +# /etc/scripts/flash get LAN_SDS_MODE +LAN_SDS_MODE=1 +# /etc/scripts/flash set LAN_SDS_MODE 1 +``` + # Known Bugs + +Stock firmware doesn't work @ 2.5GbE. There is a new firmware avaliable from LeoLabs that fix this issue + + # Miscellaneous Links diff --git a/assets/img/ont-leox-lxt-010s-h_ttl.jpg b/assets/img/ont-leox-lxt-010s-h_ttl.jpg new file mode 100644 index 0000000..6675219 Binary files /dev/null and b/assets/img/ont-leox-lxt-010s-h_ttl.jpg differ -- cgit v1.2.3