pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils Add a U-Boot package for the LeMaker Banana Pro.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6209a2352022
branches:  trunk
changeset: 396332:6209a2352022
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Wed May 29 03:24:02 2019 +0000

description:
Add a U-Boot package for the LeMaker Banana Pro.

diffstat:

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

diffs (114 lines):

diff -r 06e5426b7100 -r 6209a2352022 sysutils/Makefile
--- a/sysutils/Makefile Wed May 29 03:23:28 2019 +0000
+++ b/sysutils/Makefile Wed May 29 03:24:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.813 2019/05/25 01:41:11 thorpej Exp $
+# $NetBSD: Makefile,v 1.814 2019/05/29 03:24:02 thorpej Exp $
 #
 
 COMMENT=       System utilities
@@ -622,6 +622,7 @@
 SUBDIR+=       u-boot-bananapi
 SUBDIR+=       u-boot-bananapi-m3
 SUBDIR+=       u-boot-bananapi-r2
+SUBDIR+=       u-boot-bananapro
 SUBDIR+=       u-boot-beagleboard
 SUBDIR+=       u-boot-beagleboneblack
 SUBDIR+=       u-boot-beaglebonewhite
diff -r 06e5426b7100 -r 6209a2352022 sysutils/u-boot-bananapro/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-bananapro/DESCR   Wed May 29 03:24:02 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 LeMaker Banana Pro.
diff -r 06e5426b7100 -r 6209a2352022 sysutils/u-boot-bananapro/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-bananapro/Makefile        Wed May 29 03:24:02 2019 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2019/05/29 03:24:02 thorpej Exp $
+
+UBOOT_TARGET=          bananapro
+UBOOT_CONFIG=          Bananapro_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=installboot.plist
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 06e5426b7100 -r 6209a2352022 sysutils/u-boot-bananapro/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-bananapro/PLIST   Wed May 29 03:24:02 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/05/29 03:24:02 thorpej Exp $
+share/u-boot/bananapro/installboot.plist
+share/u-boot/bananapro/u-boot-sunxi-with-spl.bin
diff -r 06e5426b7100 -r 6209a2352022 sysutils/u-boot-bananapro/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-bananapro/files/installboot.plist Wed May 29 03:24:02 2019 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/05/29 03:24:02 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>lemaker,bananapro</key>
+       <dict>
+               <key>description</key>
+               <string>LeMaker Banana Pro</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 06e5426b7100 -r 6209a2352022 sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Wed May 29 03:23:28 2019 +0000
+++ b/sysutils/u-boot/Makefile  Wed May 29 03:24:02 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/05/25 01:41:10 thorpej Exp $
+# $NetBSD: Makefile,v 1.14 2019/05/29 03:24:02 thorpej Exp $
 #
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
@@ -20,6 +20,7 @@
 DEPENDS+=      u-boot-a10-olinuxino-lime-[0-9]*:../../sysutils/u-boot-a10-olinuxino-lime
 DEPENDS+=      u-boot-bananapi-m3-[0-9]*:../../sysutils/u-boot-bananapi-m3
 DEPENDS+=      u-boot-bananapi-[0-9]*:../../sysutils/u-boot-bananapi
+DEPENDS+=      u-boot-bananapro-[0-9]*:../../sysutils/u-boot-bananapro
 DEPENDS+=      u-boot-beagleboard-[0-9]*:../../sysutils/u-boot-beagleboard
 DEPENDS+=      u-boot-beagleboneblack-[0-9]*:../../sysutils/u-boot-beagleboneblack
 DEPENDS+=      u-boot-beaglebonewhite-[0-9]*:../../sysutils/u-boot-beaglebonewhite



Home | Main Index | Thread Index | Old Index