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-orangepi-pc 2018.11.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d5cc9581f72f
branches:  trunk
changeset: 440589:d5cc9581f72f
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Oct 13 03:52:29 2020 +0000

description:
Add u-boot-orangepi-pc 2018.11.

Packaged by kikadf in wip and in PR pkg/54704

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 Xunlong Orange Pi PC.

diffstat:

 sysutils/Makefile                                   |   3 +-
 sysutils/u-boot-orangepi-pc/DESCR                   |   5 ++
 sysutils/u-boot-orangepi-pc/Makefile                |   9 ++++
 sysutils/u-boot-orangepi-pc/PLIST                   |   3 +
 sysutils/u-boot-orangepi-pc/files/installboot.plist |  47 +++++++++++++++++++++
 5 files changed, 66 insertions(+), 1 deletions(-)

diffs (97 lines):

diff -r 0d3e0b9cbdc7 -r d5cc9581f72f sysutils/Makefile
--- a/sysutils/Makefile Tue Oct 13 02:42:36 2020 +0000
+++ b/sysutils/Makefile Tue Oct 13 03:52:29 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.903 2020/10/13 00:34:06 maya Exp $
+# $NetBSD: Makefile,v 1.904 2020/10/13 03:52:29 maya Exp $
 #
 
 COMMENT=       System utilities
@@ -676,6 +676,7 @@
 SUBDIR+=       u-boot-orangepi-lite
 SUBDIR+=       u-boot-orangepi-lite2
 SUBDIR+=       u-boot-orangepi-one
+SUBDIR+=       u-boot-orangepi-pc
 SUBDIR+=       u-boot-orangepi-plus2e
 SUBDIR+=       u-boot-orangepi-zero
 SUBDIR+=       u-boot-orangepi-zero-plus
diff -r 0d3e0b9cbdc7 -r d5cc9581f72f sysutils/u-boot-orangepi-pc/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-orangepi-pc/DESCR Tue Oct 13 03:52:29 2020 +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 Xunlong Orange Pi PC.
diff -r 0d3e0b9cbdc7 -r d5cc9581f72f sysutils/u-boot-orangepi-pc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-orangepi-pc/Makefile      Tue Oct 13 03:52:29 2020 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1 2020/10/13 03:52:29 maya Exp $
+
+UBOOT_TARGET=          orangepi-pc
+UBOOT_CONFIG=          orangepi_pc_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=       installboot.plist
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
diff -r 0d3e0b9cbdc7 -r d5cc9581f72f sysutils/u-boot-orangepi-pc/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-orangepi-pc/PLIST Tue Oct 13 03:52:29 2020 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD $
+share/u-boot/orangepi-pc/installboot.plist
+share/u-boot/orangepi-pc/u-boot-sunxi-with-spl.bin
diff -r 0d3e0b9cbdc7 -r d5cc9581f72f sysutils/u-boot-orangepi-pc/files/installboot.plist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/u-boot-orangepi-pc/files/installboot.plist       Tue Oct 13 03:52:29 2020 +0000
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2020/10/13 03:52:29 maya 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>xunlong,orangepi-pc</key>
+       <dict>
+               <key>description</key>
+               <string>Xunlong Orange Pi PC</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