[PATCH v1 0/5] Add Ethernet driver for StarFive JH7110 SoC
yanhong wang
yanhong.wang at starfivetech.com
Mon Mar 27 04:22:37 CEST 2023
On 2023/3/24 20:53, Torsten Duwe wrote:
> 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?
>
The minimum system of u-boot supporting JH7110 does not contain EEPROM and cannot
read the MAC address from EEPROM, so enable the CONFIG_NET_RANDOM_ETHADDR, EEPROM
will be supported in the future, and the MAC address will be read from EEPROM.
> Torsten
>
>
More information about the U-Boot
mailing list