pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/u-boot-visionfive2
Module Name: pkgsrc
Committed By: skrll
Date: Mon Jun 17 20:59:29 UTC 2024
Added Files:
pkgsrc/sysutils/u-boot-visionfive2: DESCR Makefile PLIST
Log Message:
Add a u-boot package for the StarFive VisionFive 2.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/u-boot-visionfive2/DESCR \
pkgsrc/sysutils/u-boot-visionfive2/Makefile \
pkgsrc/sysutils/u-boot-visionfive2/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-visionfive2/DESCR
diff -u /dev/null pkgsrc/sysutils/u-boot-visionfive2/DESCR:1.1
--- /dev/null Mon Jun 17 20:59:29 2024
+++ pkgsrc/sysutils/u-boot-visionfive2/DESCR Mon Jun 17 20:59:29 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 StarFive VisionFive2 board.
Index: pkgsrc/sysutils/u-boot-visionfive2/Makefile
diff -u /dev/null pkgsrc/sysutils/u-boot-visionfive2/Makefile:1.1
--- /dev/null Mon Jun 17 20:59:29 2024
+++ pkgsrc/sysutils/u-boot-visionfive2/Makefile Mon Jun 17 20:59:29 2024
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2024/06/17 20:59:29 skrll Exp $
+
+UBOOT_TARGET= visionfive2
+UBOOT_VERSION= 2024.04
+UBOOT_CONFIG= starfive_visionfive2_defconfig
+UBOOT_BIN= spl/u-boot-spl.bin.normal.out u-boot.itb
+
+post-extract:
+ ${CP} ${PREFIX}/share/opensbi/visionfive2/fw_dynamic.bin ${WRKSRC}
+
+post-build:
+ cp ${WRKSRC}/spl/u-boot-spl.bin ${WRKSRC}/u-boot-spl.bin
+
+MAKE_ENV+= OPENSBI=${WRKSRC}/fw_dynamic.bin
+
+.include "../../sysutils/opensbi-visionfive2/buildlink3.mk"
+.include "../../sysutils/u-boot/u-boot-riscv64.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/u-boot-visionfive2/PLIST
diff -u /dev/null pkgsrc/sysutils/u-boot-visionfive2/PLIST:1.1
--- /dev/null Mon Jun 17 20:59:29 2024
+++ pkgsrc/sysutils/u-boot-visionfive2/PLIST Mon Jun 17 20:59:29 2024
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2024/06/17 20:59:29 skrll Exp $
+share/u-boot/visionfive2/u-boot-spl.bin.normal.out
+share/u-boot/visionfive2/u-boot.itb
Home |
Main Index |
Thread Index |
Old Index