I tried with bmx29 and minhng99 mtd1's but It doesn't solve the problem
In gtop I see PLOAM state = 1.
One thing that surprises me: If I connect the fiber cable with the module started it doesn't change anything (same values gtop with cable disconnected). If I restart the module with the cable inserted I see sync in Receive state machine status and Receive superframe state machine status and Downstream FEC= YES. In both cases same Ploam state.
Update: Indeed this was the problem. I used modded @bmx29 mtd2 and it detects light immediately. I didn't finish the config yet but it goes to Ploam State 3. Thank you @kapook007.
I will try to compare both images to shed some light.
root@SFP:~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/mtdblock4 is mounted as /overlay, only erasing files
Now, it seems mtd1 is empty. fw_printenv show no variables. I imagine I have to restore original mtd1 before rebooting.
mtd4 seems empty and mtd2 also changed (different md5sum)
webgui also broken.
pastebin showing differences between dmesg from HL23446 and Huawei's (bmx29 modded):
Restarting the module is safe as long as you have a USB adapter at hand in case something goes wrong. Firmware HL23446 on my MA5671A module works without any problems. It connected right away.
Here is the mtd1 that I used https://anonfiles.com/x7efTdrfo1/mtd1
I connected the cable and no reaction in gtop. Ploam state 1.
One thing I notice in otop -> status . If I'm not wrong (memory) Precalc & DCDCs voltages in Huawei (bmx29) firmware are around 35V and with HL23446 are around 44V. Both before connecting fiber cable.
Are you saying that if someone lives near OLT (strong signal -14dbm) then firmware HL23446 works on MA5671A just fine?
I saw several requests on the Mikrotik forum for full software for HL23446 or CPGOS03-0490. But no one shared them. @morishe
What's your signal level?
Perhaps part of the problem is the lack of optical calibration on your module. This may be important for distant locations. My module MA5671A came as calibrated.
My understanding is that this module responds to an OMCI inquiry about its capabilities. After identifying itself as a single port SFU, OLT should assign a bridge profile.
Good night.
Thanks for you GREAT job !
i have done all you showed me and boom i have the root shell
configure all with serial but...
still going up and down from state 2 to 5 and back
errorcode=0 curr_state=3 previous_state=2 elapsed_msec=4294947528
root@SFP:~# onu ploamsg
errorcode=0 curr_state=5 previous_state=4 elapsed_msec=4294948648
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=2 previous_state=5 elapsed_msec=4294948732
root@SFP:~# onu ploamsg
errorcode=0 curr_state=3 previous_state=2 elapsed_msec=4294953680