YuzukiHD/YuzukiChameleon

Mainline Kernel Driver: H616 Ethernet PHY resetting on Armbian

Closed this issue · 2 comments

On this Chameleon board, I am trying to enable the Ethernet port from the latest Armbian build with mainline kernel.
After some trying, I could enable the Ethernet.

root@careai-cicada:~# ip l
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: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether a6:91:81:6a:cc:19 brd ff:ff:ff:ff:ff:ff

But I could not find CCU RESET controller, which lacks in definition for resetting phy.

  • Did anyone could build mainline kernel with Ethernet PHY support?
  • If not, should we add external ethernet PHY like OrangePi Zero2 did?

I found this.

[https://lwn.net/Articles/817724/]

Note that in this case, AC200 IC is copackaged with Allwinner H6 SoC and
all connections between them are internal. So, for example, PWM is the
only way to provide 24 MHz clock to this chip.

Ethernet port is working in this build: Allwinner-H616