Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #89575

Bug#1117672: more information about PCIe interfaces

From Jean-Marc LACROIX <jeanmarc.lacroix@free.fr>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1117672: more information about PCIe interfaces
Date 2025-10-13 12:20 +0200
Message-ID <LFnON-4Rys-3@gated-at.bofh.it> (permalink)
References <LDZvb-3UJz-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Dear team,

In an attempt to help debug this SBC, I continued my investigation with 
the Armbian project.

https://www.armbian.com/orangepi-5/

I installed a minimal image to check if all hardware devices work 
properly on the same platform

Tanks to look at following traces, (with same title than in original
bug report)

P1: PCI NVMe is fully detected
-------------------------------

root@orangepi5-plus:~# dmesg |grep "0000:01"
[    2.787540] pci_bus 0000:01: busn_res: can not insert [bus 01-ff] 
under [bus 00-0f] (conflicts with (null) [bus 00-0f])
[    2.788574] pci 0000:01:00.0: [c0a9:5427] type 00 class 0x010802 PCIe 
Endpoint
[    2.789279] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x00003fff 64bit]
[    2.790442] pci 0000:01:00.0: 31.504 Gb/s available PCIe bandwidth, 
limited by 8.0 GT/s PCIe x4 link at 0000:00:00.0 (capable of 63.012 Gb/s 
with 16.0 GT/s
  PCIe x4 link)
[    2.806098] pci 0000:01:00.0: BAR 0 [mem 0xf0200000-0xf0203fff 
64bit]: assigned
[    2.810353] pci_bus 0000:01: resource 1 [mem 0xf0200000-0xf02fffff]
[    2.815704] nvme nvme0: pci function 0000:01:00.0
[    2.816144] nvme 0000:01:00.0: enabling device (0000 -> 0002)
root@orangepi5-plus:~#


[    2.790442] pci 0000:01:00.0: 31.504 Gb/s available PCIe bandwidth, 
limited by 8.0 GT/s PCIe x4 link at 0000:00:00.0 (capable of 63.012 Gb/s 
with 16.0 GT/s
  PCIe x4 link)

Furthermore, this PCI disk is mounted as one boot device with rootfs

root@orangepi5-plus:~# mount |grep nvm
/dev/nvme0n1p1 on / type ext4 (rw,relatime,errors=remount-ro,commit=120)
/dev/nvme0n1p1 on /var/log.hdd type ext4 
(rw,relatime,errors=remount-ro,commit=120)
root@orangepi5-plus:~#


P2: Ethernet is partially detected
----------------------------------

Now, internal Ethernet ports are defined

root@orangepi5-plus:~# ip link ls
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode 
DEFAULT group default qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enP3p49s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state UP mode DEFAULT group default qlen 1000
     link/ether c0:74:2b:fb:db:e1 brd ff:ff:ff:ff:ff:ff
     altname enxc0742bfbdbe1
3: enP4p65s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc 
pfifo_fast state DOWN mode DEFAULT group default qlen 1000
     link/ether c0:74:2b:fb:db:e0 brd ff:ff:ff:ff:ff:ff
     altname enxc0742bfbdbe0

root@orangepi5-plus:~# mii-tool -v enP3p49s0
enP3p49s0: negotiated 1000baseT-FD flow-control, link ok
   product info: vendor 00:e0:4c or 00:07:32, model 4 rev 0
   basic mode:   autonegotiation enabled
   basic status: autonegotiation complete, link ok
   capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD
   advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control
   link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control
root@orangepi5-plus:~# mii-tool -v enP4p65s0
enP4p65s0: no link
   product info: vendor 00:e0:4c or 00:07:32, model 4 rev 0
   basic mode:   autonegotiation enabled
   basic status: no link
   capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD
   advertising:  1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 
10baseT-HD flow-control

P3: emmc is  detected
---------------------

root@orangepi5-plus:~# fdisk -l /dev/mmcblk0 
  

Disk /dev/mmcblk0: 232.96 GiB, 250139901952 bytes, 488554496 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
root@orangepi5-plus:~#



P4: WIFI/BT is  detected
------------------------
root@orangepi5-plus:~# iwconfig wlP2p33s0
wlP2p33s0  IEEE 802.11  ESSID:off/any
           Mode:Managed  Access Point: Not-Associated   Tx-Power=0 dBm
           Retry short limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off

root@orangepi5-plus:~#

root@orangepi5-plus:~# lspci
0000:00:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0000:01:00.0 Non-Volatile memory controller: Micron/Crucial Technology 
Device 5427 (rev 01)
0002:20:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0002:21:00.0 Network controller: Realtek Semiconductor Co., Ltd. 
RTL8852BE PCIe 802.11ax Wireless Network Controller
0003:30:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0003:31:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8125 2.5GbE Controller (rev 05)
0004:40:00.0 PCI bridge: Rockchip Electronics Co., Ltd RK3588 (rev 01)
0004:41:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8125 2.5GbE Controller (rev 05)
root@orangepi5-plus:~#

root@orangepi5-plus:~# grep -i rock 
/boot/config-6.12.43-current-rockchip64  |grep '#'
# CONFIG_EMAC_ROCKCHIP is not set
# CONFIG_CAN_ROCKCHIP_CANFD is not set
# Rockchip media platform drivers
root@orangepi5-plus:~#



best regards
-- 
   -- Jean-Marc LACROIX  () --
     -- mailto : jeanmarc.lacroix@free.fr   --

Back to linux.debian.kernel | Previous | Next | Find similar | Unroll thread


Thread

Bug#1117672: more information about PCIe interfaces Jean-Marc LACROIX <jeanmarc.lacroix@free.fr> - 2025-10-13 12:20 +0200

csiph-web