Anime4000 / RTL960x

Hacking V2801F, TWCGPON657 & DFP-34X-2C2 GPON ONU SFP Stick to suite your ISP Fiber
The Unlicense
592 stars 105 forks source link

HSGMII firmware #17

Open stich86 opened 2 years ago

stich86 commented 2 years ago

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

Anime4000 commented 2 years ago

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

stich86 commented 2 years ago

TWCGPON657

So we cannot use TWCGPON657 firmware on V2801F?

TWCGPON657 isn't available everywhere :(

Anime4000 commented 2 years ago

Yes, I have tried it, the PON laser didn't give any reading.

need someone reverse engineering rtl driver to support 2.5GbE

stich86 commented 2 years ago

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

Anime4000 commented 2 years ago

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 nv getenv

# nv getenv
Valid environment: 2
b0=setenv bootargs ${bootargs_base} ${mtdparts0} ${rst2dfl_flg}; bootm ${img0_kernel}
b1=setenv bootargs ${bootargs_base} ${mtdparts1} ${rst2dfl_flg}; bootm ${img1_kernel}
baudrate=115200
boot_by_commit=if itest.s ${sw_commit} == 0;then run set_act0;run b0;else run set_act1;run b1;fi
boot_by_tryactive=if itest.s ${sw_tryactive} == 0;then setenv sw_tryactive 2;setenv sw_active 0;saveenv;run en_wdt;run b0;else setenv sw_tryactive 2;setenv sw_active 1;saveenv;run en_wdt;run b1;fi
bootargs=console=ttyS0,115200 mtdparts=rtk_spi_nor_mtd:256K(boot),8K(env),8K(env2),240K(config),3M(k0)ro,4864K(r0)ro,3M(k1),4864K(r1),4K@0ro,4K@0ro,4K@0ro,4K@0ro,3M@512K(linux),4864K@3584K(rootfs) root=31:5
bootargs_base=console=ttyS0,115200
bootcmd=if itest.s ${sw_tryactive} == 2; then run boot_by_commit;else run boot_by_tryactive;fi
bootdelay=5
en_wdt=mw b8003268 e7c00000
erase_cfgfs=sf erase ${fl_cfgfs} +${fl_cfgfs_sz}
erase_env=sf erase ${fl_env} +${fl_env_sz};sf erase ${fl_env2} +${fl_env_sz}
ethact=LUNA GMAC
ethaddr=00:E0:4C:00:00:00
filesize=354800
fl_boot_sz=40000
fl_cfgfs=44000
fl_cfgfs_sz=3c000
fl_env=40000
fl_env2=42000
fl_env_sz=2000
fl_kernel1=80000
fl_kernel1_sz=300000
fl_kernel2=840000
fl_kernel2_sz=300000
fl_rootfs1=380000
fl_rootfs1_sz=4c0000
fl_rootfs2=b40000
fl_rootfs2_sz=4c0000
ftfp_base=80000000
fx1000_init=mw bb000084 00000048
img0_kernel=94080000
img1_kernel=94840000
ipaddr=192.168.1.3
mtdparts0=mtdparts=rtk_spi_nor_mtd:256K(boot),8K(env),8K(env2),240K(config),3M(k0)ro,4864K(r0)ro,3M(k1),4864K(r1),4K@0ro,4K@0ro,4K@0ro,4K@0ro,3M@512K(linux),4864K@3584K(rootfs) root=31:5
mtdparts1=mtdparts=rtk_spi_nor_mtd:256K(boot),8K(env),8K(env2),240K(config),3M(k0),4864K(r0),3M(k1)ro,4864K(r1)ro,4K@0ro,4K@0ro,4K@0ro,4K@0ro,3M@8448K(linux),4864K@11520K(rootfs) root=31:7
netmask=255.255.255.0
serverip=192.168.1.7
set_act0=if itest.s ${sw_active} != 0;then setenv sw_active 0;saveenv;fi
set_act1=if itest.s ${sw_active} != 1;then setenv sw_active 1;saveenv;fi
sgmii_init=mw bb000084 00000044
stderr=serial
stdin=serial
stdout=serial
sw_active=0
sw_commit=0
sw_crc0=4f036fd6
sw_crc1=4f036fd6
sw_tryactive=2
sw_valid0=1
sw_valid1=1
sw_version0=V1.9.0-201104
sw_version1=V1.9.0-201104
upb=tftp ${ftfp_base} plr.img && crc32 ${fileaddr} ${filesize} && sf erase 0 +${fl_boot_sz} && sf write ${fileaddr} 0 ${filesize}
upk=tftp ${ftfp_base} uImage && crc32 ${fileaddr} ${filesize} && sf erase ${fl_kernel1} +${fl_kernel1_sz} && sf write ${fileaddr} ${fl_kernel1} ${filesize}
upk1=tftp ${ftfp_base} uImage && crc32 ${fileaddr} ${filesize} && sf erase ${fl_kernel2} +${fl_kernel2_sz} && sf write ${fileaddr} ${fl_kernel2} ${filesize}
upr=tftp ${ftfp_base} rootfs && crc32 ${fileaddr} ${filesize} && sf erase ${fl_rootfs1} +${fl_rootfs1_sz} && sf write ${fileaddr} ${fl_rootfs1} ${filesize}
upr1=tftp ${ftfp_base} rootfs && crc32 ${fileaddr} ${filesize} && sf erase ${fl_rootfs2} +${fl_rootfs2_sz} && sf write ${fileaddr} ${fl_rootfs2} ${filesize}
upt=tftp 80000000 img.tar && upimgtar ${fileaddr} ${filesize}
upv=tftp 80000000 vm.img;upvmimg ${fileaddr}
yu=loady 80000000 && cp.b 80000000 81000000 ${filesize} && cmp.b 80000000 81000000 ${filesize} && sf erase 0 ${filesize} && sf write 80000000 0 ${filesize}
stich86 commented 2 years ago

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

