pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/u-boot-a64-olinuxino



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Wed Sep 18 15:28:12 UTC 2024

Added Files:
        pkgsrc/sysutils/u-boot-a64-olinuxino: DESCR Makefile PLIST
        pkgsrc/sysutils/u-boot-a64-olinuxino/files: installboot.plist

Log Message:
Add sysutils/u-boot-a64-olinuxino version 2022.04

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 A64-OLinuXino


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-a64-olinuxino/DESCR \
    pkgsrc/sysutils/u-boot-a64-olinuxino/Makefile \
    pkgsrc/sysutils/u-boot-a64-olinuxino/PLIST
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/sysutils/u-boot-a64-olinuxino/files/installboot.plist

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

Added files:

Index: pkgsrc/sysutils/u-boot-a64-olinuxino/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-a64-olinuxino/DESCR:1.1
--- /dev/null   Wed Sep 18 15:28:12 2024
+++ pkgsrc/sysutils/u-boot-a64-olinuxino/DESCR  Wed Sep 18 15:28:11 2024
@@ -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 A64-OLinuXino
Index: pkgsrc/sysutils/u-boot-a64-olinuxino/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-a64-olinuxino/Makefile:1.1
--- /dev/null   Wed Sep 18 15:28:12 2024
+++ pkgsrc/sysutils/u-boot-a64-olinuxino/Makefile       Wed Sep 18 15:28:11 2024
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2024/09/18 15:28:11 bouyer Exp $
+
+UBOOT_TARGET=          a64-olinuxino
+UBOOT_CONFIG=          a64-olinuxino_defconfig
+UBOOT_BIN=             u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST=       installboot.plist
+
+UBOOT_VERSION=                 2022.04
+
+# Switch to EL1 before booting kernel (required for 32-bit support)
+PKG_DEFAULT_OPTIONS+=   el1
+
+post-extract:
+       ${CP} ${PREFIX}/share/arm-trusted-firmware/sun50i_a64/bl31.bin ${WRKSRC}
+
+.include "../../sysutils/arm-trusted-firmware-sun50i_a64/buildlink3.mk"
+.include "../../sysutils/u-boot/u-boot-arm64.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/u-boot-a64-olinuxino/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-a64-olinuxino/PLIST:1.1
--- /dev/null   Wed Sep 18 15:28:12 2024
+++ pkgsrc/sysutils/u-boot-a64-olinuxino/PLIST  Wed Sep 18 15:28:12 2024
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2024/09/18 15:28:12 bouyer Exp $
+share/u-boot/a64-olinuxino/installboot.plist
+share/u-boot/a64-olinuxino/u-boot-sunxi-with-spl.bin

Index: pkgsrc/sysutils/u-boot-a64-olinuxino/files/installboot.plist
diff -u /dev/null pkgsrc/sysutils/u-boot-a64-olinuxino/files/installboot.plist:1.1
--- /dev/null   Wed Sep 18 15:28:12 2024
+++ pkgsrc/sysutils/u-boot-a64-olinuxino/files/installboot.plist        Wed Sep 18 15:28:12 2024
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2024/09/18 15:28:12 bouyer 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,a64-olinuxino</key>
+       <dict>
+               <key>description</key>
+               <string>Olimex A64-OLinuXino</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