pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/u-boot-nanopi-r1 Add a package for u-boot-na...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/391bc001b5b2
branches:  trunk
changeset: 341839:391bc001b5b2
user:      bad <bad%pkgsrc.org@localhost>
date:      Tue Oct 08 21:03:18 2019 +0000

description:
Add a package for  u-boot-nanopi-r1.

diffstat:

 sysutils/u-boot-nanopi-r1/DESCR                   |   5 ++
 sysutils/u-boot-nanopi-r1/Makefile                |   9 ++++
 sysutils/u-boot-nanopi-r1/PLIST                   |   3 +
 sysutils/u-boot-nanopi-r1/files/installboot.plist |  47 +++++++++++++++++++++++
 4 files changed, 64 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 4e61e2411d19 -r 391bc001b5b2 sysutils/u-boot-nanopi-r1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-r1/DESCR   Tue Oct 08 21:03:18 2019 +0000
@@ -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 R1.
diff -r 4e61e2411d19 -r 391bc001b5b2 sysutils/u-boot-nanopi-r1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-r1/Makefile        Tue Oct 08 21:03:18 2019 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2019/10/08 21:03:18 bad Exp $
+
+UBOOT_TARGET=          nanopi-r1
+UBOOT_CONFIG=          nanopi_r1_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=installboot.plist
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 4e61e2411d19 -r 391bc001b5b2 sysutils/u-boot-nanopi-r1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-r1/PLIST   Tue Oct 08 21:03:18 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/10/08 21:03:18 bad Exp $
+share/u-boot/nanopi-r1/installboot.plist
+share/u-boot/nanopi-r1/u-boot-sunxi-with-spl.bin
diff -r 4e61e2411d19 -r 391bc001b5b2 sysutils/u-boot-nanopi-r1/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-nanopi-r1/files/installboot.plist Tue Oct 08 21:03:18 2019 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/10/08 21:03:18 bad Exp $
+<!--
+  Copyright (c) 2019 The NetBSD Foundation, Inc.
+  All rights reserved.
+ 
+  This code is derived from software contributed to The NetBSD Foundation
+  by Jason R. Thorpe.
+ 
+  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-r1</key>
+       <dict>
+               <key>description</key>
+               <string>FriendlyArm NanoPi R1</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>



Home | Main Index | Thread Index | Old Index