From nobody Sat Mar 25 18:15:14 2023 X-Original-To: dev-commits-ports-all@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 4PkS0y66dDz41XD9; Sat, 25 Mar 2023 18:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PkS0y5gdyz3Fwn; Sat, 25 Mar 2023 18:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679768114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=czUJql3hUfPAF32UlO5vFwBUolm8FzTvmgSxBKTNW/4=; b=m2+uRX1k23JE2g6kFDvJ6Xrt/yL7XEusFwtNJSOMOuA9iIqEBvX91dDGQzJyz+JalsNWuB phPpsZGSVDoibIgD5/aGf2sidvG69abj8WRJ3Moghm6tZO0oUmIwTggt2NFrnHPa2NqXbn 9ExCD4kUbWSzapL430fB5PICXet8b5vU/l9Pc09x0+HsYyimKyoCs/AbRIK89cesbtseC8 KiYDWoo9LY0dnkE3DMSYnJmDPVeU5rsUmSeVs4IRU8TtOcIesFEbKCuW9cVohXeyMVwA+w GTgHIvxkVkv5KQWLSOy+6d9O5mlJjhb9oaxXhXq1yiys2T1fHMiYXtS39uACyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679768114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=czUJql3hUfPAF32UlO5vFwBUolm8FzTvmgSxBKTNW/4=; b=Wz3XIG5cKE8k6WbGP/AGpBzOpP9bYS++Qfwq3a+HLYUV3xm51ZdbbP8mKEkgPwwkeliJLi VSbtJmygk0pqR3OjHwJVimgMbzkxpgcgKVYSv9G9ov7Cd5G3vPxVXvIYbaHCgBp8ILA42l ZmiG4DGH4QWBNXC6luCSmhMZiC685THNpp9FhV/9QTSBTCCARev4sjN+OfNiFyBI+Lsjsq q9zdaJx+5/dxjlc2kpfw8QBXRAR5kg9RiAz8OcP4uhiW4Iz9FwerMcD6GLUUzlWLkNKYUd a9Nk5b0dTm1dAkaiRWjExitpmm8YAun41m8CEP864Y0lBRuqdwmK6LqP9d3Ijg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679768114; a=rsa-sha256; cv=none; b=TS9zx3+bXkuIA7zHvp4EgDKyoC3YLzCw7p4OOYM0nE4oz69+/tFCWdJkklRhSiVfLUZPnH DF32WCV/4+sRsURldubzexujwQdg+2Vih0qfaQ9mpr02QskXwi72dXHn3afoj45b+WqX/Q s1jNcb71JhNEQZ7a3sNXq6g2D/uS764a4TD8FcjuINaiT1ZROh8TZwfiEZ5irXprd1/j/w Dw3aoU8AqiaKofRurj/LThVBt1V2L3kZ56RI58mMwb9qia6kd06no+CraTpcf7L21iaApa JdvoosuED1W1WBc0M0Ame78VfU0r5ZmXEC57TztJBwvSChJGZHNQ5WUiJFhzkQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PkS0y4l45z18dS; Sat, 25 Mar 2023 18:15:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32PIFE25094446; Sat, 25 Mar 2023 18:15:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32PIFEd6094445; Sat, 25 Mar 2023 18:15:14 GMT (envelope-from git) Date: Sat, 25 Mar 2023 18:15:14 GMT Message-Id: <202303251815.32PIFEd6094445@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Daniel Engberg Subject: git: 38d60dbac724 - main - sysutils/blisp: Utility for for flashing Bouffalo Labs RISC-V Microcontrollers and SoCs List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: diizzy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 38d60dbac72467af69671a0340dc6fc579d8dc8b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=38d60dbac72467af69671a0340dc6fc579d8dc8b commit 38d60dbac72467af69671a0340dc6fc579d8dc8b Author: Pero Orsolic AuthorDate: 2023-03-25 18:11:58 +0000 Commit: Daniel Engberg CommitDate: 2023-03-25 18:14:54 +0000 sysutils/blisp: Utility for for flashing Bouffalo Labs RISC-V Microcontrollers and SoCs Utility and library for flashing Bouffalo RISC-V MCUs such as upgrading firmware on Pinecil V2 open source soldering iron PR: 269870 --- sysutils/Makefile | 1 + sysutils/blisp/Makefile | 30 ++++++++++++++++++++++++++++++ sysutils/blisp/distinfo | 5 +++++ sysutils/blisp/files/devd-blisp.conf | 8 ++++++++ sysutils/blisp/pkg-descr | 2 ++ sysutils/blisp/pkg-message | 14 ++++++++++++++ 6 files changed, 60 insertions(+) diff --git a/sysutils/Makefile b/sysutils/Makefile index c591e4bfed06..dead15bdb048 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -132,6 +132,7 @@ SUBDIR += bkpupsd SUBDIR += bksh SUBDIR += bkt + SUBDIR += blisp SUBDIR += boot-extract SUBDIR += bottom SUBDIR += boxbackup-devel diff --git a/sysutils/blisp/Makefile b/sysutils/blisp/Makefile new file mode 100644 index 000000000000..d278eec2cb3a --- /dev/null +++ b/sysutils/blisp/Makefile @@ -0,0 +1,30 @@ +PORTNAME= blisp +DISTVERSION= g20230317 +CATEGORIES= sysutils + +MAINTAINER= porsolic@gmail.com +COMMENT= Utility and library for flashing Bouffalo RISC-V MCUs +WWW= https://github.com/pine64/blisp + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libserialport.so:devel/libserialport + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= pine64 +GH_TAGNAME= 6f508d3 +GH_TUPLE= argtable:argtable3:6f0e40b:group_argtable/vendor/argtable3 + +PLIST_FILES= bin/blisp \ + etc/devd/blisp.conf + +CMAKE_ON= BLISP_BUILD_CLI + +do-install: + ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/tools/blisp/blisp ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} files/devd-blisp.conf ${STAGEDIR}${PREFIX}/etc/devd/blisp.conf + +.include diff --git a/sysutils/blisp/distinfo b/sysutils/blisp/distinfo new file mode 100644 index 000000000000..0e4246ff5abe --- /dev/null +++ b/sysutils/blisp/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1679043406 +SHA256 (pine64-blisp-g20230317-6f508d3_GH0.tar.gz) = 47e7e12aa5edc85f61ff4cdea37eca4169bf5479701d8ed0214875b6b8e627b6 +SIZE (pine64-blisp-g20230317-6f508d3_GH0.tar.gz) = 110347 +SHA256 (argtable-argtable3-6f0e40b_GH0.tar.gz) = 5ac298f92cd26bc2cab541ac7a8f7295a040675d621e594864bb93ac8bfbcf59 +SIZE (argtable-argtable3-6f0e40b_GH0.tar.gz) = 510332 diff --git a/sysutils/blisp/files/devd-blisp.conf b/sysutils/blisp/files/devd-blisp.conf new file mode 100644 index 000000000000..1ec38d7baae7 --- /dev/null +++ b/sysutils/blisp/files/devd-blisp.conf @@ -0,0 +1,8 @@ +# enable user flash of Bouffalo Labs RISC-V MCUs (such in Pinecil v2 soldering +# iron, PineCone dev board, PineNut programmer and others). +attach 100 { + match "vendor" "0xffff"; + match "product" "0xffff"; + match "release" "0x0200"; + action "chmod 660 /dev/$ugen"; +}; diff --git a/sysutils/blisp/pkg-descr b/sysutils/blisp/pkg-descr new file mode 100644 index 000000000000..4b50bf9413d0 --- /dev/null +++ b/sysutils/blisp/pkg-descr @@ -0,0 +1,2 @@ +Utility and library for flashing Bouffalo RISC-V MCUs such as upgrading +firmware on Pinecil V2 open source soldering iron diff --git a/sysutils/blisp/pkg-message b/sysutils/blisp/pkg-message new file mode 100644 index 000000000000..8fe4f97eb12e --- /dev/null +++ b/sysutils/blisp/pkg-message @@ -0,0 +1,14 @@ +[ +{ type: install + message: < +EOM +} +]