From nobody Fri Jun 14 20:00:01 2024 X-Original-To: freebsd-riscv@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W199g0QfXz5PQdd for ; Fri, 14 Jun 2024 20:00:07 +0000 (UTC) (envelope-from jsihv@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "Telekom Security ServerID OV Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W199f43Jtz4QYR for ; Fri, 14 Jun 2024 20:00:06 +0000 (UTC) (envelope-from jsihv@gmx.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.com; s=s31663417; t=1718395201; x=1719000001; i=jsihv@gmx.com; bh=VWZy2qlkk89YIYh0yVTZvn+T06YccO5FH1Gm0JxDkPQ=; h=X-UI-Sender-Class:MIME-Version:Message-ID:From:To:Cc:Subject: Content-Type:Date:In-Reply-To:References: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=GrsQGXaDyumLgYHbl8phWAzBGolBK/w/aZj9czSiEzml/lou0/KRfYLreCkQ/QF7 kbpxpOxyMwQ0EPxOnpa88Bl2fS2z4NFlTLgol0a2YNVP0nOcKqzreoz0DFVBWZIR2 PiSSh5INkxBcdpkpunt3tKmItP4R0hHzcPEQg5iLjnR3tGiZ30UeKs3D9Tu6PVMBl RqS/apLsQV51LJ2GlBY0YocFiQo1t6V6MAoh+AVzxt/Z2nMZx7NzM5aR5VQBhQyPB 8fbWatb5j79HAi9mlwFvbSY2JPD7KkpZIYFkB4bVKwgHVpTnToZHMWXYiUwnO8lSl jIDsubnDwxLuo0rwHA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [84.248.222.67] ([84.248.222.67]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Fri, 14 Jun 2024 22:00:01 +0200 List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 Message-ID: From: JMT Sihvola To: John F Carr Cc: freebsd-riscv@freebsd.org Subject: Re: JH7110 dwc MAC support Content-Type: text/plain; charset=UTF-8 Date: Fri, 14 Jun 2024 22:00:01 +0200 Importance: normal Sensitivity: Normal In-Reply-To: References: <7E28ED97-DD4B-40AA-91FB-DB3982042265@mit.edu> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:xkpvBbeM0ezYTpQx6lnQ36JyjqYUCCqwIZZNzSNTGE3Tj4yDwR08WFzXXbrA/TXGPQfR6 9DAUUn/H2YZ7tW8/McDiLTj9pKzOrwh/AdFJl4swwC0dwc5ige7V8TvdwJkoCt9tSispHnl5tDQp AsW37+Y9DzeE8tCLgivPyCl7UbluU4rqP+lFEL4iPay2eNW5SLzVfi3Foe6JmzR/eEIhwslu2V2/ ss875YXnUI8oR6P+xOQuQmwXDBMu02z8QEBLD1oE3TArNYwtrVmwWkOhubb2ZkADS2P+SW5eRkVm zc= X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:6meqAMUBSHc=;Ce27NLZxcbPW/vvM/DWcVx/I0IX Nn2exQKLMOR9Y6khMchV2KRcQ8bekVHEgwxlFIkcUDc17FXlSJa4MV2bbdsnJ7IMaee0XUj9W 6YluDOiB5tnqD7NYpn76gXQs6Gp8uk1d2LowJzuIkddjbCWvrl6YLtxXX9MLH0uGXtD6BT/hB 5W+R8C8dTK/irZ5ITluQl6BGh7W48OYG0Ty19GxBkvxfKqQt5+GhCedcqCUqnd5QeDVlbmzIF IQGaFboHCV3TODY3/uCul9dOe4NU51v9vqlBlQVzZlB9idkcwYnGVeBcOwGls+SXBHfxzLAur 6BoRNqa2jz664au7GmSLK8juM4nY6zBqjf2ugO0UUCQMM6gFwNDi26pK4LApWYpKy7SADq0NL zOwub9tJXACR39nPOtFKq92iFNZ53dfjjLC9iRNK3zIeuG3w+l4Q7dYYyxPXtr0pKuJVfNgVE EmDkNF2tRIFJpgh9vkqkDifG1ddtUKP6I1D3X8weH2pCVYGPG3ttt4s3Q+Wz+92cBjRZI7gLh EMBDCLuSDDDRDQM+r937hR77bffb+CYfpXENHfAoY9N6R/CLwnGwX+OCZbXLjjMcM725hLPo/ FTI/30DJzGGPpaKS9XFaK57xp/EWgzsVVA/vMgJcIajqT/xPdR7VYZguG5OOtH/IEaIHZRE5T b5UXjmtnWJHj7JhGv7aMdOXhILEwYLyboXZiDExRoSp8Tc0xkNapnUS8/ZjLEgM= Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE] X-Rspamd-Queue-Id: 4W199f43Jtz4QYR John F Carr wrote: > Thanks. I tried putting your driver on the main (15-CURRENT) branch. > It attaches but does not seem to put anything on the wire. > I will try building your 14-based branch next. I use it with 15 branch myself. That github of mine is probably not in a coherent state. I recommend not using it for anything except for grabbing these network related files. > Is it correct to see a total of four PHYs in the dmesg output below? Yes, it is seen like that also on vendor's OS. Probably some sort of error message should appear somewhere during the boot if it's not working. One of the several things needed is the code for syscon pseudo device (starfive_syscon.c) that is used for the device memory access. It's already added to the mainline repository. It may be challenging to get it working at this stage since things needed are a bit scattered now, but network codes will hopefully be added to CURRENT after a little while. -jari s.