YuzukiHD / YuzukiChameleon

[OSHW] Yuzuki Chameleon is a Raspberry Pi A Shaped SBC based on Allwinner H616
https://oshwhub.com/gloomyghost/yuzukih616
Other
208 stars 58 forks source link

Mainline Kernel Driver: H616 Ethernet PHY resetting on Armbian #12

Closed dumtux closed 1 year ago

dumtux commented 1 year ago

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.

dumtux commented 1 year ago

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.

dumtux commented 1 year ago

Ethernet port is working in this build: Allwinner-H616