Using the official firmware, fm350-gl can be recognized as a pcie device normally, but there is no driver. Firmware compiled with dangowrt source code, fm350 recognizes it as a USB device. The dts has also been modified according to the official source code, but it still doesn’t work!
[ 0.043578] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
0.043977] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 0.043994] mtk-pcie-gen3 11280000.pcie: Parsing ranges property… [ 0.044006] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000…0x00201fffff → 0x0020000000 [ 0.044019] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000…0x0027ffffff → 0x0020200000 [ 1.385215] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges: [ 1.392543] mtk-pcie-gen3 11280000.pcie: Parsing ranges property… [ 1.398810] mtk-pcie-gen3 11280000.pcie: IO 0x0020000000…0x00201fffff → 0x0020000000 [ 1.407246] mtk-pcie-gen3 11280000.pcie: MEM 0x0020200000…0x0027ffffff → 0x0020200000 [ 1.415746] mtk-pcie-gen3 11280000.pcie: failed to get max link width [ 1.756787] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x0) [ 1.765582] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
Are you sure you look on the right pcie controller (r4 have 4 controllers)? Is lspci empty?
I think it strange that one firmware sees pcie device and the other a usb one…it is possible that your card has both…can you share datasheet with pins from your card?
Afaik the xphy can be ignored as it has no clock defined in dts but front-usb works which is also on xphy behind usb hub
If daniels openwrt recognizes the usb-part then usb there is fine you can focus on pcie part.
The label of infracfg does not matter if the clock itself are same (value does matter,name of const basicly not…)
If dts for pcie is same and it works with sinovoip image it can be a driver difference…try to compare mtk-gen3 driver in both sources. Another cause could be clock not ready when pcie is probed…maybe we need to make one critical or the full clock path (but i’m no expert here)
I do not know it,but imho we should get newer kernel version working and using vendor vrsion only as reference…maybe your card can use only one interface (usb or pcie) and disables the other once one is “connected”
Hi
Have you make some progress?
I have buy a cheap version and today is arrived.
With the current version of Openwrt
its detect on PCIe
(sometimes the system crashed)
i have no modem on mmcli -L and no tty or some modem devices
if i disable pcie port in the dtsi file after one or two minutes the device switch to usb mode
i can install a rndis driver and i get a networkcard but no serial ports and its not detected in mmcli