pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils
Module Name: pkgsrc
Committed By: thorpej
Date: Mon Oct 6 00:09:12 UTC 2025
Modified Files:
pkgsrc/sysutils: Makefile
Added Files:
pkgsrc/sysutils/u-boot-d1-nezha: DESCR Makefile PLIST distinfo
pkgsrc/sysutils/u-boot-d1-nezha/files: installboot.plist
Log Message:
Add a package for u-boot for the Allwinner D1 Nezha RISC-V
development board.
To generate a diff of this commit:
cvs rdiff -u -r1.1166 -r1.1167 pkgsrc/sysutils/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-d1-nezha/DESCR \
pkgsrc/sysutils/u-boot-d1-nezha/Makefile \
pkgsrc/sysutils/u-boot-d1-nezha/PLIST \
pkgsrc/sysutils/u-boot-d1-nezha/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/u-boot-d1-nezha/files/installboot.plist
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/Makefile
diff -u pkgsrc/sysutils/Makefile:1.1166 pkgsrc/sysutils/Makefile:1.1167
--- pkgsrc/sysutils/Makefile:1.1166 Thu Sep 25 13:09:18 2025
+++ pkgsrc/sysutils/Makefile Mon Oct 6 00:09:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1166 2025/09/25 13:09:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.1167 2025/10/06 00:09:12 thorpej Exp $
#
COMMENT= System utilities
@@ -823,6 +823,7 @@ SUBDIR+= u-boot-cubieboard2
SUBDIR+= u-boot-cubieboard4
SUBDIR+= u-boot-cubietruck
SUBDIR+= u-boot-cubietruck-plus
+SUBDIR+= u-boot-d1-nezha
SUBDIR+= u-boot-de0-nanosoc
SUBDIR+= u-boot-hifive-unleashed
SUBDIR+= u-boot-hummingbird-a31
Added files:
Index: pkgsrc/sysutils/u-boot-d1-nezha/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-d1-nezha/DESCR:1.1
--- /dev/null Mon Oct 6 00:09:12 2025
+++ pkgsrc/sysutils/u-boot-d1-nezha/DESCR Mon Oct 6 00:09:12 2025
@@ -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 Allwinner D1 Nezha board.
Index: pkgsrc/sysutils/u-boot-d1-nezha/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-d1-nezha/Makefile:1.1
--- /dev/null Mon Oct 6 00:09:12 2025
+++ pkgsrc/sysutils/u-boot-d1-nezha/Makefile Mon Oct 6 00:09:12 2025
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2025/10/06 00:09:12 thorpej Exp $
+
+UBOOT_TARGET= d1-nezha
+UBOOT_VERSION= 2024.1
+UBOOT_CONFIG= nezha_defconfig
+UBOOT_BIN= u-boot-sunxi-with-spl.bin
+
+UBOOT_INSTALLBOOT_PLIST= installboot.plist
+
+# This is the tip of the d1-wip branch in smaeul's repository as of
+# October 5, 2025.
+#
+# This page explains the situation wrt. Allwinner RISC-V support
+# in mainline u-boot.
+#
+# https://linux-sunxi.org/Allwinner_Nezha#U-Boot
+#
+MASTER_SITES= ${MASTER_SITE_GITHUB:=smaeul/}
+GITHUB_PROJECT= u-boot
+GITHUB_TAG= 2e89b706f5c956a70c989cd31665f1429e9a0b48
+DISTNAME= u-boot-${UBOOT_TARGET}-${UBOOT_VERSION}
+EXTRACT_SUFX= .tar.gz
+#PKGREVISION= 1
+
+DISTINFO_FILE= ${.CURDIR}/../../sysutils/u-boot-d1-nezha/distinfo
+PATCHDIR= ${.CURDIR}/../../sysutils/u-boot-d1-nezha/patches
+
+post-extract:
+ ${CP} ${PREFIX}/share/opensbi/sun20i-d1/fw_dynamic.bin ${WRKSRC}
+
+MAKE_ENV+= OPENSBI=${WRKSRC}/fw_dynamic.bin
+
+.include "../../sysutils/u-boot/u-boot-riscv64.mk"
+BUILDLINK_DEPMETHOD.libuuid= build
+.include "../../devel/libuuid/buildlink3.mk"
+BUILDLINK_DEPMETHOD.gnutls= build
+.include "../../security/gnutls/buildlink3.mk"
+.include "../../sysutils/opensbi-visionfive2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/u-boot-d1-nezha/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-d1-nezha/PLIST:1.1
--- /dev/null Mon Oct 6 00:09:12 2025
+++ pkgsrc/sysutils/u-boot-d1-nezha/PLIST Mon Oct 6 00:09:12 2025
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2025/10/06 00:09:12 thorpej Exp $
+share/u-boot/d1-nezha/installboot.plist
+share/u-boot/d1-nezha/u-boot-sunxi-with-spl.bin
Index: pkgsrc/sysutils/u-boot-d1-nezha/distinfo
diff -u /dev/null pkgsrc/sysutils/u-boot-d1-nezha/distinfo:1.1
--- /dev/null Mon Oct 6 00:09:12 2025
+++ pkgsrc/sysutils/u-boot-d1-nezha/distinfo Mon Oct 6 00:09:12 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/10/06 00:09:12 thorpej Exp $
+
+BLAKE2s (u-boot-d1-nezha-2024.1-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz) = 97360a8d2526814ff5bc733489ed7d188553e05e4db60f0fd53a32aa7cb145d4
+SHA512 (u-boot-d1-nezha-2024.1-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz) =
40960a09058c571c4577bb6f9e725fd0cb5cab1e644924b46f851eb6c48af8b78d585f108a8afbe810c582e7b848f0b5f44959eecab867b6de5c72a3ff5fbdc4
+Size (u-boot-d1-nezha-2024.1-2e89b706f5c956a70c989cd31665f1429e9a0b48.tar.gz) = 25682214 bytes
Index: pkgsrc/sysutils/u-boot-d1-nezha/files/installboot.plist
diff -u /dev/null pkgsrc/sysutils/u-boot-d1-nezha/files/installboot.plist:1.1
--- /dev/null Mon Oct 6 00:09:12 2025
+++ pkgsrc/sysutils/u-boot-d1-nezha/files/installboot.plist Mon Oct 6 00:09:12 2025
@@ -0,0 +1,47 @@
+<!-- $NetBSD: installboot.plist,v 1.1 2025/10/06 00:09:12 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>allwinner,d1-nezha</key>
+ <dict>
+ <key>description</key>
+ <string>Allwinner D1 Nezha</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