Hi,NVIDIA
我们设计的AGX Orin 64G单板,lspci没有任何打印,连PCI bridge都没有,可能是什么原因呀?
board.dts.txt (315.0 KB)
dmesg_pcie.txt (59.3 KB)
Hi,
If you are designing a custom base board, then it means some adaptation configurations are needed.
Otherwise, your board may not work fine.
For Orin AGX series, you could refer to below document
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal%20serial%20bus#jetson-agx-orin-platform-adaptation-and-bring-up
(please be aware that above link is for rel-36.3/jetpack6.0)
This document includes below configuration
- pinmux change & GPIO configuration
- EEPROM change as most custom boards do not have an EEPROM on it.
- Kernel porting
- PCIe configuration
- USB configuration
- MGBE configuration
- RGMII configuration
Thanks!
如果每一個controller上的pcie link detection都沒有抓到的話. 我們的driver會把pcie bridge power down.
所以lspci會是空的
你的dmesg 裡面那些 " Phy link never came up" 的log就是了
比方說
[ 11.134550] tegra194-pcie 14100000.pcie: Phy link never came up
我们做了以下排查,AGX Orin custom board还是无法link up
已排查:
1、WIFI模组厂家已经协助,从模组这侧暂时没有发现问题,例如查了模组的上电时序、模组的ENABLE引脚
2、参考NVIDIA官方文档PCIe DEBUG,确认PCIe C1的相关配置
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=pcie#debug-pcie-link-up-failure
(1)、ODMDATA=“gbe-uphy-config-0,hsstp-lane-map-3,nvhs-uphy-config-0,hsio-uphy-config-16”
(2)、 确认dtsi是否enable PCIe C1:pcie@14100000已经enable,详见附件board.dts.txt
board.dts.txt (315.0 KB)
(3)、确认PCIe的RESET、CLK引脚:PEX_L*_RST_N、PEX_L*_CLKREQ_已经配置Output和Bidirectional,详见附件Orin-jetson_agx_orin-pinmux.dtsi.txt
Orin-jetson_agx_orin-pinmux.dtsi.txt (65.6 KB)
(4)、dmesg打印link never came up,详见dmesg.txt
dmesg.txt (57.8 KB)
(5)、lspci查询不到wifi模组
lspci.txt (11.6 KB)
Hi,NVIDIA
我们还可以从哪些方面排查这个问题?
請問你同一個 wifi module在NV devkit上的wifi m.2插槽能使用嗎?
我们用的移远WIFI芯片FC65E,不是m.2插槽,不能直接在NV AGX Orin 64G盒子做对比测试。
Hi WayneWWW,
请问,能帮忙确认一下pinmux配置是否正确吗?我们需要配置:
k49、H51、L9这三个pin作为GPIO输出高电平,Pin Direction设置output,但是Req. Initial State不确定设置int pu还是driver1?
請問這三個pin跟這條問題的關聯是什麼? 不是在討論pcie C1嗎?
這裡先澄清一下. 我不是不回答你的問題
是想先確認一下你問的這個跟你的PCIE c1到底有什麼關聯?
如果沒有關聯的話建議你每一個pcie controller的問題各開一個topic討論. 不然最後全部混在一起的話整個討論會很混亂.
還有請問是不是在問L9而不是 J9…? 因為剛才打J9感覺有點困惑…
不好意思,是L9。
但是Req. Initial State不确定设置int pu还是driver1
設成int PU之後看一下生出來的gpio dtsi有沒有把他寫成gpio-output-high
我看到你們已經用另外一條在追這個了 那就請用一條討論就好.
好的,这个GPIO问题就在另一条讨论吧,谢谢WayneWWW
我先确认pinmux设置gpio输出是否正确,之后再回来讨论pcie
Hi NVIDIA,
请忽略上面gpio相关的讨论。我们已确认WIFI芯片上电时序和ENA相关引脚的配置符合WIFI芯片要求。为什么Orin PCIE C1还是link never came up?


