summaryrefslogtreecommitdiff
path: root/sysutils/u-boot-a20-olinuxino-lime2-emmc
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2019-07-12 05:08:37 +0000
committerthorpej <thorpej@pkgsrc.org>2019-07-12 05:08:37 +0000
commit221450298de8edc1ea4e319f14c726fd59f10934 (patch)
tree626ec901bddab0e480cbdea05fbad2246ec3e9dc /sysutils/u-boot-a20-olinuxino-lime2-emmc
parent7284b4aca788e576daf6dc2c4e3c08f3949ef4ea (diff)
downloadpkgsrc-221450298de8edc1ea4e319f14c726fd59f10934.tar.gz
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 (limited to 'sysutils/u-boot-a20-olinuxino-lime2-emmc')
-rw-r--r--sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR5
-rw-r--r--sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile9
-rw-r--r--sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST3
-rw-r--r--sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist47
4 files changed, 64 insertions, 0 deletions
diff --git a/sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR b/sysutils/u-boot-a20-olinuxino-lime2-emmc/DESCR
new file mode 100644
index 00000000000..60d94f46b13
--- /dev/null
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/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 Olimex A20-OLinuXino-LIME2-eMMC.
diff --git a/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile b/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
new file mode 100644
index 00000000000..03c180f86e0
--- /dev/null
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/Makefile
@@ -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 --git a/sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST b/sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST
new file mode 100644
index 00000000000..0bc283a9101
--- /dev/null
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/PLIST
@@ -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 --git a/sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist b/sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist
new file mode 100644
index 00000000000..0e75e0e9565
--- /dev/null
+++ b/sysutils/u-boot-a20-olinuxino-lime2-emmc/files/installboot.plist
@@ -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>