pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Add U-Boot for the Lamobo R1 (a.k.a. Bananapi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41347f8cecd2
branches:  trunk
changeset: 334352:41347f8cecd2
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Sat May 25 01:41:10 2019 +0000

description:
Add U-Boot for the Lamobo R1 (a.k.a. Bananapi BPI-R1).

diffstat:

 sysutils/Makefile                                 |   3 +-
 sysutils/u-boot-lamobo-r1/DESCR                   |   6 ++
 sysutils/u-boot-lamobo-r1/Makefile                |   9 ++++
 sysutils/u-boot-lamobo-r1/PLIST                   |   3 +
 sysutils/u-boot-lamobo-r1/files/installboot.plist |  47 +++++++++++++++++++++++
 sysutils/u-boot/Makefile                          |   3 +-
 6 files changed, 69 insertions(+), 2 deletions(-)

diffs (115 lines):

diff -r 047901b02d4e -r 41347f8cecd2 sysutils/Makefile
--- a/sysutils/Makefile Fri May 24 19:26:08 2019 +0000
+++ b/sysutils/Makefile Sat May 25 01:41:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.812 2019/05/22 11:54:47 jperkin Exp $
+# $NetBSD: Makefile,v 1.813 2019/05/25 01:41:11 thorpej Exp $
 #
 
 COMMENT=       System utilities
@@ -636,6 +636,7 @@
 SUBDIR+=       u-boot-jetson-tk1
 SUBDIR+=       u-boot-jetson-tx1
 SUBDIR+=       u-boot-jetson-tx2
+SUBDIR+=       u-boot-lamobo-r1
 SUBDIR+=       u-boot-libretech-cc
 SUBDIR+=       u-boot-nanopi-m1
 SUBDIR+=       u-boot-nanopi-neo
diff -r 047901b02d4e -r 41347f8cecd2 sysutils/u-boot-lamobo-r1/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-lamobo-r1/DESCR   Sat May 25 01:41:10 2019 +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 Lamobo R1 (also known as the
+Bananapi BPI-R1).
diff -r 047901b02d4e -r 41347f8cecd2 sysutils/u-boot-lamobo-r1/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-lamobo-r1/Makefile        Sat May 25 01:41:10 2019 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2019/05/25 01:41:11 thorpej Exp $
+
+UBOOT_TARGET=          lamobo-r1
+UBOOT_CONFIG=          Lamobo_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 047901b02d4e -r 41347f8cecd2 sysutils/u-boot-lamobo-r1/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-lamobo-r1/PLIST   Sat May 25 01:41:10 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/25 01:41:11 thorpej Exp $
+share/u-boot/lamobo-r1/installboot.plist
+share/u-boot/lamobo-r1/u-boot-sunxi-with-spl.bin
diff -r 047901b02d4e -r 41347f8cecd2 sysutils/u-boot-lamobo-r1/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-lamobo-r1/files/installboot.plist Sat May 25 01:41:10 2019 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/05/25 01:41:11 thorpej 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>lamobo,lamobo-r1</key>
+       <dict>
+               <key>description</key>
+               <string>Lamobo 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>
diff -r 047901b02d4e -r 41347f8cecd2 sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Fri May 24 19:26:08 2019 +0000
+++ b/sysutils/u-boot/Makefile  Sat May 25 01:41:10 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/05/18 18:01:34 thorpej Exp $
+# $NetBSD: Makefile,v 1.13 2019/05/25 01:41:10 thorpej Exp $
 #
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
@@ -34,6 +34,7 @@
 DEPENDS+=      u-boot-jetson-tk1-[0-9]*:../../sysutils/u-boot-jetson-tk1
 DEPENDS+=      u-boot-jetson-tx1-[0-9]*:../../sysutils/u-boot-jetson-tx1
 DEPENDS+=      u-boot-jetson-tx2-[0-9]*:../../sysutils/u-boot-jetson-tx2
+DEPENDS+=      u-boot-lamobo-r1-[0-9]*:../../sysutils/u-boot-lamobo-r1
 .if !empty(PKG_OPTIONS:Mamlogic-meson)
 DEPENDS+=      u-boot-libretech-cc-[0-9]*:../../sysutils/u-boot-libretech-cc
 .endif



Home | Main Index | Thread Index | Old Index