Wed Oct 11 20:34:18 2017 UTC ()
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.


(jmcneill)
diff -r0 -r1.1 pkgsrc/sysutils/u-boot-nanopi-neo2/DESCR
diff -r0 -r1.1 pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile
diff -r0 -r1.1 pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST

File Added: pkgsrc/sysutils/u-boot-nanopi-neo2/DESCR
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.

File Added: pkgsrc/sysutils/u-boot-nanopi-neo2/Makefile
# $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"

File Added: pkgsrc/sysutils/u-boot-nanopi-neo2/PLIST
@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