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 PineCube IP Camera.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/880b09c92eac
branches:  trunk
changeset: 382480:880b09c92eac
user:      thorpej <thorpej%pkgsrc.org@localhost>
date:      Fri Jul 29 13:49:41 2022 +0000

description:
Add a u-boot package for the PineCube IP Camera.

diffstat:

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

diffs (123 lines):

diff -r 5e7952708c0f -r 880b09c92eac sysutils/Makefile
--- a/sysutils/Makefile Fri Jul 29 13:47:36 2022 +0000
+++ b/sysutils/Makefile Fri Jul 29 13:49:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1010 2022/07/20 15:03:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.1011 2022/07/29 13:49:41 thorpej Exp $
 #
 
 COMMENT=       System utilities
@@ -776,6 +776,7 @@
 SUBDIR+=       u-boot-pine64
 SUBDIR+=       u-boot-pinebook
 SUBDIR+=       u-boot-pinebook-pro
+SUBDIR+=       u-boot-pinecube
 SUBDIR+=       u-boot-pinephone
 SUBDIR+=       u-boot-pocketchip
 SUBDIR+=       u-boot-roc-rk3328-cc
diff -r 5e7952708c0f -r 880b09c92eac sysutils/u-boot-pinecube/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pinecube/DESCR    Fri Jul 29 13:49:41 2022 +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 Pine64 Pinecube.
diff -r 5e7952708c0f -r 880b09c92eac sysutils/u-boot-pinecube/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pinecube/Makefile Fri Jul 29 13:49:41 2022 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2022/07/29 13:49:41 thorpej Exp $
+
+UBOOT_TARGET=          pinecube
+UBOOT_CONFIG=          pinecube_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=       installboot.plist
+
+UBOOT_VERSION=         2022.04
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+.include "../../security/openssl/buildlink3.mk"
+.endif
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5e7952708c0f -r 880b09c92eac sysutils/u-boot-pinecube/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pinecube/PLIST    Fri Jul 29 13:49:41 2022 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2022/07/29 13:49:41 thorpej Exp $
+share/u-boot/pinecube/installboot.plist
+share/u-boot/pinecube/u-boot-sunxi-with-spl.bin
diff -r 5e7952708c0f -r 880b09c92eac sysutils/u-boot-pinecube/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-pinecube/files/installboot.plist  Fri Jul 29 13:49:41 2022 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2022/07/29 13:49:41 thorpej Exp $ -->
+<!--
+  Copyright (c) 2021 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>pine64,pinecube</key>
+       <dict>
+               <key>description</key>
+               <string>PineCube IP Camera</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 5e7952708c0f -r 880b09c92eac sysutils/u-boot/Makefile
--- a/sysutils/u-boot/Makefile  Fri Jul 29 13:47:36 2022 +0000
+++ b/sysutils/u-boot/Makefile  Fri Jul 29 13:49:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2021/08/12 07:25:54 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2022/07/29 13:49:41 thorpej Exp $
 #
 
 .include "../../sysutils/u-boot/u-boot-version.mk"
@@ -70,6 +70,7 @@
 DEPENDS+=      u-boot-pine64-[0-9]*:../../sysutils/u-boot-pine64
 DEPENDS+=      u-boot-pinebook-[0-9]*:../../sysutils/u-boot-pinebook
 DEPENDS+=      u-boot-pinebook-pro-[0-9]*:../../sysutils/u-boot-pinebook-pro
+DEPENDS+=      u-boot-pinecube-[0-9]*:../../sysutils/u-boot-pinecube
 DEPENDS+=      u-boot-pocketchip-[0-9]*:../../sysutils/u-boot-pocketchip
 DEPENDS+=      u-boot-rock64-[0-9]*:../../sysutils/u-boot-rock64
 DEPENDS+=      u-boot-rockpro64-[0-9]*:../../sysutils/u-boot-rockpro64



Home | Main Index | Thread Index | Old Index