Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Many alligators will be slain, but the swamp will remain.


computers / comp.os.linux.networking / issues to bring up two VSC8531 PHYs

SubjectAuthor
o issues to bring up two VSC8531 PHYsRon Eggler

1
issues to bring up two VSC8531 PHYs

<ab402d3a-3d92-4a9d-b7fe-7aa46acf0d47n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=454&group=comp.os.linux.networking#454

  copy link   Newsgroups: comp.os.linux.networking
X-Received: by 2002:a05:620a:45a4:b0:748:720e:9002 with SMTP id bp36-20020a05620a45a400b00748720e9002mr1264808qkb.9.1681326273250;
Wed, 12 Apr 2023 12:04:33 -0700 (PDT)
X-Received: by 2002:a05:620a:29c6:b0:746:9ff2:27f with SMTP id
s6-20020a05620a29c600b007469ff2027fmr5048764qkp.8.1681326273027; Wed, 12 Apr
2023 12:04:33 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.linux.networking
Date: Wed, 12 Apr 2023 12:04:32 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=209.52.149.8; posting-account=6z7l3QoAAABu8tXLI6yvA2n7Ujx1e8np
NNTP-Posting-Host: 209.52.149.8
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ab402d3a-3d92-4a9d-b7fe-7aa46acf0d47n@googlegroups.com>
Subject: issues to bring up two VSC8531 PHYs
From: ron.egg...@mistywest.com (Ron Eggler)
Injection-Date: Wed, 12 Apr 2023 19:04:33 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ron Eggler - Wed, 12 Apr 2023 19:04 UTC

Hi,
I am trying to bring up a pair of VSC9531 PHYs on an embedded system. I'm using a Yocto build and have altered the device tree with the following patch:
https://github.com/MistySOM/meta-mistysom/blob/phy-enable/recipes-kernel/linux/smarc-rzg2l/0001-add-vsc8531-userspace-dts.patch
I installed mdio-tools and can see the interfaces like:
# mdio
11c20000.ethernet-ffffffff
11c30000.ethernet-ffffffff

Also, I hooked up a logic analyzer to the mdio lines and can see communications happening at boot time. Also, it appears that it's able to read the link status correctly (when a cable is plugged):
# mdio 11c20000.ethernet-ffffffff
DEV PHY-ID LINK
0x00 0x00070572 up

Yet, ifconfig doesn't show the interfaces and I get:
# ifconfig eth0 up
[ 140.542939] ravb 11c20000.ethernet eth0: failed to connect PHY
SIOCSIFFLAGS: No such file or directory
When I try to bring it up

# ip l displays the interfaces as:
4: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 9a:ab:83:16:65:36 brd ff:ff:ff:ff:ff:ff
5: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 2a:9d:bf:09:8d:c3 brd ff:ff:ff:ff:ff:ff

Where am I going from here? I have experimented with drilling down into bitwise analysis of the MDIO communications. I'm uncertain though if this is my best bet, does someone here have any insight and can provide me with some guidance?

Thanks a lot!
Ron

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor