Hi all,
I want to test modem Huawei ME909s-821 in evaluation board LS1012ARDB. The modem is connected to adapter with sim card slot, and the adapter is PCIe module too. I had test the modem with adapter in PC (linux and windows) and they were ok (detected). The problem is the modem not detected in LS1012ARDB mini PCIe port.
I already installed necessary driver for modem in OpenWRT, but still not success. The board not detect the modem.
I use openwrt from https://source.codeaurora.org/external/qoriq/qoriq-components/openwrt, with tag layerscape-20.09.
Here I also attach boot log and installed package, hope these will help.
Best regards,
Huda
Solved! Go to Solution.
Sorry for late response. This issue is already solved. mPCIe Port in eval board is for mPCIe device only. The device modem that I tested is USB device in mPCIe form factor. So it needs mPCIe that connected to USB host too. I just buy mPCIe to USB with simcard slot for modem, then put it in the USB port. The device will be listed.
I would really like to learn about these issues, so far I have not managed to raise my knowledge about it and participate in discussions.
Sorry for late response. This issue is already solved. mPCIe Port in eval board is for mPCIe device only. The device modem that I tested is USB device in mPCIe form factor. So it needs mPCIe that connected to USB host too. I just buy mPCIe to USB with simcard slot for modem, then put it in the USB port. The device will be listed.
Please check whether the PCIe device can be detected in u-boot.
=> pci enum
PCIe1: pcie@3400000 Root Complex: x1 gen1
=> pci 0
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1957 0x8100 Bridge device 0x04
=> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
01.00.00 0x8086 0x107d Network controller 0x00
=>
Hi @yipingwang ,
I see no PCIe device detected by uboot, the device already attached.
=> pci enum
PCIe0: pcie@3400000 Root Complex: no link
**update
=> pci enum
PCIe0: pcie@3400000 Root Complex: no link
=> pci 0
Scanning PCI devices on bus 0
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1957 0x8100 Bridge device 0x04
=> pci 1
Scanning PCI devices on bus 1
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
=>
Is any other card (Intel Nic Card) detected on board or not?
I dont have intel nic card, but I tried with NVME ssd (sandisk z400) and not detected too.
RCW settings and PBI configuration
please look at attached file (ls1012ardb_openwrt_20_09_rcw_pbi_bl2.txt), i got it from uboot by using md from memory region 0x40000000 until 400069ff.
Switch settings of the board
switch
PCIe register dump (0x3400000 to 0x0x3401038) and PEX_LUT register - 0x34c07fc
- PCIe register please look at attached file (ls1012ardb_openwrt_20_09_pcie_register.txt)
- PEX_LUT
034c07fc: 00000000 00000000 00000000 00000000 ................
034c080c: 00000000 00000000 00000000 00000000 ................
SerDes register dump (0x1EA0000 to 1EA181C)
please look at attached file ls1012ardb_openwrt_20_09_serdes_register.txt.
I have analyzed the register dumps provided by you.
Here are my observations:
I have some questions for further debugging:
(Huawei ME909s-821 Variants -- a) Huawei ME909s-821 LGA Form Factor b) Huawei ME909s-821 Mini PCIe Form Factor)
2. Which adapter is used by customer?
Please check LTSSM state in the condition 'first the card is plugged then board is powered on'.
1. here is my modem, I guess it is mini pcie form factor
modem
2. I use mini pcie adapter with sim card.
modem_simcard_adapter
3. It is 'first the card is plugged then board is powered on'. How to check LTSSM state value in uboot?
For checking LTSSM state, read the PEX_LUT register - 0x34c07fc.
there is no change for LTSSM state. I checked the state without inserting the modem, plugged off the power, then checked the state with modem attached.
034c07fc: 00000000 00000000 00000000 00000000 ................
The modem Huawei ME909s-821 Mini PCIe Form Factor can be directly connected to LS1012ARDB mini-PCIe slot.
Please connect it directly and then power on the board and check whether link is up or not.
For checking LTSSM state, read the PEX_LUT register - 0x34c07fc in this condition and share the results.
LTSSM still same. I directly attached the modem to the board.
034c07fc: 00000000 00000000 00000000 00000000 ................
Please provide the following details for further debugging of the issue.
1. Photo of the setup. (The modem card plugged in the connector).
There is provision for screws of adapter in LS1012ARDB mini PCIe connector . I have highlighted them in the attached photo. I assume you are connecting the adapter with screws.
2. Measurement of PERST signal with respect to ASLEEP on oscilloscope.
3. Check whether Clock is present or not. Probe the Clock signals (MPCIE1_CLK_N, pin 11; MPCIE1_CLK_P, pin 13) on PCIe Connector and adapter both.
4. How many boards have been tested by you with the modem card and adapter? How many times the same problem is encountered?
1. Here is my setup for the modem using the adapter, yes I connect the adapter with screw.
setup
2. I don't know about "ASLEEP" in this point, but here is what I get from PREST on oscilloscope. For testing PREST, I test it with R131 with side that not connected to VCC 3.3V. If this not what you mean (about PREST and ASLEEP), please guide me how to do it.
3. Here is test for the PIN 11 (up) and PIN 13 (bottom) from PCIe connector
Here is test for the PIN 11 (up) and PIN 13 (bottom) from PCIe adapter
4. I only have one board LS1012ARDB evaluation board. The board not detect PCIe devices. For the modem I try it on mikrotik (without adapter) and PC (with adapter), it detected.