[PATCH v1 0/5] Add Ethernet driver for StarFive JH7110 SoC

Torsten Duwe duwe at lst.de
Fri Mar 24 13:53:06 CET 2023


On Fri, 17 Mar 2023 09:05:31 +0800
Yanhong Wang <yanhong.wang at starfivetech.com> wrote:

> This series adds ethernet support for the StarFive JH7110 RISC-V SoC.
> The series includes PHY and MAC drivers. The PHY model is
> YT8531 (from Motorcomm Inc), and the MAC version is dwmac-5.20
> (from Synopsys DesignWare). 
> 
> The implementation of the phy driver is ported from linux, but it
> has been adjusted for the u-boot framework.
> 
> The PHY and MAC driver has been tested on the StarFive VisionFive 2 1.2A
> and 1.3B boards and works normally.

At least a smoke test here succeeded as well, I'm seeing replies to DHCP.
However:

| Model: StarFive VisionFive 2 v1.3B
[...]
| Net:   
| Warning: ethernet at 16040000 (eth1) using random MAC address - e2:b9:39:bd:92:24
| 
| Warning: ethernet at 16030000 (eth0) using random MAC address - 22:da:dc:e6:2c:17
| eth0: ethernet at 16030000, eth1: ethernet at 16040000
[...]

What's missing to read the correct MACs from the EEPROM?

	Torsten




More information about the U-Boot mailing list