Re: Technical documentation for Synopsys Ethernet QoS Controller (eqos)

Milan Obuch <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
On Sun, 3 Aug 2025 10:43:20 +1000
Peter Jeremy <[email protected]> wrote:

> I'm trying to extend eqos(4) to support more of the controller's
> functionality: Checksum offload and ideally TCP offload.  I have
> "Rockchip RK3568 TRM Part2 V1.1-20210301.pdf" but that's missing
> documentation on the DMA interface and there are some discrepancies
> between it and the existing FreeBSD code.

Hi,

this controller is used in RiscV SoC from StarFive known as JH7110.
Its TRM is available at https://doc-en.rvspace.org/JH7110/TRM/. I don't
know if it contains anything you did not see yet, though.

> Some specific questions:
> * The existing code supports Synopsys versions 0x51 and 0x52.  The
>   RK3566 (and, based on the above TRM, RK3568) are version 0x51.
>   Does anyone know what chips have version 0x52?

From dmesg on my Star64 board:

eqos0: <DesignWare EQOS Gigabit Ethernet for JH7110> mem 0x16030000-0x1603ffff irq 50,51,52 on simplebus0
eqos0: DesignWare EQOS ver 0x52 (0x41)
eqos0: hw features 1a2173f7 09845904 01000000 00000000

I think it is what you are after.

Regards,
Milan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.