From e4c265dde5af8bcc86c4ba0c591f4eba43608258 Mon Sep 17 00:00:00 2001 From: jmcneill Date: Sat, 26 May 2018 17:53:18 +0000 Subject: Initial import of u-boot-pine-h64 version 2018.03rc1. 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 Pine H64. --- sysutils/Makefile | 3 ++- sysutils/u-boot-pine-h64/DESCR | 5 +++++ sysutils/u-boot-pine-h64/Makefile | 26 ++++++++++++++++++++++++++ sysutils/u-boot-pine-h64/PLIST | 2 ++ sysutils/u-boot-pine-h64/distinfo | 8 ++++++++ 5 files changed, 43 insertions(+), 1 deletion(-) create mode 100644 sysutils/u-boot-pine-h64/DESCR create mode 100644 sysutils/u-boot-pine-h64/Makefile create mode 100644 sysutils/u-boot-pine-h64/PLIST create mode 100644 sysutils/u-boot-pine-h64/distinfo (limited to 'sysutils') diff --git a/sysutils/Makefile b/sysutils/Makefile index 526074842f2..b38900b7da2 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.759 2018/05/26 17:51:33 jmcneill Exp $ +# $NetBSD: Makefile,v 1.760 2018/05/26 17:53:18 jmcneill Exp $ # COMMENT= System utilities @@ -618,6 +618,7 @@ SUBDIR+= u-boot-nanopi-neo2 SUBDIR+= u-boot-orangepi-2 SUBDIR+= u-boot-orangepi-one SUBDIR+= u-boot-orangepi-plus2e +SUBDIR+= u-boot-pine-h64 SUBDIR+= u-boot-pine64 SUBDIR+= u-boot-pinebook SUBDIR+= u-boot-pocketchip diff --git a/sysutils/u-boot-pine-h64/DESCR b/sysutils/u-boot-pine-h64/DESCR new file mode 100644 index 00000000000..f0cb516c322 --- /dev/null +++ b/sysutils/u-boot-pine-h64/DESCR @@ -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 Pine H64. diff --git a/sysutils/u-boot-pine-h64/Makefile b/sysutils/u-boot-pine-h64/Makefile new file mode 100644 index 00000000000..2e4cf1f7429 --- /dev/null +++ b/sysutils/u-boot-pine-h64/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2018/05/26 17:53:18 jmcneill Exp $ + +UBOOT_VERSION= 2018.03rc1 +UBOOT_TARGET= pine-h64 +UBOOT_CONFIG= pine_h64_defconfig +UBOOT_BIN= u-boot-sunxi-with-spl.bin + +# Use Icenowy's fork of mainline U-Boot with Pine H64 support patched in +MASTER_SITES= ${MASTER_SITE_GITHUB:=Icenowy/} +GITHUB_PROJECT= u-boot +GITHUB_TAG= f4077661c6c0f3b92f26cb7c35432ad64615fe32 +DISTNAME= u-boot-${UBOOT_TARGET}-${UBOOT_VERSION} +EXTRACT_SUFX= .tar.gz + +post-extract: + ${CP} ${PREFIX}/share/arm-trusted-firmware/sun50i-h6/bl31.bin ${WRKSRC} + +post-build: + ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin + +.include "../../sysutils/arm-trusted-firmware-sun50i-h6/buildlink3.mk" +.include "../../sysutils/u-boot/u-boot-arm64.mk" + +# Override U-Boot defaults +DISTINFO_FILE= ${.CURDIR}/distinfo +PATCHDIR= ${.CURDIR}/patches diff --git a/sysutils/u-boot-pine-h64/PLIST b/sysutils/u-boot-pine-h64/PLIST new file mode 100644 index 00000000000..b625ccd4d50 --- /dev/null +++ b/sysutils/u-boot-pine-h64/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2018/05/26 17:53:18 jmcneill Exp $ +share/u-boot/pine-h64/u-boot-sunxi-with-spl.bin diff --git a/sysutils/u-boot-pine-h64/distinfo b/sysutils/u-boot-pine-h64/distinfo new file mode 100644 index 00000000000..2662e7b5947 --- /dev/null +++ b/sysutils/u-boot-pine-h64/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1 2018/05/26 17:53:18 jmcneill Exp $ + +SHA1 (u-boot-pine-h64-2018.03rc1-f4077661c6c0f3b92f26cb7c35432ad64615fe32.tar.gz) = b1f9ce5f4707e82adc86ed1de1e1a59f4f688307 +RMD160 (u-boot-pine-h64-2018.03rc1-f4077661c6c0f3b92f26cb7c35432ad64615fe32.tar.gz) = cb4f21f8727d78c196c7697fff4699fa2e2298a8 +SHA512 (u-boot-pine-h64-2018.03rc1-f4077661c6c0f3b92f26cb7c35432ad64615fe32.tar.gz) = a527f3e389fe95b005a117a47aaf8a98e553dda994423f10f09b1cdd00f311fbd11ae672f3c01bc8b897e7aafb0bd02bc71563c4140d7229f322336a944937bc +Size (u-boot-pine-h64-2018.03rc1-f4077661c6c0f3b92f26cb7c35432ad64615fe32.tar.gz) = 15580051 bytes +SHA1 (patch-arch_arm_cpu_armv8_Kconfig) = 82dee7f627ba721ba3548b49569ee2491764d86a +SHA1 (patch-lib_bch.c) = 00a80689266d3ab8d2af862327e7c852220a0713 -- cgit v1.2.3