-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HSGMII firmware #17
Comments
Firmware for TWCGPON657 is there in Firmware folder, I not sure Firmware is interchangeable, however I haven't tried 2.5GbE since I don't have 2.5GbE capable SFP+ Router |
So we cannot use TWCGPON657 firmware on V2801F? TWCGPON657 isn't available everywhere :( |
Yes, I have tried it, the PON laser didn't give any reading. need someone reverse engineering rtl driver to support 2.5GbE |
Do you have the TWGPON? Can be interesting to get an "nv getenv". Looks like that on the V2801F's kernel there are references to HiSGMII may be we just need to enable a flag on the uBoot or XML |
currently I use TWCGPON657 with V2801F firmware.. here my
|
Thanks! So can I flash TWGCP FW on V2801F as second image? I want to check if it can links at 2.5GbE Because we are using uBoot it's easy to rollback using serial. Do you know if v2801f has UART exposed on SFP side? Thanks again |
You can flash V2801F with TWCGPON657 firmware, you need tweak it to make PON Laser working which is I dont know yet... There 3 different version
You try all 3 and tell me which one support 2.5GbE, and check I have TWCGPON657 and V2801F stick, both stick are not expose UART on SFP even UART pin |
Which tweak is needed? Just use these tar file on the WebUI update? Thx |
just flash it as usual, if not working, you need downgrade V2801F firmware first |
Currently I'm using the latest firmware found here on your repo on my V2801F. I'll try it tonight an report back the findings ;) |
great... if you plan to flash back V2801F firmware, set
|
good and bad news... good news: I was able to flash both 2019 and 2020 B13/B15 files on my V2801F. On first attempt i catch into /proc/kmsg this log:
so looks like that the TWCGPON657 acts in a different way. also a "nv getenv" doesn't reports any difference between the two firmware. On the login page I was able to read the TX Power of laser, but not able to test with fiber attached. Now the bad news After some test I cannot logon anymore on the firmware :( i've tried all password but nothing to do, so i'm out and cannot access by telnet or web. Do you know if there are a default credential that I can try? thanks in advance EDIT: i was able to login again with "system" password. I've tried also to attach the fiber and the stick cannot go ahead of O3 status. Now my major problem is to fix the EEPROM. Looks like that the stick with the firmware from TWCGPON657 doesn't expose anything on that, and it cannot be enabled on my MacchiatoBIN to check if the link goes at 2500Base-SX Any hits how to fix the EEPROM? |
a little update: the code into kernel
it's called when parameter Now I cannot test it on my MacchiatoBIN because the eeprom is empty and Linux doesn't initialize the SFP port @Anime4000 can you send me a Thanks in advance |
That default value for my then I set then I it seem V2801F firmware are not build to support 2.5GbE can you try possible value for
you got RX reading? |
Regarding laser reading, this is my current situation: I've tried
Now my main problem is the eeprom reading to test if the 2.5GbE it's working.. Thanks |
I use EdgeRouter 12 can read EEPROM like this: Ubiquiti use this kernel patch to allow reading RTL9601C1 EEPROM emulator, yes, RTL9601C1 didn't have EEPROM, it just emulating it. for Mikrotik, I not sure, I need but the device to fully test. what OS you using inside MacchiatoBIN? |
On MCBIN I'm using OpenWRT snapshot. Before flashing TWCGPON firmware on V2801F, the stick was correctly recognized and the patch you have linked was working. Now the kernel Linux (and also my Ubiquiti switch) didn't recognize any info from the SFP. It's strage because I'm assuming that the EEPROM should be generated by the OS (may be configd daemon?).. Do you know if the stock can still be bought somewhere? |
there is 2 option I can think of,
I bought TWCGPON657 here
I notice |
As I've said until I have problems with the eeprom the OpenWrt on my MCBIN doesn't initialize the SFP port :( Regarding DFP-34X-2C2 firmware, is it working on V2801F? |
Sorry, this mean SFP has no connection? ~ 6 am here I haven't sleep 🤣
This one I not tried yet, because my V2801F has been dead for 1 year because invalid |
The problem is that on Linux kernel SFP needs to pass various steps, in my case the SFP_MOD_PROBE that check the EEPROM doesn't pass validation and so the cage is not enabled. Unifi switch is less restrictive but it's only 1Gbit/s device so I cannot test HSGMII@2.5GbE I don't understand one thing: if I revert back to the V2810F firmware what's are the correct step to follow and avoid boot loop? Thanks |
I see to revert back V2801F firmware, do this:
doing |
ok so PON_MODE 3 avoid auto-reboot right? Today i'll try to force a link (with clean up sfp.c on kernel) to see if the stick can negotiate at 2500 |
@Anime4000 are you able to dump the flash using SOP8 clip? Thanks in advance |
about this test, it went bad :( |
May be i've found where the parameter the file that change the behaviour is on the V2810F this is the code:
while TWCGPON657 is parsing the mode from XML file and set it based on the value on it:
So I think that V2801F with modded files and new rootfs can change this behaviour. Now i've to flash back my stick and try.. |
Nice finding... 👍 I also manage to update qemu script making thing easier! I notice |
Little update: this morning i've repacked the V2801F firmware changing the file So i've only two way to restore:
If I have any news i'll update this thread |
Understood. But, how would it work for @stich86 in this case? It is the same scenario. His example is also using RoS 7. And as I mentioned the RateSelect is set to High. |
Different OLT or configuration from ISP. |
@ToTheCLI ok, but then it would fail when connected to the Ubiquiti UDM/UDW, right? |
Different response from Ubiquiti to dying gasp. |
@stich86 have you had any issues in regards to the dying gasp using the ODI on that switch? |
no, but i'm not using ODI for at least 6 month, i'm on XGSPON now.. |
Can you link that? I can purchase one.
v7.9 |
ehm... XGSPON is a different technology than GPON, it's a 10/10Gbit line :) |
On 17/05/2023 15:45, ToTheCLI wrote:
@marcinkuczera <https://github.com/marcinkuczera>
In general - do not use that switch.
Understood. But, how would it work for @stich86
<https://github.com/stich86> in this case? It is the same
scenario. His example is also using RoS 7. And as I mentioned the
RateSelect is set to High.
Check diagram of your Mikrotik.
From my tests - RB4011 - no matter RateSelect config is - it is allways
low in slot.
Alredy reported this to Mikrotik, but I'am not sure if they will or they
can correct it, as it can be also hardwired...
Marcin
… Different OLT or configuration from ISP.
—
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AZRXNRVXX66QZ3IBDQGO4JDXGTI6VANCNFSM5PN2CX4Q>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
pozdrawiam/regards,
__________________________
Marcin Kuczera / CEO/CTO
+48 32 440 80 71 / ***@***.***
***@***.***>
LeoLabs Sp. z o.o.
ul. Jankowicka 51
44-218 Rybnik
VAT: 6423216408
http://www.leolabs.pl/ <http://www.leolabs.pl/>
|
Ok, I finally found what the problem is. The 2.5G works perfectly fine. That switch works perfectly fine, and the laser was being powered just fine. The problem was a misconfiguration in the Bridge on the switch. The port from which the ODI is connected needs to be tagged on VLAN 10 and untagged on VLAN 1. If I just leave it only on the tagged VLAN 10, the PPPoE connection wouldn't work. If I leave it untagged without the VLAN10, as soon as the local network sends traffic thru the fiber, the OLT shut us down with an alarm and we have to wait a bit to try again. On a side note, the After the proper config on the CRS305-1G-4S+ switch bridge, I've being using the ODI for a week with 0 disconnections. I've manually rebooted the switch and the ODI multiple times and it always reconnect perfectly fine. TL;DR; you can use the CRS305-1G-4S+ with the ODI in 2.5G mode. |
@Smotrov here |
tested and succeded with ODI Xpon and this MEDIA CONVERTER (plug n play) But i will try at 2.5 Gbps as soon i am pretty sure about the LAN_SDS_MODE (i am not certain if the media converter uses 2.5Gb PHY or 2500baseX. I am afraid to test it because if i lose contact with sfp i don't have another way to get it back. So i am waiting instructions from the manufacturer of media converter from China). |
I believe ODI has SFP MII Auto Negotiation. My Media Converter works well with 2500Base-X. Stick boot time take ~30 second and 2500Base-X work right away, no Auto Negotiation involved |
ODI has AutoNegotiation but only for 1000gbps option? or for 2.5G also? should i give?? flash set LAN_SDS_MODE = 6 ( change mode to 6(2500BaseX)) |
ODI has an auto-detect function from 1 to 7, I see it searches sequentially, changing mode from 0 to 1, then from 1 to 3, then to 4, finally to 7, whenever the receiving device matches then it will stop checking, otherwise the loop continues. '# counter = 0 '# counter = 0 '# counter = 0 '# It will always prioritize 1G mode (if your device is in Auto mode), unless you permanently assign it to 2.5G then it automatically switches LAN_SDS_MODE from 0 to 4). If you do not have a media converter that supports 2.5G, don't change to modes 4, 5, 6, and 7, otherwise you will not be able to access sfp (you must use UART at that time to reset). |
Thank you! I suppose my media converter supports 2500baseX but since odi doesn’t autodetect mode 6 I can’t risk do it manually! I will contact the aliexress supplier to be sure |
Why do you want to change to mode 6, what about 4 and 5? Does your media converter have buttons on the front or back? to manually select between 1G and 2.5G for example as shown below: or |
my media converter is in the photo above. No buttons. It says supports 1g , 2.5g , 10g but i don't know the protocol. |
My 2.5G Media Converter is this one I like this more than any, as I said, it support 2500Base-X right away, it just take < 30 sec to complete boot with WebGUI ready to access. 2500Base-X quite useful on RB5009, it worked at first try and after RB5009 completed the boot and internet connected! About SFP MII Auto Nego on ODI/HSGQ sticks, don't worry setting to Mode 6, as @vuducdong tell, it will Auto Nego. |
I am using the ODI SFP purchased from here and I am using it in a RB5009UPr. It is not stable at 2.5gbit link rate with LAN_SDS_MODE set to 5 or 6 and ROS set to 2.5G-Base-X. SFP's interface some times becomes inaccessible and I see a surge in Tx queue drops counter. I have not yet tested if this could be affecting stability of the pppoe tunnel running on it. Auto negotiation does not work and 1G-Base-X with LAN_SDS_MODE set to 1 is stable. Edit 1: Should I try the newer firmware on this device? 🤔
|
Have you tried with version V1.1-231206 on sw_version0 ??? compared to the latest versions today (v1.0-220923 or v1.2.2-221209) |
there is new firmware? 231206 ? |
Yess, looks like that. I don't know why they configured it to run v1.0-230303 out of the box instead of the newer firmware. And even on 1g-base-x, I see some tx drops although considerably less than what I was seeing on 2.5g-base-x. I'll try the new firmware in a few hours. |
@stich86 Ho un DFP-34X-2C2 con firmware originale 220923 installato su una 5009! Ho avuto modo di smanettarci molto ma non c'è stato verso di farlo funzionare! Gli impianti in fibra sono recentissimi e da come ho capito l'olt è huawei... L'ho configurato in bridge L2 per lasciar passare le vlan trasparenti ma nulla! Staggata ovviamente la 835 sull'sfp ed aggiunto un pppoe cli... c'è un modo per farlo funzionare oppure devo cestinarlo e rassegnarmi? Tra l'altro mi sono perso tra le mille discussioni implicite, incasinate e poco chiare e non ho ancora capito se è possibile aggiungere Mib sul firmware originale oppure se va modificato e se devo farlo per forza in seriale oppure via rete! |
Doesn't seem to work on the TP-Link ER7206, the SFP light on the router just keeps going on/off every 10 seconds or so. Afaik, the router supports 1G only. I'm suspecting either some timeout failure on the ER7206 (because of the stick's slow boot time) or it getting confused by (possible) vlan tagged traffic from the stick. I might have to buy another stick for experimenting, as my current one is my only way of connecting to the internet, and messing it up is not an option. |
there are several possible reasons for such behavior. |
I think it might be related to the different modes the stick can operate (lan_sds_mode) but I'm reluctant to blindly testing my only stick. It is operating in mode 3 (1gb MAC, SGMII) which works on the Mikro-Tik, I don't know if this is the default setting, or if it has selected this automatically. I suspect the ER7206 doesn't support this, and is expecting a fiber transceiver, thus putting the stick in mode 1 (1Gbasex fiber) could possibly work -or permanently lock me out from the stick. |
Hi @Anime4000
I saw you post on lowyat.net about TWCGPON657 that should support HSGMII on LAN side (2.5Gbit/a). Looks like that also HiSense LTE3415 reports this protocol on the data sheet. Chipset is still RTL9601C.
Do you have any info about that firmware? Here in Italy we are struggling with the various LantiQ sticks (at the moment the only one that support 2.5 also on line side) but for particulars FTTH provider we cannot achieve full speed compared to external ONT
Thanks in advance
The text was updated successfully, but these errors were encountered: