Adding Support for Verizon CR1000A

I'm just trying to discover all related knobs to see if any of them works.

If I got it right, qcom,mactype is 1 only when SFP is used

I also see it set to <2> in some scenarios? Could you point me pls to the file which does the DT parsing? I only have access my phone for this week's and can't find it with Google. Appreciate the help!

1 Like

based on this hal/arch/ipq807x/nss_ipq807x.c · caf_migration/11.4.0.5.r3 · CodeLinaro / qsdk / oss / lklm / nss-dp · GitLab

and

hal/include/nss_dp_hal_if.h · caf_migration/11.4.0.5.r3 · CodeLinaro / qsdk / oss / lklm / nss-dp · GitLab

it declares support for Linux Driver for the Synopsys(R) Ethernet Controllers "stmmac" — The Linux Kernel documentation

as qcom,mactype = 1. does or mean we need to load that stmmac driver too?

No, the Synopsis XGMAC driver is part of SSDK and is included already, that's the 10G MAC

So the goal is to make existing xgmac driver work as MAC only (this seems to be supported) and rtl9301 as PHY?

Does one has FIOS service can share the latest firmware file? (Link: https://cpe-ems34.verizon.com/firmware/chr2fa_fw_3.2.0.9.bin)

They claimed fixed the 2.4Ghz disconnect I been having.

Here it is: https://mega.nz/file/09EBgTJS#a4-SsAHOkVBFvc1_Mmmy6tTtY3TTTkroK8EHxEwTQ4o
Although I have fios but my router is still on 3.2.0.8.

Thanks, just want to test if this version fix my 2.4G issue before we get to openwrt :slight_smile:

Hi again I am still having trouble how to actually hook up TTL to Serial Cable to the router... I got the one you recommended but where do I plug it in? Thanks to @spol-eff for the pin guide shown here:

Unfortunately I don't currently have access to a microscope or small tip soldering iron but I made do with the use of a jewelers loupe as shown below.

Here is a view through the jewelers loop.I basically just scratched off the traces with a thumb tack and then soldered some small wires on.


I have connections for 1.8v, CMD, CTL, and D0. Are there any others I need? Where do I connect them on the DSD TECH SH-U09G USB to TTL Serial Cable: https://www.amazon.com/gp/product/B083HVM7VZ/1 that was recommended to me. Thanks again!

The PCB has dedicated JTAG pins on a side. No need to go extreme. Check one of early PCB photos in this thread.

Some early PCBs have it soldered. Some only have the pads. It's standard 2.54mm pitch so I use standard PC 3 pin fan cable/extender

https://forum.openwrt.org/uploads/default/original/3X/6/2/62b98d29d777cc8e35c72af02135745c8a9be897.jpeg

1 Like

I have been trying the past day or so with no luck : (
I soldered to the three pins as shown in the photo you included, GND, TXD and RXD. Then I connected the usb to my computer. Then open serial connection via putty with baud rate of 115200. Turn on the router but nothing is shown at all. The router just has a slow blinking white light. I know you are saying JTAG but I am confused because the pins GND, RX, and TX are serial right?

Yes, they are serial, may be you mis-connected Rx and tx (they should be rx->tx and tx->Rx)? Or set wrong TTL (should be 3.3v) or wrong port in putty? It should output something

@robimarko
found this: https://git.codelinaro.org/clo/qsdk/oss/lklm/qca-ssdk/-/blob/NHSS.QSDK.12.1.5.r3/src/hsl/phy/sfp_phy.c?ref_type=heads#L307

In fact I see in the oem boot log

[   27.631069] aquantia_phy_api_ops_init[2187]:INFO:qca probe aquantia phy driver succeeded!
[   27.641570] sfp_phy_init[197]:INFO:sfp phy init for port 0x20!
[   27.659684] sfp_phy_probe[49]:INFO:sfp phy is probed!

enabled kmod-sfp but it's not probed successfully, only getting

[    3.456043] sfp_phy_init[229]:INFO:sfp phy init for port 0x20!

I guess this is because the dev_id is 0

[    3.376204] sfp_phy_init[229]:INFO:sfp phy init for port 0x20!
[    3.383613] sfp_phy_init[230]:INFO:sfp phy init for dev_id 0x0!

not sure why, though