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 packages for the Olimex A20-OLinuX...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa7e93b70cad
branches:  trunk
changeset: 336328:aa7e93b70cad
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Fri Jul 12 05:08:37 2019 +0000

description:
Add u-boot packages for the Olimex A20-OLinuXino-LIME2.  There are two
flavors, one for the standard board, and one for the board with the optional
eMMC module.

diffstat:

 sysutils/Makefile                                                |   4 +-
 sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR                   |   5 +
 sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile                |   9 +
 sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST                   |   3 +
 sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist |  47 ++++++++++
 sysutils/u-boot-a20-olinuxino-lime2/DESCR                        |   5 +
 sysutils/u-boot-a20-olinuxino-lime2/Makefile                     |   9 +
 sysutils/u-boot-a20-olinuxino-lime2/PLIST                        |   3 +
 sysutils/u-boot-a20-olinuxino-lime2/files/installboot.plist      |  47 ++++++++++
 sysutils/u-boot/Makefile                                         |   4 +-
 10 files changed, 134 insertions(+), 2 deletions(-)

diffs (196 lines):

diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/Makefile
--- a/sysutils/Makefile Fri Jul 12 04:14:19 2019 +0000
+++ b/sysutils/Makefile Fri Jul 12 05:08:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.819 2019/07/02 13:30:56 ryoon Exp $
+# $NetBSD: Makefile,v 1.820 2019/07/12 05:08:37 thorpej Exp $
 #
 
 COMMENT=       System utilities
@@ -619,6 +619,8 @@
 SUBDIR+=       tsm8
 #SUBDIR+=      u-boot                  # only contains Makefile fragments
 SUBDIR+=       u-boot-a10-olinuxino-lime
+SUBDIR+=       u-boot-a20-olinuxino-lime2
+SUBDIR+=       u-boot-a20-olinuxino-lime2-emmc
 SUBDIR+=       u-boot-bananapi
 SUBDIR+=       u-boot-bananapi-m2-zero
 SUBDIR+=       u-boot-bananapi-m3
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR    Fri Jul 12 05:08:37 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 Olimex A20-OLinuXino-LIME2-eMMC.
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2019/07/12 05:08:38 thorpej Exp $
+
+UBOOT_TARGET=          a20-olinuxino-lime2-emmc
+UBOOT_CONFIG=          A20-OLinuXino-Lime2-eMMC_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=installboot.plist
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST    Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/12 05:08:38 thorpej Exp $
+share/u-boot/a20-olinuxino-lime2-emmc/installboot.plist
+share/u-boot/a20-olinuxino-lime2-emmc/u-boot-sunxi-with-spl.bin
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist  Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/07/12 05:08:38 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>olimex,a20-olinuxino-lime2-emmc</key>
+       <dict>
+               <key>description</key>
+               <string>Olimex A20-OLinuXino-LIME2-eMMC</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 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2/DESCR Fri Jul 12 05:08:37 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 Olimex A20-OLinuXino-LIME2.
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2/Makefile      Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2019/07/12 05:08:38 thorpej Exp $
+
+UBOOT_TARGET=          a20-olinuxino-lime2
+UBOOT_CONFIG=          A20-OLinuXino-Lime2_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=installboot.plist
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2/PLIST Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/12 05:08:38 thorpej Exp $
+share/u-boot/a20-olinuxino-lime2/installboot.plist
+share/u-boot/a20-olinuxino-lime2/u-boot-sunxi-with-spl.bin
diff -r 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot-a20-olinuxino-lime2/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-a20-olinuxino-lime2/files/installboot.plist       Fri Jul 12 05:08:37 2019 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/07/12 05:08:38 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>olimex,a20-olinuxino-lime2</key>
+       <dict>
+               <key>description</key>
+               <string>Olimex A20-OLinuXino-LIME2</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 8bda47f969b7 -r aa7e93b70cad sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Fri Jul 12 04:14:19 2019 +0000
+++ b/sysutils/u-boot/Makefile  Fri Jul 12 05:08:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2019/06/20 19:56:24 jmcneill Exp $
+# $NetBSD: Makefile,v 1.18 2019/07/12 05:08:37 thorpej Exp $
 #
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
@@ -18,6 +18,8 @@
 .include "../../mk/bsd.prefs.mk"
 
 DEPENDS+=      u-boot-a10-olinuxino-lime-[0-9]*:../../sysutils/u-boot-a10-olinuxino-lime
+DEPENDS+=      u-boot-a20-olinuxino-lime2-[0-9]*:../../sysutils/u-boot-a20-olinuxino-lime2
+DEPENDS+=      u-boot-a20-olinuxino-lime2-emmc-[0-9]*:../../sysutils/u-boot-a20-olinuxino-lime2-emmc
 DEPENDS+=      u-boot-bananapi-m2-zero-[0-9]*:../../sysutils/u-boot-bananapi-m2-zero
 DEPENDS+=      u-boot-bananapi-m3-[0-9]*:../../sysutils/u-boot-bananapi-m3
 DEPENDS+=      u-boot-bananapi-p2-zero-[0-9]*:../../sysutils/u-boot-bananapi-p2-zero



Home | Main Index | Thread Index | Old Index