pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Initial import of u-boot-sopine-baseboard ver...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4e275c391f5
branches:  trunk
changeset: 381430:b4e275c391f5
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Thu Jun 07 00:58:27 2018 +0000

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

diffstat:

 sysutils/Makefile                         |   3 ++-
 sysutils/u-boot-sopine-baseboard/DESCR    |   6 ++++++
 sysutils/u-boot-sopine-baseboard/Makefile |  24 ++++++++++++++++++++++++
 sysutils/u-boot-sopine-baseboard/PLIST    |   2 ++
 sysutils/u-boot/Makefile                  |   3 ++-
 5 files changed, 36 insertions(+), 2 deletions(-)

diffs (78 lines):

diff -r ac38b1d96f05 -r b4e275c391f5 sysutils/Makefile
--- a/sysutils/Makefile Wed Jun 06 22:46:07 2018 +0000
+++ b/sysutils/Makefile Thu Jun 07 00:58:27 2018 +0000
@@ -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-pine64
 SUBDIR+=       u-boot-pinebook
 SUBDIR+=       u-boot-pocketchip
+SUBDIR+=       u-boot-sopine-baseboard
 SUBDIR+=       upower
 SUBDIR+=       ups-nut
 SUBDIR+=       ups-nut-cgi
diff -r ac38b1d96f05 -r b4e275c391f5 sysutils/u-boot-sopine-baseboard/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-sopine-baseboard/DESCR    Thu Jun 07 00:58:27 2018 +0000
@@ -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".
diff -r ac38b1d96f05 -r b4e275c391f5 sysutils/u-boot-sopine-baseboard/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-sopine-baseboard/Makefile Thu Jun 07 00:58:27 2018 +0000
@@ -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"
diff -r ac38b1d96f05 -r b4e275c391f5 sysutils/u-boot-sopine-baseboard/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-sopine-baseboard/PLIST    Thu Jun 07 00:58:27 2018 +0000
@@ -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
diff -r ac38b1d96f05 -r b4e275c391f5 sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Wed Jun 06 22:46:07 2018 +0000
+++ b/sysutils/u-boot/Makefile  Thu Jun 07 00:58:27 2018 +0000
@@ -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-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
 



Home | Main Index | Thread Index | Old Index