RK3568J为什么lspci没有信息
firefly的rk3568j的lspci显示不出任何信息root@firefly:~# uname -aLinux firefly 4.19.232 #1 SMP Wed Aug 7 18:16:11 CST 2024 aarch64 aarch64 aarch64 GNU/Linux
root@firefly:~# lspci
root@firefly:~# lspci -v
root@firefly:~# lspci -k<span style="background-color: rgb(255, 255, 255);"></span>
dmesg | grep "pci"的信息如下root@firefly:~# dmesg | grep "pci"
[ 0.177600] reg-fixed-voltage pcie30-avdd0v9: Looking up vin-supply from device tree
[ 0.177613] pcie30_avdd0v9: supplied by vcc3v3_sys
[ 0.177720] pcie30_avdd0v9: 900 mV
[ 0.177969] reg-fixed-voltage pcie30-avdd0v9: pcie30_avdd0v9 supplying 900000uV
[ 0.178112] reg-fixed-voltage pcie30-avdd1v8: Looking up vin-supply from device tree
[ 0.178126] pcie30_avdd1v8: supplied by vcc3v3_sys
[ 0.178211] pcie30_avdd1v8: 1800 mV
[ 0.178485] reg-fixed-voltage pcie30-avdd1v8: pcie30_avdd1v8 supplying 1800000uV
[ 0.180342] pcie_pi6c_oe_en: no parameters
[ 0.180593] reg-fixed-voltage pcie-pi6c-oe-regulator: pcie_pi6c_oe_en supplying 0uV
[ 0.182808] pcie30_3v3: 100 <--> 3300 mV at 3300 mV
[ 0.841098] rk-pcie 3c0800000.pcie: Looking up vpcie3v3-supply from device tree
[ 0.841226] rk-pcie 3c0800000.pcie: Linked as a consumer to regulator.19
[ 0.850621] snps pcie3phy FW update! size 8192
[ 0.864657] rk-pcie 3c0800000.pcie: missing legacy IRQ resource
[ 0.864702] rk-pcie 3c0800000.pcie: Missing *config* reg space
[ 0.864734] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges:
[ 0.864781] rk-pcie 3c0800000.pcie: err 0xf0000000..0xf00fffff -> 0xf0000000
[ 0.864811] rk-pcie 3c0800000.pcie: IO 0xf0100000..0xf01fffff -> 0xf0100000
[ 0.864837] rk-pcie 3c0800000.pcie: MEM 0xf0200000..0xf1ffffff -> 0xf0200000
[ 0.864870] rk-pcie 3c0800000.pcie: MEM 0x380000000..0x3bfffffff -> 0x380000000
[ 1.228656] ehci-pci: EHCI PCI platform driver
[ 1.875743] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 2.885791] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 3.899192] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 4.912880] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x1
[ 5.925741] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 6.939079] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 7.952421] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 8.969151] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 9.979138] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 10.992453] rk-pcie 3c0800000.pcie: PCIe Linking... LTSSM is 0x0
[ 12.005758] rk-pcie 3c0800000.pcie: PCIe Link Fail
[ 12.005802] rk-pcie 3c0800000.pcie: failed to initialize host
[ 33.766134] pcie30_3v3: disabling
准确来说,是根据官方给的源码编译的,但是我也试了官方固件和自己编译出来的一样,啥也没有。
我还有一块瑞芯微RK3588X0的板子,他的lspci 的信息如下
root@debian:~# uname -a
Linux debian.toybrick 5.10.110-g164f0f2deb89-dirty #1 SMP Fri Feb 3 18:05:50 CST 2023 aarch64 GNU/Linux
root@debian:~# lspci
0002:20:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3588 (rev 01)
0002:21:00.0 Network controller: Broadcom Inc. and subsidiaries Device 449d (rev 02)
0003:30:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3588 (rev 01)
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
root@debian:~# lspci -k
0002:20:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3588 (rev 01)
Kernel driver in use: pcieport
lspci: Unable to load libkmod resources: error -2
0002:21:00.0 Network controller: Broadcom Inc. and subsidiaries Device 449d (rev 02)
Subsystem: Broadcom Inc. and subsidiaries Device aae8
Kernel driver in use: pcieh
0003:30:00.0 PCI bridge: Fuzhou Rockchip Electronics Co., Ltd Device 3588 (rev 01)
Kernel driver in use: pcieport
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller
Kernel driver in use: r8168
他多了一个Ethernet controller,这个用的就是r8168,我如果想RK3568J和这个一样,我该怎么做?
我有试过在RK3568J的源码里,config配置取消掉stmmac改为realtek,但是应该是没匹配上 接什么设备?接到哪里?m2 pcie ? 板蓝根 发表于 2024-8-12 13:48
接什么设备?接到哪里?m2 pcie ?
就是自带的网口,我想跑igh接ethercat从站,要替换网卡驱动 我们自带的网口不是 pcie 接口的,当然 lspci 找不到啊 板蓝根 发表于 2024-8-12 18:01
我们自带的网口不是 pcie 接口的,当然 lspci 找不到啊
那请问一下,自带的接口是使用的什么驱动,我之前在瑞芯微板子上跑的就是上面我发的,用的是r8168驱动,就可以内核里先配置取消加载,然后加载igh的网卡驱动进行通信。
我如果想和这个进行差不多的操作,所以想找到RK3568那两个网口使用的网卡驱动,然后替换掉
页:
[1]