Missing NICs eth2-eth4?

my network support 1Gbps/Full. it is funny the main NIC is 1G but not the lan NIC whic are detected in 10/Full and 100/Full.

# ethtool eth0
Settings for eth0:
	Supported ports: [ TP MII ]
	Supported link modes:   1000baseT/Half 1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Advertised link modes:  1000baseT/Half 1000baseT/Full 
	Advertised pause frame use: Symmetric Receive-only
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  1000baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: No
	Speed: 1000Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 0
	Transceiver: internal
	Auto-negotiation: on
	Current message level: 0x000000ff (255)
			       drv probe link timer ifdown ifup rx_err tx_err
	Link detected: yes

lan0

# # ethtool lan0
Settings for lan0:
	Supported ports: [ TP AUI BNC MII FIBRE ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 
	Link partner advertised pause frame use: No
	Link partner advertised auto-negotiation: No
	Speed: 10Mb/s
	Duplex: Half
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: d
	Wake-on: d
	Link detected: yes

lan3

# ethtool lan3
Settings for lan3:
	Supported ports: [ TP AUI BNC MII FIBRE ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: Symmetric Receive-only
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 4
	Transceiver: internal
	Auto-negotiation: on
	Supports Wake-on: d
	Wake-on: d
	Link detected: yes

eth0 (=cpu-port) is afaik fixed to 1GBs in dts(i)

lan0-4 have variable bandwidth (Auto-Neg/OS-Setting), you see in your ethtool, that 1G is also supported:

Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 

i don’t known why a fallback speed is used, on my switch 1G is used on lan0

as you see

Advertised auto-negotiation: Yes
Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                     100baseT/Half 100baseT/Full 

your switch on the other end supports only 10/100Mbit (handled over auto-neg) :wink: or maybe cable, etc…

OK will check might be on my side. The good news with your kernel i can see all 5 NICs, so thanks.

it’s not my work…the dsa-support was working before in 4.14…

ok excuse my limited knowledge… whats the link to your 4.14 kernel from github and how exactly do you copy over the old kernel?

first things first i guess where is your github link and ill try to google the how to

You’ll find all info in my wiki

Installation: https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:kernel#compiled_414x

I mainly use build.sh to copy kernel to sdcard because i can define name of binary in boot and this makes backup of existing kernel.

If you want to use different names you have to make sure that your new kernel gets loaded by set kernel var to name of your Kernel-binary. If you use my last uboot there are multiple kernel-vars and you can define own menu-entries (needs reload bootmenu before they appear).

Github-link is also on this page

Forgive my poor knowledge, the port isolation works for PHY to switch lines and thus all lan-ports are considered to carry information on NIC eth0. If this is true, does the CPU differentiate which lan port is sending the information and how does it do that?

PS- I wish to implement OVS on R2 but the port isolation does not work to parse and redirect traffic from each of the lan ports

Frank,

         I have your buster build and have all of the Ethernet interfaces working out of the box. The wireless connection I can't seem to get it working at all. It isn't represented when doing the "ip a" command. How do I get the wireless up and operational?

Thanks again for all your help!

-Brian-

You have to create ap0-device with wmt-tools. See my wiki or any of the wifi-threads

https://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:wlan#internal

Basicly you need wmt-tools (you’ll find binaries in src-folder - without ext):

config and maybe my wifi.sh

there is a package in my wiki, github releases and my gdrive containing neceasary files