pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils
Module Name: pkgsrc
Committed By: jmcneill
Date: Thu Jun 7 00:58:27 UTC 2018
Modified Files:
pkgsrc/sysutils: Makefile
pkgsrc/sysutils/u-boot: Makefile
Added Files:
pkgsrc/sysutils/u-boot-sopine-baseboard: DESCR Makefile PLIST
Log Message:
Initial import of u-boot-sopine-baseboard version 2018.05
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 SOPINE A64 with SOPINE Baseboard
"Model A".
To generate a diff of this commit:
cvs rdiff -u -r1.760 -r1.761 pkgsrc/sysutils/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/sysutils/u-boot/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-sopine-baseboard/DESCR \
pkgsrc/sysutils/u-boot-sopine-baseboard/Makefile \
pkgsrc/sysutils/u-boot-sopine-baseboard/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.760 pkgsrc/sysutils/Makefile:1.761
--- pkgsrc/sysutils/Makefile:1.760 Sat May 26 17:53:18 2018
+++ pkgsrc/sysutils/Makefile Thu Jun 7 00:58:27 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.760 2018/05/26 17:53:18 jmcneill Exp $
+# $NetBSD: Makefile,v 1.761 2018/06/07 00:58:27 jmcneill Exp $
#
COMMENT= System utilities
@@ -622,6 +622,7 @@ SUBDIR+= u-boot-pine-h64
SUBDIR+= u-boot-pine64
SUBDIR+= u-boot-pinebook
SUBDIR+= u-boot-pocketchip
+SUBDIR+= u-boot-sopine-baseboard
SUBDIR+= upower
SUBDIR+= ups-nut
SUBDIR+= ups-nut-cgi
Index: pkgsrc/sysutils/u-boot/Makefile
diff -u pkgsrc/sysutils/u-boot/Makefile:1.3 pkgsrc/sysutils/u-boot/Makefile:1.4
--- pkgsrc/sysutils/u-boot/Makefile:1.3 Sat May 26 17:54:09 2018
+++ pkgsrc/sysutils/u-boot/Makefile Thu Jun 7 00:58:27 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2018/05/26 17:54:09 jmcneill Exp $
+# $NetBSD: Makefile,v 1.4 2018/06/07 00:58:27 jmcneill Exp $
#
.include "../../sysutils/u-boot/u-boot-version.mk"
@@ -37,6 +37,7 @@ DEPENDS+= u-boot-pine-h64-[0-9]*:../../s
DEPENDS+= u-boot-pine64-[0-9]*:../../sysutils/u-boot-pine64
DEPENDS+= u-boot-pinebook-[0-9]*:../../sysutils/u-boot-pinebook
DEPENDS+= u-boot-pocketchip-[0-9]*:../../sysutils/u-boot-pocketchip
+DEPENDS+= u-boot-sopine-baseboard-[0-9]*:../../sysutils/u-boot-sopine-baseboard
META_PACKAGE= yes
Added files:
Index: pkgsrc/sysutils/u-boot-sopine-baseboard/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-sopine-baseboard/DESCR:1.1
--- /dev/null Thu Jun 7 00:58:27 2018
+++ pkgsrc/sysutils/u-boot-sopine-baseboard/DESCR Thu Jun 7 00:58:27 2018
@@ -0,0 +1,6 @@
+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 SOPINE A64 with SOPINE Baseboard
+"Model A".
Index: pkgsrc/sysutils/u-boot-sopine-baseboard/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-sopine-baseboard/Makefile:1.1
--- /dev/null Thu Jun 7 00:58:27 2018
+++ pkgsrc/sysutils/u-boot-sopine-baseboard/Makefile Thu Jun 7 00:58:27 2018
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2018/06/07 00:58:27 jmcneill Exp $
+
+UBOOT_TARGET= sopine-baseboard
+UBOOT_CONFIG= sopine_baseboard_defconfig
+UBOOT_BIN= u-boot-sunxi-with-spl.bin
+UBOOT_ENV+= DEVICE_TREE=sun50i-a64-sopine-baseboard
+
+# 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}
+ ${CP} ${WRKSRC}/arch/arm/dts/sun50i-a64-pine64-plus.dts \
+ ${WRKSRC}/arch/arm/dts/sun50i-a64-sopine-baseboard.dts
+ ${CAT} ${WRKSRC}/configs/${UBOOT_CONFIG} | \
+ ${SED} "s/sun50i-a64-pine64-plus/sun50i-a64-sopine-baseboard/" \
+ > ${WRKSRC}/configs/${UBOOT_CONFIG}.tmp && \
+ ${MV} ${WRKSRC}/configs/${UBOOT_CONFIG}.tmp ${WRKSRC}/configs/${UBOOT_CONFIG}
+
+post-build:
+ ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin
+
+.include "../../sysutils/arm-trusted-firmware-sun50iw1p1/buildlink3.mk"
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
Index: pkgsrc/sysutils/u-boot-sopine-baseboard/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-sopine-baseboard/PLIST:1.1
--- /dev/null Thu Jun 7 00:58:27 2018
+++ pkgsrc/sysutils/u-boot-sopine-baseboard/PLIST Thu Jun 7 00:58:27 2018
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2018/06/07 00:58:27 jmcneill Exp $
+share/u-boot/sopine-baseboard/u-boot-sunxi-with-spl.bin
Home |
Main Index |
Thread Index |
Old Index