Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2023 17:16:17 +0200
From:      JMT Sihvola <jsihv@gmx.com>
To:        "Colin S. Gordon" <csgordon@fastmail.com>, freebsd-riscv@freebsd.org
Subject:   Re: StarFive VisionFive 2 support
Message-ID:  <trinity-72a4ce22-a269-4916-963b-ae24f5c1410f-1696950977207@3c-app-mailcom-bs09>
In-Reply-To: <7f59abe7-11ee-4efe-9688-28e5722fec9a@app.fastmail.com>
References:  <55416c03-c838-46d5-8f18-f6eb1657f4a5@app.fastmail.com> <trinity-2e0070c2-eb6e-4934-ac6b-78688009c627-1696938230097@3c-app-mailcom-bs01> <7f59abe7-11ee-4efe-9688-28e5722fec9a@app.fastmail.com>

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

Colin S=2E Gordon wrote:
>I see some GPL and MIT license headers in your current changes, which I'm=
 trying to avoid, but I'll gladly build on some of the BSD-licensed
changes=2E

So far I've not quite grasped what is FreeBSD's stance on this issue=2E
Some of my question on IRC have gone unanswered but I've got a picture
that some dual-licensed files are used as such=2E I myself extracted
some of the most important header code and used it under MIT
license (naturally giving credits to the original author)=2E

Colin S=2E Gordon wrote:
>It looks like I did at least partly duplicate your work with the dwmmc dr=
iver(https://github=2Ecom/csgordon/freebsd-starfive2/commit/fd7
>00cd60e466bacfd60c1dcc3b4 [github=2Ecom]), which I mostly adapted from on=
e of the existing drivers=2E=C2=A0 I'll also take a look at M=2E Horne's co=
de, I wasn't aware of that myself=2E

Oddly enough, for me MMC didn't require any additional code beyond offerin=
g=20
clocks, (maybe the reset driver) and fixing that DMA bug which was=20
initially reported here:
https://reviews=2Efreebsd=2Eorg/D34118

=2E=2E=2Eand which I re-reported here:
https://bugs=2Efreebsd=2Eorg/bugzilla/show_bug=2Ecgi?id=3D273694

I don't recall having any issues with biu and ciu clocks, so I'm not
sure what that is about=2E

-Jari




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-72a4ce22-a269-4916-963b-ae24f5c1410f-1696950977207>