Anime4000 commented 2 years ago

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 C00R657V00B13 I not sure which one is 2.5GbE

C00R657V00B13_20191024.tar
C00R657V00B13_20191205.tar
B13_20200507.tar

You try all 3 and tell me which one support 2.5GbE, and check nv getenv especially sgmii_init= value

I have TWCGPON657 and V2801F stick, both stick are not expose UART on SFP even UART pin

stich86 commented 2 years ago

Which tweak is needed? Just use these tar file on the WebUI update?

Thx

Anime4000 commented 2 years ago

just flash it as usual, if not working, you need downgrade V2801F firmware first

stich86 commented 2 years ago

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 ;)

Anime4000 commented 2 years ago

great...

if you plan to flash back V2801F firmware, set flash set PON_MODE 3 to prevent V2801F auto restart, because TWCGPON657 did not have VS_AUTH_KEY

flash set PON_MODE 3 in V2801F behavior is different, you need disconnect fiber then can get back telnet

stich86 commented 2 years ago

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:

<4>change mode to 5(HiSGMII MAC)

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?

stich86 commented 2 years ago

a little update:

the code into kernel

<4>change mode to 5(HiSGMII MAC)

it's called when parameter LAN_SDS_MODE is set to 5. Switch it to 1 reports <4>change mode to 1(Fiber 1G)

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 cat /proc/kmsg of your TWCGPON657 with V2801F and LAN_SDS_MODE set to 5?

Thanks in advance

