JH7110 dwc MAC support
- Reply: JMT Sihvola : "Re: JH7110 dwc MAC support"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Jun 2024 15:06:10 UTC
I am trying to run FreeBSD on the Star64 SBC with JH7110 SOC. Has anybody gotten the ethernet driver working on this chip? It's a DesignWare MAC according to the device tree so if_dwc.c should be the starting point. The driver does not work simply by changing the "compatible" string. It can't find the PHY because all the register reads come back 0. The only documentation I can find is the Linux driver source code. I can try updating register offsets and command bit patterns to match what the Linux driver does with "snps,dwmac-5.20". I loaded the LUA loader and FreeBSD kernel over the network so all the boot code is happy with the MAC+PHY combination. It's the kernel that doesn't work. John Carr