pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/u-boot-nanopi-neo2



Module Name:    pkgsrc
Committed By:   jmcneill
Date:           Wed Oct 11 20:34:18 UTC 2017

Added Files:
        pkgsrc/sysutils/u-boot-nanopi-neo2: DESCR Makefile PLIST

Log Message:
Initial import of u-boot-nanopi-neo2 version 2017.09.

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 FriendlyARM NanoPi NEO 2.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-nanopi-neo2/DESCR \
    pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile \
    pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST

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-nanopi-neo2/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-nanopi-neo2/DESCR:1.1
--- /dev/null   Wed Oct 11 20:34:18 2017
+++ pkgsrc/sysutils/u-boot-nanopi-neo2/DESCR    Wed Oct 11 20:34:18 2017
@@ -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 FriendlyARM NanoPi NEO 2.
Index: pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile:1.1
--- /dev/null   Wed Oct 11 20:34:18 2017
+++ pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile Wed Oct 11 20:34:18 2017
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2017/10/11 20:34:18 jmcneill Exp $
+
+UBOOT_TARGET=          nanopi-neo2
+UBOOT_CONFIG=          nanopi_neo2_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+# Switch to EL1 before booting kernel (required for 32-bit support)
+PKG_DEFAULT_OPTIONS+=  el1
+
+post-extract:
+       ${CP} ${PREFIX}/share/arm-trusted-firmware/sun50iw1p1/bl31.bin ${WRKSRC}
+
+BUILD_DEPENDS+=                arm-trusted-firmware-sun50iw1p1-[0-9]*:../../sysutils/arm-trusted-firmware-sun50iw1p1
+
+post-build:
+       ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
+
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
Index: pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST:1.1
--- /dev/null   Wed Oct 11 20:34:18 2017
+++ pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST    Wed Oct 11 20:34:18 2017
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/11 20:34:18 jmcneill Exp $
+share/u-boot/nanopi-neo2/u-boot-sunxi-with-spl.bin



Home | Main Index | Thread Index | Old Index