diff options
author | bad <bad@pkgsrc.org> | 2019-10-08 21:37:28 +0000 |
---|---|---|
committer | bad <bad@pkgsrc.org> | 2019-10-08 21:37:28 +0000 |
commit | 2dcde1498f24b51b6a7d0665ffe648165905e2b4 (patch) | |
tree | f8fbc766c87e12dc17ba488de5a7a52d2e896c3a | |
parent | 46e399bdc12e51da2d61ad8995350a8389b92c61 (diff) | |
download | pkgsrc-2dcde1498f24b51b6a7d0665ffe648165905e2b4.tar.gz |
Add a package for u-boot-nanopi-duo2.
Compile-tested only.
-rw-r--r-- | sysutils/u-boot-nanopi-duo2/DESCR | 5 | ||||
-rw-r--r-- | sysutils/u-boot-nanopi-duo2/Makefile | 9 | ||||
-rw-r--r-- | sysutils/u-boot-nanopi-duo2/PLIST | 3 | ||||
-rw-r--r-- | sysutils/u-boot-nanopi-duo2/files/installboot.plist | 47 |
4 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/u-boot-nanopi-duo2/DESCR b/sysutils/u-boot-nanopi-duo2/DESCR new file mode 100644 index 00000000000..a585ceb14c3 --- /dev/null +++ b/sysutils/u-boot-nanopi-duo2/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 FriendlyARM NanoPi Duo2. diff --git a/sysutils/u-boot-nanopi-duo2/Makefile b/sysutils/u-boot-nanopi-duo2/Makefile new file mode 100644 index 00000000000..fb0b6126b04 --- /dev/null +++ b/sysutils/u-boot-nanopi-duo2/Makefile @@ -0,0 +1,9 @@ +# $NetBSD: Makefile,v 1.1 2019/10/08 21:37:28 bad Exp $ + +UBOOT_TARGET= nanopi-duo2 +UBOOT_CONFIG= nanopi_duo2_defconfig +UBOOT_BIN= u-boot-sunxi-with-spl.bin + +UBOOT_INSTALLBOOT_PLIST=installboot.plist + +.include "../../sysutils/u-boot/u-boot-arm.mk" diff --git a/sysutils/u-boot-nanopi-duo2/PLIST b/sysutils/u-boot-nanopi-duo2/PLIST new file mode 100644 index 00000000000..99175ac1083 --- /dev/null +++ b/sysutils/u-boot-nanopi-duo2/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1 2019/10/08 21:37:28 bad Exp $ +share/u-boot/nanopi-duo2/installboot.plist +share/u-boot/nanopi-duo2/u-boot-sunxi-with-spl.bin diff --git a/sysutils/u-boot-nanopi-duo2/files/installboot.plist b/sysutils/u-boot-nanopi-duo2/files/installboot.plist new file mode 100644 index 00000000000..04870f7b631 --- /dev/null +++ b/sysutils/u-boot-nanopi-duo2/files/installboot.plist @@ -0,0 +1,47 @@ +<!-- $NetBSD: installboot.plist,v 1.1 2019/10/08 21:37:28 bad Exp $ +<!-- + Copyright (c) 2019 The NetBSD Foundation, Inc. + All rights reserved. + + This code is derived from software contributed to The NetBSD Foundation + by Christoph Badura. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS + ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED + TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. +--> +<plist> +<dict> + <key>friendlyarm,nanopi-duo2</key> + <dict> + <key>description</key> + <string>FriendlyArm NanoPi Duo2</string> + <key>u-boot-install</key> + <array> + <dict> + <key>file-name</key> + <string>u-boot-sunxi-with-spl.bin</string> + <key>image-offset</key> + <integer>8192</integer> + </dict> + </array> + </dict> +</dict> +</plist> |