Anime4000 commented 2 years ago
BusyBox v1.12.4 (2020-10-26 08:35:57 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

# flash get LAN_SDS_MODE
LAN_SDS_MODE=2

That default value for my LAN_SDS_MODE

then I set LAN_SDS_MODE to 5 and do cat /proc/kmsg prints noting

then I flash get LAN_SDS_MODE also prints noting and stuck, I need CTRL+C

it seem V2801F firmware are not build to support 2.5GbE

can you try possible value for LAN_SDS_MODE ? Value Speed /proc/kmsg
1 1GbE <4>change mode to 1(Fiber 1G)
2 same like 1 with full bridge ??
3
4
5 2.5GbE <4>change mode to 5(HiSGMII MAC)

I've tried also to attach the fiber and the stick cannot go ahead of O3 status.

you got RX reading?

stich86 commented 2 years ago

Regarding laser reading, this is my current situation:

image

I've tried LAN_SDS_MODE to 2-3-4 and there are all the reports on kmsg

<4>change mode to 2(SGMII PHY) <4>change mode to 3(SGMII MAC) <4>change mode to 4(HiSGMII PHY)

Now my main problem is the eeprom reading to test if the 2.5GbE it's working.. Your TWCGPON with V2801F reports valid eeprom?

Thanks

Anime4000 commented 2 years ago

I use EdgeRouter 12 can read EEPROM like this: image

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?

stich86 commented 2 years ago

I use EdgeRouter 12 can read EEPROM like this:

image

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?

Anime4000 commented 2 years ago

image

there is 2 option I can think of,

  1. modify TWCGPON657 firmware with squashfs-tools and qemu-user-static you can copy configd from V2801F to TWCGPON657

  2. try DFP-34X-2C2 firmware

I bought TWCGPON657 here

need to login, use google chrome to translate page without proxy/iframe

I notice LAN_SDS_MODE have PHY (Layer 1) and MAC (Layer 2), have you try 2 or 4 (PHY) if made a different ?

stich86 commented 2 years ago

image

there is 2 option I can think of,

  1. modify TWCGPON657 firmware with squashfs-tools and qemu-user-static you can copy configd from V2801F to TWCGPON657

  2. try DFP-34X-2C2 firmware

I bought TWCGPON657 here

need to login, use google chrome to translate page without proxy/iframe

I notice LAN_SDS_MODE have PHY (Layer 1) and MAC (Layer 2), have you try 2 or 4 (PHY) if made a different ?

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?

Anime4000 commented 2 years ago

As I've said until I have problems with the eeprom the OpenWrt on my MCBIN doesn't initialize the SFP port :(

Sorry, this mean SFP has no connection? ~ 6 am here I haven't sleep 🤣

Regarding DFP-34X-2C2 firmware, is it working on V2801F?

This one I not tried yet, because my V2801F has been dead for 1 year because invalid VS_AUTH_KEY, my plan to read NAND flash and modify it

stich86 commented 2 years ago

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

Anime4000 commented 2 years ago

I see

to revert back V2801F firmware, do this:

doing PON_MODE 3 will put stick in Fiber Ethernet mode, disconnect fiber until updated VS_AUTH_KEY

stich86 commented 2 years ago

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

stich86 commented 2 years ago

@Anime4000 are you able to dump the flash using SOP8 clip? I want to make a dump with currently working stick, because if something goes wrong I can rollback to a working stick

Thanks in advance

stich86 commented 2 years ago

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

about this test, it went bad :( i think that EEPROM should be populated in the right way, otherwise the PHY media cannot be activated.. so next step after possibility to flash the NAND i'll try to create an hybrid firmware as suggested: uImage from TWCGPON and rootfs from V2801F

stich86 commented 2 years ago

@Anime4000

May be i've found where the parameter LAN_SDS_MODE is readed and configured

the file that change the behaviour is runlansds.sh

on the V2810F this is the code:

#!/bin/sh

echo 1 > proc/lan_sds/lan_sds_cfg
echo 1 > proc/lan_sds/sfp_app
sfpapp &

while TWCGPON657 is parsing the mode from XML file and set it based on the value on it:

#!/bin/sh

lan_sds_mode=`flash get LAN_SDS_MODE | sed 's/LAN_SDS_MODE=//g'`
echo $lan_sds_mode > proc/lan_sds/lan_sds_cfg
echo 1 > proc/lan_sds/sfp_app
sfpapp &

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..

Anime4000 commented 2 years ago

Nice finding... 👍

I also manage to update qemu script https://github.com/Anime4000/RTL9601C1/tree/main/Tools/emulator

making thing easier!

I notice /bin/sfpapp didn't exist in TWCGPON657 firmware

stich86 commented 2 years ago

Little update:

this morning i've repacked the V2801F firmware changing the file runlansds.sh LAN_SDS_MODE was set to 2. Now the stick is up (ethernet link) but I cannot access it anymore..

So i've only two way to restore:

1) dump the flash and change the active image on the mtd1/mtd2 partition 2) try to find the UART TX/RX on the RTL9601CI to see what's going on

If I have any news i'll update this thread

Anime4000 commented 2 years ago

I have tried with my own stick echo 5 > proc/lan_sds/lan_sds_cfg

yes, it make stick stuck, it seem V2801F not build 2.5GbE in mind, I also notice TWCGPON657 firmware missing /bin/sfpapp

stich86 commented 2 years ago

I have tried with my own stick echo 5 > proc/lan_sds/lan_sds_cfg

yes, it make stick stuck, it seem V2801F not build 2.5GbE in mind, I also notice TWCGPON657 firmware missing /bin/sfpapp

yes.. i've tried before flash the stick thinking that needs to be change on boot :( have you tried to flash firmware of DFP-34X-2C2 on V2801F? looks like this stick read the LAN_SDS_MODEand also the file runlansds.sh is correct

I suggest to change the documentations, at the moment V2810F with stock firmware doesn't support anything than 1 has LAN_SDS_MODE

Anime4000 commented 2 years ago

my V2801F is broken 😢 due to VS_AUTH_KEY and aother stuff, I not sure which BIOS/NAND programmer can read and write

I will update the doc about V2801F not suppor 2.5GbE

stich86 commented 2 years ago

my V2801F is broken 😢 due to VS_AUTH_KEY and aother stuff, I not sure which BIOS/NAND programmer can read and write

I will update the doc about V2801F not suppor 2.5GbE

you can read/write the NAND using a CH341a USB programmer and some adaptor for WSON8 chip.

On my last attempt I was able to fix it, but then i've broken the NAND :( Now i'm currently waiting to have some time to remove the NAND from the PCB and substitute with another one.

stich86 commented 2 years ago

I've received today my DFP-34X-2C2 from AliExpress. There is the latest firmware available onboard (2021-05). Changing the LAN_SDS_MODE to 5 (live via Telnet and not changing flash parameter), force the quirk on OpenWRT (running on MacchiatoBIN), I was able to negotiate the LAN size @ 2.5GbE :)

Now I've to test these things:

Keep you updated :)

