pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/u-boot-pinephone
Module Name: pkgsrc
Committed By: riastradh
Date: Tue Dec 1 06:52:30 UTC 2020
Added Files:
pkgsrc/sysutils/u-boot-pinephone: DESCR Makefile PLIST distinfo
pkgsrc/sysutils/u-boot-pinephone/files: installboot.plist
pkgsrc/sysutils/u-boot-pinephone/patches: patch-lib_bch.c
Log Message:
sysutils/u-boot-pinephone: Import u-boot-pinephone 2021.01-rc3
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-pinephone/DESCR \
pkgsrc/sysutils/u-boot-pinephone/Makefile \
pkgsrc/sysutils/u-boot-pinephone/PLIST \
pkgsrc/sysutils/u-boot-pinephone/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/u-boot-pinephone/files/installboot.plist
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/u-boot-pinephone/patches/patch-lib_bch.c
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-pinephone/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/DESCR:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/DESCR Tue Dec 1 06:52:30 2020
@@ -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 Pine64 Pinebook.
Index: pkgsrc/sysutils/u-boot-pinephone/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/Makefile:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/Makefile Tue Dec 1 06:52:30 2020
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1 2020/12/01 06:52:30 riastradh Exp $
+
+UBOOT_VERSION= 2021.01-rc3
+UBOOT_TARGET= pinephone
+UBOOT_CONFIG= pinephone_defconfig
+UBOOT_BIN= u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST= installboot.plist
+
+DISTINFO_FILE= ${.CURDIR}/../../sysutils/u-boot-pinephone/distinfo
+PATCHDIR= ${.CURDIR}/../../sysutils/u-boot-pinephone/patches
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+
+ALL_ENV+= PYTHON3=${PYTHONBIN}
+
+SUBST_CLASSES+= python3
+SUBST_STAGE.python3+= pre-build
+SUBST_FILES.python3+= Makefile
+SUBST_SED.python3+= -e 's,^PYTHON3.*=.*python3$$,PYTHON3='${PYTHONBIN:Q}',g'
+
+REPLACE_INTERPRETER+= python3
+REPLACE.python3.old+= /usr/bin/env python3
+REPLACE.python3.new+= ${PYTHONBIN}
+REPLACE_FILES.python3+= scripts/dtc/pylibfdt/setup.py
+
+post-extract:
+ ${CP} ${PREFIX}/share/arm-trusted-firmware/sun50i_a64/bl31.bin ${WRKSRC}
+
+.include "../../sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk"
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
+
+CHECK_PORTABILITY_SKIP+= tools/imx_cntr_image.sh
Index: pkgsrc/sysutils/u-boot-pinephone/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/PLIST:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/PLIST Tue Dec 1 06:52:30 2020
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/01 06:52:30 riastradh Exp $
+share/u-boot/pinephone/installboot.plist
+share/u-boot/pinephone/u-boot-sunxi-with-spl.bin
Index: pkgsrc/sysutils/u-boot-pinephone/distinfo
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/distinfo:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/distinfo Tue Dec 1 06:52:30 2020
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/12/01 06:52:30 riastradh Exp $
+
+SHA1 (u-boot-2021.01-rc3.tar.bz2) = be748544928dec0117608cdbf067da2ec9fa2dce
+RMD160 (u-boot-2021.01-rc3.tar.bz2) = ce12dd23023829fe671a502e4cbaf5fd8cf34097
+SHA512 (u-boot-2021.01-rc3.tar.bz2) = 4c88bbdeb1e39e52bb069c4bf65c9829290a51da9a21de8e60d50b62c74ae98a35d22a235fdc0a86467aedc34f85dff5d63b874af247323d0d5bdcb2e82cd4a3
+Size (u-boot-2021.01-rc3.tar.bz2) = 16363623 bytes
+SHA1 (patch-lib_bch.c) = 01a1704adfb60fd3a7e72eaf6396c86d63a4d450
Index: pkgsrc/sysutils/u-boot-pinephone/files/installboot.plist
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/files/installboot.plist:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/files/installboot.plist Tue Dec 1 06:52:30 2020
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2020/12/01 06:52:30 riastradh Exp $ -->
+<!--
+ Copyright (c) 2019 The NetBSD Foundation, Inc.
+ All rights reserved.
+
+ This code is derived from software contributed to The NetBSD Foundation
+ by Jason R. Thorpe.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+-->
+<plist>
+<dict>
+ <key>pine64,pinephone</key>
+ <dict>
+ <key>description</key>
+ <string>Pinephone</string>
+ <key>u-boot-install</key>
+ <array>
+ <dict>
+ <key>file-name</key>
+ <string>u-boot-sunxi-with-spl.bin</string>
+ <key>image-offset</key>
+ <integer>8192</integer>
+ </dict>
+ </array>
+ </dict>
+</dict>
+</plist>
Index: pkgsrc/sysutils/u-boot-pinephone/patches/patch-lib_bch.c
diff -u /dev/null pkgsrc/sysutils/u-boot-pinephone/patches/patch-lib_bch.c:1.1
--- /dev/null Tue Dec 1 06:52:30 2020
+++ pkgsrc/sysutils/u-boot-pinephone/patches/patch-lib_bch.c Tue Dec 1 06:52:30 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_bch.c,v 1.1 2020/12/01 06:52:30 riastradh Exp $
+
+--- lib/bch.c.orig 2020-02-28 06:52:51.000000000 +0000
++++ lib/bch.c
+@@ -62,7 +62,7 @@
+ #include <linux/bitops.h>
+ #else
+ #include <errno.h>
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/endian.h>
+ #elif defined(__APPLE__)
+ #include <machine/endian.h>
Home |
Main Index |
Thread Index |
Old Index