RM520N-GLAP PCIe Root Complex

Hi @silvia,

is it possible to run RM520N-GLAP (the PCIe version only) from EP to RC?
Or is disabled by fuse?

Thanks!

Dear @stich86
It can used RC, it doesn’t disabled by efuse.

Are you sure? I’ve tied but it says that RC link doesn’t go up..

I have also seen that is doesn’t switch DTB

Does it needs special firmware to go in RC mode?

here is the output from dmesg

root@sdxlemur:~# dmesg | grep -i pci
[    0.000000] OF: fdt: Machine model: Qualcomm Technologies, Inc. SDXLEMUR MTP MBB PCIE-EP V2
[    0.000000] Kernel command line: reboot=w noinitrd ro rootwait console=ttyMSM0,115200,n8 androidboot.hardware=qcom msm_rtb.filter=0x237 androidboot.console=ttyMSM0 lpm_levels.sleep_disabled=1 firmware_class.path=/lib/firmware/updates service_locator.enable=1 net.ifnames=0 atlantic_fwd.rx_ring_size=512 atlantic_fwd.rx_linear=1 pcie_ports=compat pci=pcie_bus_safe rootfstype=ubifs rootflags=bulk_read root=ubi0:rootfs ubi.mtd=31 androidboot.serialno=2bca5b7 androidboot.baseband=msm data_interface=[1,0] ql_pcie_mode=1 ql_pcie_ssc=0 ql_switch_usb=0 ql_gpio_switch_usb_allowed=0 tj_config0=[0,0,0] tj_config1=[0,0,0] tj_config2=[0,0,0] ql_uart=[1,1] ql_pcie_id=[0x0000,0x0000,0x0000,0x0000,0] ql_sdxap=[0,0] usb_speed=0 androidboot.force_normal_boot=1
[    0.000000] init_pcie_mode: pcie_mode =1
[    0.223941] pcie:pcie_init.
[    0.265976] PCI: CLS 0 bytes, default 64
[    0.321360] ehci-pci: EHCI PCI platform driver
[    0.372166] Setting up EDL mode to PCIE
[    0.489375] pci-msm 1c00000.qcom,pcie: PCIe: msm_pcie_probe
[    0.489823] pci-msm 1c00000.qcom,pcie: 1c00000.qcom,pcie supply vreg-3p3 not found, using dummy regulator
[    0.490415] pci-msm 1c00000.qcom,pcie: 1c00000.qcom,pcie supply vreg-wlan not found, using dummy regulator
[    0.490470] pci-msm 1c00000.qcom,pcie: 1c00000.qcom,pcie supply vreg-qps615 not found, using dummy regulator
[    0.490864] msm_pcie_get_reg: PCIe: RC0: no tcsr resource found.
[    0.490872] msm_pcie_get_reg: PCIe: RC0: no rumi resource found.
[    0.491223] msm_pcie_enable: PCIe: Assert the reset of endpoint of RC0.
[    0.494702] msm_pcie_enable: PCIe: RC0: PCIE20_PARF_INT_ALL_MASK: 0x7f80c202
[    0.505972] pcie_phy_init: PCIe PHY RC0 failed to come up!
[    0.507775] msm_pcie_enumerate: PCIe: RC0: failed to enable
[    0.507786] msm_pcie_probe: PCIe: RC0 is not enabled during bootup; it will be enumerated upon client request.
[    0.734084] @QuectelKernel command line: reboot=w noinitrd ro rootwait console=ttyMSM0,115200,n8 androidboot.hardware=qcom msm_rtb.filter=0x237 androidboot.console=ttyMSM0 lpm_levels.sleep_disabled=1 firmware_class.path=/lib/firmware/updates service_locator.enable=1 net.ifnames=0 atlantic_fwd.rx_ring_size=512 atlantic_fwd.rx_linear=1 pcie_ports=compat pci=pcie_bus_safe rootfstype=ubifs rootflags=bulk_read root=ubi0:rootfs ubi.mtd=31 androidboot.serialno=2bca5b7 androidboot.baseband=msm data_interface=[1,0] ql_pcie_mode=1 ql_pcie_ssc=0 ql_switch_usb=0 ql_gpio_switch_usb_allowed=0 tj_config0=[0,0,0] tj_config1=[0,0,0] tj_config2=[0,0,0] ql_uart=[1,1] ql_pcie_id=[0x0000,0x0000,0x0000,0x0000,0] ql_sdxap=[0,0] usb_speed=0 androidboot.force_normal_boot=1

Currently running this firmware:

root@sdxlemur:~# echo -ne "ATI\r\n" > /dev/smd7 ; cat /dev/smd7
ATI
Quectel
RM520N-GL
Revision: RM520NGLAAR01A08M4G

The module is attached to a board that has PCIe lane connected to a Realtek R8125B. Same board was used with RM551 and works.

Let me know

Thanks!

@Niki.Liu-Q

can you help me on this topic?

thanks

Dear @stich86
Sorry for this, RM520NGLAP only supports EP mode.