Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2024 10:43:31 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 549330b9e7ed - main - sysutils/rkbin: Add new port
Message-ID:  <202405301043.44UAhVsQ042760@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=549330b9e7eda8a8ff58c46a1b6fdd62c01ce003

commit 549330b9e7eda8a8ff58c46a1b6fdd62c01ce003
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2024-05-30 09:33:22 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2024-05-30 10:43:03 +0000

    sysutils/rkbin: Add new port
    
    Add a new port for firmware file for RK356X SoCs.
    Only the needed ones are distributed here to avoid downloading
    a bunch of useless files for us.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 sysutils/Makefile        |  1 +
 sysutils/rkbin/Makefile  | 29 +++++++++++++++++++++++++++++
 sysutils/rkbin/distinfo  |  3 +++
 sysutils/rkbin/pkg-descr |  4 ++++
 4 files changed, 37 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index ec148d6c96ba..40b4a10c3c40 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1211,6 +1211,7 @@
     SUBDIR += retail
     SUBDIR += rex
     SUBDIR += rhc
+    SUBDIR += rkbin
     SUBDIR += rinse
     SUBDIR += rmlint
     SUBDIR += rocinante
diff --git a/sysutils/rkbin/Makefile b/sysutils/rkbin/Makefile
new file mode 100644
index 000000000000..389f5738ebd2
--- /dev/null
+++ b/sysutils/rkbin/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	rkbin
+PORTVERSION=	v0.1
+CATEGORIES=	sysutils
+MASTER_SITES=	LOCAL/manu
+
+MAINTAINER=	uboot@FreeBSD.org
+COMMENT=	Rockchip Binary blobs
+WWW=		https://github.com/rockchip-linux/rkbin
+
+LICENSE=	UNKNOWN
+LICENSE_NAME=	rockchip
+LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
+
+USES=	tar:xz
+
+NO_ARCH=	yes
+NO_BUILD=	yes
+
+PLIST_FILES=	share/${PORTNAME}/rk35/rk3566_ddr_1056MHz_v1.21.bin \
+		share/${PORTNAME}/rk35/rk3568_bl31_v1.44.elf
+
+do-install:
+	${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}
+	${MKDIR} ${STAGEDIR}/${PREFIX}/share/${PORTNAME}/rk35
+	${INSTALL_DATA} ${WRKSRC}/rk3566_ddr_1056MHz_v1.21.bin ${STAGEDIR}/${PREFIX}/share/${PORTNAME}/rk35/
+	${INSTALL_DATA} ${WRKSRC}/rk3568_bl31_v1.44.elf ${STAGEDIR}/${PREFIX}/share/${PORTNAME}/rk35/
+
+.include <bsd.port.mk>
diff --git a/sysutils/rkbin/distinfo b/sysutils/rkbin/distinfo
new file mode 100644
index 000000000000..797ff26ff8c4
--- /dev/null
+++ b/sysutils/rkbin/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1717061319
+SHA256 (rkbin-v0.1.tar.xz) = 5cf5f552968b5551ef1d38a7ca3d3fea1566b84ea3c8367480a17ae633c1a137
+SIZE (rkbin-v0.1.tar.xz) = 118127
diff --git a/sysutils/rkbin/pkg-descr b/sysutils/rkbin/pkg-descr
new file mode 100644
index 000000000000..e014f8c2fb62
--- /dev/null
+++ b/sysutils/rkbin/pkg-descr
@@ -0,0 +1,4 @@
+Firmware binary blobs from Rockchip for booting on RK356X SoCs.
+Binary blobs are taken directly from https://github.com/rockchip-linux/rkbin
+and re-distributed which avoid downloading a lot of useless files that
+we don't want.



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