pkgsrc-WIP-changes archive

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

u-boot-orangepi-pc: Import u-boot-orangepi-pc-2018.11 as wip/u-boot-orangepi-pc



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Wed Apr 8 19:34:40 2020 +0200
Changeset:	9af2162ea2fa6b94f721e1c6da186db16c8b0e6b

Modified Files:
	Makefile
Added Files:
	u-boot-orangepi-pc/DESCR
	u-boot-orangepi-pc/Makefile
	u-boot-orangepi-pc/PLIST
	u-boot-orangepi-pc/files/installboot.plist

Log Message:
u-boot-orangepi-pc: Import u-boot-orangepi-pc-2018.11 as wip/u-boot-orangepi-pc

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9af2162ea2fa6b94f721e1c6da186db16c8b0e6b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

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

diffs:
diff --git a/Makefile b/Makefile
index f9363a967e..0ccc56e311 100644
--- a/Makefile
+++ b/Makefile
@@ -4850,6 +4850,7 @@ SUBDIR+=	typespeed
 SUBDIR+=	typhoon
 SUBDIR+=	u-boot
 SUBDIR+=	u-boot-full
+SUBDIR+=	u-boot-orangepi-pc
 SUBDIR+=	u-boot-pinebook-crust
 SUBDIR+=	uTox-git
 SUBDIR+=	uade
diff --git a/u-boot-orangepi-pc/DESCR b/u-boot-orangepi-pc/DESCR
new file mode 100644
index 0000000000..835aed59ff
--- /dev/null
+++ b/u-boot-orangepi-pc/DESCR
@@ -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 --git a/u-boot-orangepi-pc/Makefile b/u-boot-orangepi-pc/Makefile
new file mode 100644
index 0000000000..2ef4862316
--- /dev/null
+++ b/u-boot-orangepi-pc/Makefile
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.8 2019/11/04 21:28:57 rillig 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 --git a/u-boot-orangepi-pc/PLIST b/u-boot-orangepi-pc/PLIST
new file mode 100644
index 0000000000..1f6003735a
--- /dev/null
+++ b/u-boot-orangepi-pc/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.2 2019/05/07 14:06:24 thorpej Exp $
+share/u-boot/orangepi-one/installboot.plist
+share/u-boot/orangepi-one/u-boot-sunxi-with-spl.bin
diff --git a/u-boot-orangepi-pc/files/installboot.plist b/u-boot-orangepi-pc/files/installboot.plist
new file mode 100644
index 0000000000..ce02337756
--- /dev/null
+++ b/u-boot-orangepi-pc/files/installboot.plist
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2019/05/08 05:02: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>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