stich86 commented 2 years ago

Two updates:

image

Now with ODI DFP original stick (not the V2801F cross-flashed) I'm stuck in o3 because stick tries to do LoID authentication (and my provider doesn't need it) so I've to understood why :(

Anime4000 commented 2 years ago

I received DFP-34X-C2C from Ali Express by ANDDEARSS Store ok_pon_EDIT

During my investigation...

This stick run <4>change mode to 3(SGMII MAC) cause my RB5009 cannot communicate even having OK LINK, need full power down, power on then manage to enter 192.168.1.1

after enter webgui, set GPON_PLOAM_PASSWD alone my Fiber Vendor wont send GEM and T-CONT info ok_pon_omci-incomplete

Then I set what my Fiber Vendor required

flash set GPON_PLOAM_PASSWD 1234567890
flash set OMCI_FAKE_OK 1
flash set OMCI_OLT_MODE 1
flash set GPON_ONU_MODEL HG8240H
flash set PON_VENDOR_ID HWTC
flash set HW_HWVER BF9.A

ok_pon_omci-info_flow

Problem is, this stick run as Router Mode, need add Bridge and VLAN Fiber Vendor VLAN: VLAN Desc
209 ISP 1 tr069
400 ISP 1 VoIP
500 ISP 1 Internet
600 ISP 1 IPTV
`621 ISP 2 Internet
821 ISP 2 tr069
822 ISP 2 VoIP
823 ISP 2 IPTV

I am using ISP 2, DFP-34X-C2C only manage to bridge vlan209, not vlan621 which I use ok_pon_wan-vlan209-bridge ok_pon_wan-vlan209


I run flash set LAN_SDS_MODE 5... my RB5009 SFP+ failed to negotiate 2.5GbE

hard lesson learned @stich86 😆

stich86 commented 2 years ago

RB5009 on SFP+ doesn't sync at 2500baseSX, only 1GbE or 10GbE. But I can assume that this stick can sink at 2.5. Now I've a problem reaching O5 :(

Anime4000 commented 2 years ago

@stich86

Yea, hardware support it if use OpenWRT on RB5009, just ROS 7 not support it.

I buy TP-XDR5480 that have native 2.5GbE so I can set back to proper LAN_SDS_MODE

your ODI firmware seem old a bit: 2021-05

my stick using: 2021-07

I have upload the firmware, try that, it has half success to connect 😅

stich86 commented 2 years ago

@stich86

Yea, hardware support it if use OpenWRT on RB5009, just ROS 7 not support it.

I buy TP-XDR5480 that have native 2.5GbE so I can set back to proper LAN_SDS_MODE

your ODI firmware seem old a bit: 2021-05

my stick using: 2021-07

I have upload the firmware, try that, it has half success to connect 😅

wait: TP-Link can link at 2.5 into SFP? My ODI stick has also 2021-07, the one of 2021-05 is loaded on V2801F

Anime4000 commented 2 years ago

@stich86

yea, https://m.tp-link.com.cn/product_1999.html

my friend help me buy at Taobao

I wondering if merge V2801F bridge function into ODI,

V2801F support 4-port Emulation

stich86 commented 2 years ago

@stich86

yea, https://m.tp-link.com.cn/product_1999.html

my friend help me buy at Taobao

I wondering if merge V2801F bridge function into ODI,

V2801F support 4-port Emulation

ah ok, it's useless with just a 2.5 GbE port :( i don't know if can be imported, may be we can swap only rootFS (keeping the kernel)..

i'll try on my V2801F

Anime4000 commented 2 years ago

that TP Link has one SFP 2.5GbE Support, 4 LAN Port and WiFi

I buy TWCGPON657 from Taobao, can import here.

the firmware package have uImage and rootfs. which kernel to keep?

stich86 commented 2 years ago

that TP Link has one SFP 2.5GbE Support, 4 LAN Port and WiFi

I buy TWCGPON657 from Taobao, can import here.

the firmware package have uImage and rootfs. which kernel to keep?

i think to test HSGMII we should take kernel from DFP and rootFS from V2801F, like someone else has done for UF-Instant

stich86 commented 2 years ago

that TP Link has one SFP 2.5GbE Support, 4 LAN Port and WiFi

I buy TWCGPON657 from Taobao, can import here.

the firmware package have uImage and rootfs. which kernel to keep?

do you have an internal photos of TWCGPON657? just to understand if it's similar to DFP-34X-C2C.. i've found two pads near RTL9601C chip, may be are UART pinout

Anime4000 commented 2 years ago

I use TWCGPON657 Stick (with V2801F Firmware) currently, take out cause no Internet~

I have tried DFP-34X-C2C with V2801F Firmware, stick keep reboot

I tried V2801F with DFP-34X-C2C Firmware, stick died 😢

Usually kernel reside at uImage, like Linux Desktop can choose kernel.

I try compare uImage see what different

stich86 commented 2 years ago

I use TWCGPON657 Stick (with V2801F Firmware) currently, take out cause no Internet~

I have tried DFP-34X-C2C with V2801F Firmware, stick keep reboot

I tried V2801F with DFP-34X-C2C Firmware, stick died 😢

Usually kernel reside at uImage, like Linux Desktop can choose kernel.

I try compare uImage see what different

my V2801F with DFP-34X-C2C boots without any issue and with laser recognition... very strange Oo for the photo.. when you can it will be very appreciated ^^

do you think that we can arrange an "remote" buy for TWCGPON657? I cannot receive it to Italy :(

Anime4000 commented 2 years ago

remote buy like, Taobao to Malaysia, then I ship back to you: Malaysia to Italy? I need contact my Local Logistic how much cost to ship 😄

what I found between DFP and V2801

anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$ md5sum uImage 
493fa0e7bb6d67a91cdf5bde18029a3b  uImage
anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$ ll uImage 
-rwxr-xr-x 1 root root 1281968 Jul  2  2021 uImage*
anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$ md5sum uImage 
b98cbd9ab9e7d33a84b0e0d90d5a8d6f  uImage
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$ ll uImage 
-rw-rw-r-- 1 1013 1013 1199526 Nov  4  2020 uImage
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$
stich86 commented 2 years ago

remote buy like, Taobao to Malaysia, then I ship back to you: Malaysia to Italy? I need contact my Local Logistic how much cost to ship 😄

what I found between DFP and V2801

anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$ md5sum uImage 
493fa0e7bb6d67a91cdf5bde18029a3b  uImage
anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$ ll uImage 
-rwxr-xr-x 1 root root 1281968 Jul  2  2021 uImage*
anime4000@hitoha-vm:~/Desktop/xpon/M114_sfp_ODI_210702$
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$ md5sum uImage 
b98cbd9ab9e7d33a84b0e0d90d5a8d6f  uImage
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$ ll uImage 
-rw-rw-r-- 1 1013 1013 1199526 Nov  4  2020 uImage
anime4000@hitoha-vm:~/Desktop/xpon/V2801F_V1.9.0-201104$

yes V2801F has a smaller kernel, looks like they have removed all "router mode" stuff regarding "remote shipping", if we can check the internal board of TWCGPON657, we can see if it's similar to DFP-34X-C2C or not

Anime4000 commented 2 years ago

okay, I try take all picture of V2801F, TWCGPON657 and DFP-34X-C2C

I got DFP-34X-C2C with newer SFP casing IMG20220323180820

Compared with TWCGPON657, nearly all similar: IMG20220323181514

I afraid to try 2.5GbE on V2801F since I dont have NAND Programmer

What I want, make DFP-34X-C2C able to bridge like V2801F, not sure how to do it...

someone just replace europa related driver and work like this: https://github.com/Anime4000/RTL9601C1/issues/2#issuecomment-1071290468

stich86 commented 2 years ago

DFP-34X-C2C doesn't use europa like UF-Instant :) we can try to swap just rootFS on the DFP (so it will use omci_app and all other stuff from V2801F)

i've to fix the ImageA on my V2801 and then try to flash using WebUI.. if something get wrong i need to desolder e reflash the NAND ^^"

Anime4000 commented 2 years ago

DFP-34X-C2C doesn't use europa like UF-Instant :)

I have checked both rootfs

For file /etc/scripts/insert_europa.sh. DFP-34X-C2C have it, Screenshot from 2022-03-24 22-33-47

V2801F don't have Screenshot from 2022-03-24 22-34-28

check rcS DFP-34X-C2C all inside /etc/init.d seem no one script touch insert_europa.sh

as you say, DFP-34X-C2C dont use insert_europa.sh

I can't try because my DFP-34X-C2C cannot nego 2.5GbE with RB5009,

I might try boot OpenWRT on RB5009 see if can nego 2.5GbE