pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot-apple-m1 Initial import of u-boot-appl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba9b4ec16017
branches:  trunk
changeset: 448259:ba9b4ec16017
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Mar 06 20:17:39 2021 +0000

description:
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.

diffstat:

 sysutils/u-boot-apple-m1/DESCR    |   5 +++++
 sysutils/u-boot-apple-m1/Makefile |  29 +++++++++++++++++++++++++++++
 sysutils/u-boot-apple-m1/PLIST    |   3 +++
 sysutils/u-boot-apple-m1/distinfo |   6 ++++++
 4 files changed, 43 insertions(+), 0 deletions(-)

diffs (59 lines):

diff -r af11ee6eae3f -r ba9b4ec16017 sysutils/u-boot-apple-m1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-apple-m1/DESCR    Sat Mar 06 20:17:39 2021 +0000
@@ -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.
diff -r af11ee6eae3f -r ba9b4ec16017 sysutils/u-boot-apple-m1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-apple-m1/Makefile Sat Mar 06 20:17:39 2021 +0000
@@ -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"
diff -r af11ee6eae3f -r ba9b4ec16017 sysutils/u-boot-apple-m1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-apple-m1/PLIST    Sat Mar 06 20:17:39 2021 +0000
@@ -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
diff -r af11ee6eae3f -r ba9b4ec16017 sysutils/u-boot-apple-m1/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-apple-m1/distinfo Sat Mar 06 20:17:39 2021 +0000
@@ -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