pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/dtb-arm64-apple-m1
Module Name: pkgsrc
Committed By: jmcneill
Date: Sat Mar 6 20:16:28 UTC 2021
Added Files:
pkgsrc/sysutils/dtb-arm64-apple-m1: DESCR Makefile PLIST distinfo
Log Message:
Initial import of dtb-arm64-apple-m1 from Git.
The devicetree is a data structure for describing hardware. Rather than
hard coding every detail of a device into an operating system, many aspects
of the hardware can be described in a data structure that is passed to the
operating system at boot time.
This package includes Device Tree Blob (.dtb) files generated from
the Corellium Linux kernel for Apple M1 devices.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/dtb-arm64-apple-m1/DESCR \
pkgsrc/sysutils/dtb-arm64-apple-m1/Makefile \
pkgsrc/sysutils/dtb-arm64-apple-m1/PLIST \
pkgsrc/sysutils/dtb-arm64-apple-m1/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/dtb-arm64-apple-m1/DESCR
diff -u /dev/null pkgsrc/sysutils/dtb-arm64-apple-m1/DESCR:1.1
--- /dev/null Sat Mar 6 20:16:28 2021
+++ pkgsrc/sysutils/dtb-arm64-apple-m1/DESCR Sat Mar 6 20:16:28 2021
@@ -0,0 +1,7 @@
+The devicetree is a data structure for describing hardware. Rather than
+hard coding every detail of a device into an operating system, many aspects
+of the hardware can be described in a data structure that is passed to the
+operating system at boot time.
+
+This package includes Device Tree Blob (.dtb) files generated from
+the Corellium Linux kernel for Apple M1 devices.
Index: pkgsrc/sysutils/dtb-arm64-apple-m1/Makefile
diff -u /dev/null pkgsrc/sysutils/dtb-arm64-apple-m1/Makefile:1.1
--- /dev/null Sat Mar 6 20:16:28 2021
+++ pkgsrc/sysutils/dtb-arm64-apple-m1/Makefile Sat Mar 6 20:16:28 2021
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2021/03/06 20:16:28 jmcneill Exp $
+
+GITHUB_PROJECT= linux-m1
+GITHUB_TAG= 777de308c5d5f39d12b37c09b8a0d640fc1969e3
+DISTNAME= linux-m1-777de308c5d5f39d12b37c09b8a0d640fc1969e3
+PKGNAME= dtb-arm64-apple-m1-5.11rc4
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=corellium/}
+DIST_SUBDIR= ${GITHUB_PROJECT}
+EXTRACT_SUFX= .tar.gz
+EXTRACT_ELEMENTS= \
+ ${GITHUB_PROJECT}-${GITHUB_TAG}/arch/arm64/boot/dts \
+ ${GITHUB_PROJECT}-${GITHUB_TAG}/include
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/corellium/linux-m1/
+COMMENT= DTB files for arm64 apple-m1 based boards
+LICENSE= gnu-gpl-v2
+
+DTC= ${LOCALBASE}/bin/dtc
+DTS_DIR= ${WRKSRC}/arch/arm64/boot/dts
+DTS_INC= ${WRKSRC}/include
+DTS_ARCH_INC= ${DTS_DIR}/include
+
+DTB_DTS= apple/apple-m1-j274.dts
+
+do-build:
+.for d in ${DTB_DTS}
+ cd ${DTS_DIR} && \
+ ${CPP} -P -x assembler-with-cpp -I ${DTS_INC} -I ${DTS_ARCH_INC} \
+ -include ${DTS_DIR}/${d} /dev/null | \
+ ${DTC} -i ${DTS_INC} -i ${DTS_ARCH_INC} -I dts -O dtb \
+ -p 1024 -b 0 -o ${DTS_DIR}/${d:C/dts$/dtb/}
+.endfor
+
+do-install:
+.for d in ${DTB_DTS}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/dtb/arm64/apple
+ ${INSTALL_DATA} ${DTS_DIR}/${d:C/dts$/dtb/} \
+ ${DESTDIR}${PREFIX}/share/dtb/arm64/apple/
+.endfor
+
+BUILD_DEPENDS+= dtc>=1.4.2:../../sysutils/dtc
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/dtb-arm64-apple-m1/PLIST
diff -u /dev/null pkgsrc/sysutils/dtb-arm64-apple-m1/PLIST:1.1
--- /dev/null Sat Mar 6 20:16:28 2021
+++ pkgsrc/sysutils/dtb-arm64-apple-m1/PLIST Sat Mar 6 20:16:28 2021
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/06 20:16:28 jmcneill Exp $
+share/dtb/arm64/apple/apple-m1-j274.dtb
Index: pkgsrc/sysutils/dtb-arm64-apple-m1/distinfo
diff -u /dev/null pkgsrc/sysutils/dtb-arm64-apple-m1/distinfo:1.1
--- /dev/null Sat Mar 6 20:16:28 2021
+++ pkgsrc/sysutils/dtb-arm64-apple-m1/distinfo Sat Mar 6 20:16:28 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/03/06 20:16:28 jmcneill Exp $
+
+SHA1 (linux-m1/linux-m1-777de308c5d5f39d12b37c09b8a0d640fc1969e3-777de308c5d5f39d12b37c09b8a0d640fc1969e3.tar.gz) = e5333e2e0adae799c3c2ba4f0ead80ac2ad98034
+RMD160 (linux-m1/linux-m1-777de308c5d5f39d12b37c09b8a0d640fc1969e3-777de308c5d5f39d12b37c09b8a0d640fc1969e3.tar.gz) = 47ee923a4e2c59727e39b69468a3cf80b45a07ff
+SHA512 (linux-m1/linux-m1-777de308c5d5f39d12b37c09b8a0d640fc1969e3-777de308c5d5f39d12b37c09b8a0d640fc1969e3.tar.gz) =
02de8133c69940c0bc0d7fe9b70afd39bed65e8f6753224f8206c7e511360324e3ed186dde468dfe6ad82fe4e90c366f0bd2e7e6e92f3df6cd696dee4e52f4f0
+Size (linux-m1/linux-m1-777de308c5d5f39d12b37c09b8a0d640fc1969e3-777de308c5d5f39d12b37c09b8a0d640fc1969e3.tar.gz) = 189491134 bytes
Home |
Main Index |
Thread Index |
Old Index