Jump to content

Device Tree missing network adapter definition?


Dantes

Recommended Posts

As you can see the WAN-port/NIC registers fine with a label from the nanopi-r6c device tree

 

$ grep fe1c0000 /boot/dtb/rockchip/rk3588s-nanopi-r6c.dtb
grep: /boot/dtb/rockchip/rk3588s-nanopi-r6c.dtb: binary file matches

 

dmesg:

dmesg | grep fe1c0000
[    7.287277] rk_gmac-dwmac fe1c0000.ethernet: init for RGMII_RXID
[    7.287373] rk_gmac-dwmac fe1c0000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    7.287377] rk_gmac-dwmac fe1c0000.ethernet: 	DWMAC4/5
[    7.287381] rk_gmac-dwmac fe1c0000.ethernet: DMA HW capability register supported
[    7.287385] rk_gmac-dwmac fe1c0000.ethernet: RX Checksum Offload Engine supported
[    7.287388] rk_gmac-dwmac fe1c0000.ethernet: TX Checksum insertion supported
[    7.287391] rk_gmac-dwmac fe1c0000.ethernet: Wake-Up On Lan supported
[    7.287423] rk_gmac-dwmac fe1c0000.ethernet: TSO supported
[    7.287426] rk_gmac-dwmac fe1c0000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    7.287430] rk_gmac-dwmac fe1c0000.ethernet: Enabled Flow TC (entries=2)
[    7.287433] rk_gmac-dwmac fe1c0000.ethernet: TSO feature enabled
[    7.287437] rk_gmac-dwmac fe1c0000.ethernet: Using 32 bits DMA width

 

However the LAN-port does not have such a label in dmesg output.

[    7.932846] pci 0003:31:00.0: [10ec:8125] type 00 class 0x020000
[    7.932902] pci 0003:31:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    7.932905] pci 0003:31:00.0: reg 0x10: [io  size 0x0100]
[    7.932958] pci 0003:31:00.0: reg 0x18: [mem 0x00000000-0x0000ffff 64bit]
[    7.932993] pci 0003:31:00.0: reg 0x20: [mem 0x00000000-0x00003fff 64bit]
[    7.933301] pci 0003:31:00.0: supports D1 D2
[    7.933303] pci 0003:31:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    7.948845] pci 0003:31:00.0: BAR 2: assigned [mem 0xf3200000-0xf320ffff 64bit]
[    7.948873] pci 0003:31:00.0: BAR 4: assigned [mem 0xf3210000-0xf3213fff 64bit]
[    7.948899] pci 0003:31:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    7.950294] r8125 0003:31:00.0: enabling device (0000 -> 0003)
[    7.967108] r8125 0003:31:00.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[    7.967112] r8125 0003:31:00.0 (unnamed net_device) (uninitialized): Random ether addr a2:83:9c:9c:cc:e8

 

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines