pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/u-boot-apple-m1



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Sat Mar  6 20:17:40 UTC 2021

Added Files:
        pkgsrc/sysutils/u-boot-apple-m1: DESCR Makefile PLIST distinfo

Log Message:
Initial import of u-boot-apple-m1 from Git.

U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
several other processors, which can be installed in a boot ROM and used to
initialize and test the hardware or to download and run application code.

This package provides U-Boot for the Apple M1 SoC.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-apple-m1/DESCR \
    pkgsrc/sysutils/u-boot-apple-m1/Makefile \
    pkgsrc/sysutils/u-boot-apple-m1/PLIST \
    pkgsrc/sysutils/u-boot-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/u-boot-apple-m1/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-apple-m1/DESCR:1.1
--- /dev/null   Sat Mar  6 20:17:40 2021
+++ pkgsrc/sysutils/u-boot-apple-m1/DESCR       Sat Mar  6 20:17:39 2021
@@ -0,0 +1,5 @@
+U-Boot is a bootloader for embedded boards based on PowerPC, ARM, MIPS and
+several other processors, which can be installed in a boot ROM and used to
+initialize and test the hardware or to download and run application code.
+
+This package provides U-Boot for the Apple M1 SoC.
Index: pkgsrc/sysutils/u-boot-apple-m1/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-apple-m1/Makefile:1.1
--- /dev/null   Sat Mar  6 20:17:40 2021
+++ pkgsrc/sysutils/u-boot-apple-m1/Makefile    Sat Mar  6 20:17:39 2021
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/03/06 20:17:39 jmcneill Exp $
+
+UBOOT_TARGET=          apple-m1
+UBOOT_CONFIG=          apple_m1_defconfig
+UBOOT_BIN=             u-boot-nodtb.bin u-boot.macho
+
+DISTINFO_FILE?=         ${.CURDIR}/../../sysutils/u-boot-apple-m1/distinfo
+PATCHDIR?=              ${.CURDIR}/../../sysutils/u-boot-apple-m1/patches
+
+UBOOT_VERSION=  2021.01
+GITHUB_PROJECT=        u-boot
+GITHUB_TAG=    efe1ec684e2fdaeca38422e5373bdde046ec1f20
+MASTER_SITES=   ${MASTER_SITE_GITHUB:=kettenis/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+DISTNAME=      u-boot-apple-m1-${GITHUB_TAG}
+EXTRACT_SUFX=  .tar.gz # keep this
+PKGNAME=       u-boot-apple-m1-${UBOOT_VERSION}
+BUILD_TARGET=  u-boot-nodtb.bin
+
+BUILD_DEPENDS+=        preloader-m1>=0:../../sysutils/preloader-m1
+BUILD_DEPENDS+=        dtb-arm64-apple-m1>=0:../../sysutils/dtb-arm64-apple-m1
+
+post-build:
+       ${PREFIX}/bin/machopack ${WRKSRC}/u-boot.macho \
+           ${PREFIX}/share/preloader-m1/preboot.bin@0x803040000 \
+           ${WRKSRC}/u-boot-nodtb.bin@0x803080000 \
+           ${PREFIX}/share/dtb/arm64/apple/apple-m1-j274.dtb@0x803060000
+
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
Index: pkgsrc/sysutils/u-boot-apple-m1/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-apple-m1/PLIST:1.1
--- /dev/null   Sat Mar  6 20:17:40 2021
+++ pkgsrc/sysutils/u-boot-apple-m1/PLIST       Sat Mar  6 20:17:39 2021
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2021/03/06 20:17:39 jmcneill Exp $
+share/u-boot/apple-m1/u-boot-nodtb.bin
+share/u-boot/apple-m1/u-boot.macho
Index: pkgsrc/sysutils/u-boot-apple-m1/distinfo
diff -u /dev/null pkgsrc/sysutils/u-boot-apple-m1/distinfo:1.1
--- /dev/null   Sat Mar  6 20:17:40 2021
+++ pkgsrc/sysutils/u-boot-apple-m1/distinfo    Sat Mar  6 20:17:39 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/03/06 20:17:39 jmcneill Exp $
+
+SHA1 (u-boot/u-boot-apple-m1-efe1ec684e2fdaeca38422e5373bdde046ec1f20-efe1ec684e2fdaeca38422e5373bdde046ec1f20.tar.gz) = eabc89f7cf3ae680b696a3e93edf5b2fca0a9dbb
+RMD160 (u-boot/u-boot-apple-m1-efe1ec684e2fdaeca38422e5373bdde046ec1f20-efe1ec684e2fdaeca38422e5373bdde046ec1f20.tar.gz) = 81c08e23b81f90fae3551e2b3613029e615c9b29
+SHA512 (u-boot/u-boot-apple-m1-efe1ec684e2fdaeca38422e5373bdde046ec1f20-efe1ec684e2fdaeca38422e5373bdde046ec1f20.tar.gz) = 
0ab1a5b6f86f159b57e38aaa5698177b05c126d016fc24ee90ca25de85424b68de8aa3007bb1fe85e5f32cb2a67e0853c7fbc2001b21161dce5e9a732a4096d3
+Size (u-boot/u-boot-apple-m1-efe1ec684e2fdaeca38422e5373bdde046ec1f20-efe1ec684e2fdaeca38422e5373bdde046ec1f20.tar.gz) = 21202914 bytes



Home | Main Index | Thread Index | Old Index