pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/u-boot-nanopi-neo2 Initial import of u-boot-n...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a8d21191a19f
branches: trunk
changeset: 370115:a8d21191a19f
user: jmcneill <jmcneill%pkgsrc.org@localhost>
date: Wed Oct 11 20:34:18 2017 +0000
description:
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.
diffstat:
sysutils/u-boot-nanopi-neo2/DESCR | 5 +++++
sysutils/u-boot-nanopi-neo2/Makefile | 18 ++++++++++++++++++
sysutils/u-boot-nanopi-neo2/PLIST | 2 ++
3 files changed, 25 insertions(+), 0 deletions(-)
diffs (37 lines):
diff -r 0f7a416fea7f -r a8d21191a19f sysutils/u-boot-nanopi-neo2/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-neo2/DESCR Wed Oct 11 20:34:18 2017 +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 FriendlyARM NanoPi NEO 2.
diff -r 0f7a416fea7f -r a8d21191a19f sysutils/u-boot-nanopi-neo2/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-neo2/Makefile Wed Oct 11 20:34:18 2017 +0000
@@ -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"
diff -r 0f7a416fea7f -r a8d21191a19f sysutils/u-boot-nanopi-neo2/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-neo2/PLIST Wed Oct 11 20:34:18 2017 +0000
@@ -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