Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2025 07:35:39 +0200
From:      Milan Obuch <freebsd-net@dino.sk>
To:        Peter Jeremy <peterj@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Technical documentation for Synopsys Ethernet QoS Controller (eqos)
Message-ID:  <20250803073539.04113807.11970677.88612660@dino.sk>
In-Reply-To: <aI6wqPnSobOlh3E6@server.rulingia.com>
References:  <aI6wqPnSobOlh3E6@server.rulingia.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 3 Aug 2025 10:43:20 +1000
Peter Jeremy <peterj@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20250803073539.04113807.11970677.88612660>