pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
u-boot-imx23-olinuxino: Add package
Module Name: pkgsrc-wip
Committed By: Yuri Honegger <yuri.honegger%icloud.com@localhost>
Pushed By: yurix
Date: Tue Nov 4 10:18:07 2025 +0100
Changeset: 9f4a266b6e4ae11a3f44a7e8f5b09dd9308bed31
Modified Files:
Makefile
Added Files:
u-boot-imx23-olinuxino/COMMIT_MSG
u-boot-imx23-olinuxino/DESCR
u-boot-imx23-olinuxino/Makefile
u-boot-imx23-olinuxino/PLIST
u-boot-imx23-olinuxino/files/installboot.plist
Log Message:
u-boot-imx23-olinuxino: Add package
Add an initial version of u-boot for the imx23-olinuxino, based on u-boot 2024.10.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9f4a266b6e4ae11a3f44a7e8f5b09dd9308bed31
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
u-boot-imx23-olinuxino/COMMIT_MSG | 5 +++
u-boot-imx23-olinuxino/DESCR | 5 +++
u-boot-imx23-olinuxino/Makefile | 18 ++++++++++
u-boot-imx23-olinuxino/PLIST | 3 ++
u-boot-imx23-olinuxino/files/installboot.plist | 47 ++++++++++++++++++++++++++
6 files changed, 79 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 99ef6b6f8a..43a5bbe646 100644
--- a/Makefile
+++ b/Makefile
@@ -5849,6 +5849,7 @@ SUBDIR+= typhoon
SUBDIR+= typst-lsp
SUBDIR+= u-boot
SUBDIR+= u-boot-full
+SUBDIR+= u-boot-imx23-olinuxino
SUBDIR+= u-boot-khadas-vim3
SUBDIR+= u-boot-mangopi-mq-pro
SUBDIR+= u-boot-nanopi-r2s
diff --git a/u-boot-imx23-olinuxino/COMMIT_MSG b/u-boot-imx23-olinuxino/COMMIT_MSG
new file mode 100644
index 0000000000..76f056773b
--- /dev/null
+++ b/u-boot-imx23-olinuxino/COMMIT_MSG
@@ -0,0 +1,5 @@
+sysutils/u-boot-imx23-olinuxino: Add sysutils/u-boot-imx23-olinuxino version 2024.10
+
+Packaged in wip by Yuri Honegger
+
+Add a package that builds u-boot for the imx23-olinuxino.
diff --git a/u-boot-imx23-olinuxino/DESCR b/u-boot-imx23-olinuxino/DESCR
new file mode 100644
index 0000000000..efa71198a3
--- /dev/null
+++ b/u-boot-imx23-olinuxino/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 i.MX23-OLinuXino.
diff --git a/u-boot-imx23-olinuxino/Makefile b/u-boot-imx23-olinuxino/Makefile
new file mode 100644
index 0000000000..b8239211f3
--- /dev/null
+++ b/u-boot-imx23-olinuxino/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD$
+
+UBOOT_TARGET= imx23-olinuxino
+UBOOT_CONFIG= mx23_olinuxino_defconfig
+UBOOT_BIN= u-boot.sb
+BUILD_TARGET= u-boot.sb
+
+UBOOT_VERSION= 2024.10
+
+UBOOT_INSTALLBOOT_PLIST= installboot.plist
+
+PKGREVISION= 1
+
+# the u-boot package doesn't depend on openssl, but the .sb-generators need it
+.include "../../security/openssl/buildlink3.mk"
+
+.include "../../sysutils/u-boot/u-boot-arm.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/u-boot-imx23-olinuxino/PLIST b/u-boot-imx23-olinuxino/PLIST
new file mode 100644
index 0000000000..9675bc279c
--- /dev/null
+++ b/u-boot-imx23-olinuxino/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+share/u-boot/imx23-olinuxino/installboot.plist
+share/u-boot/imx23-olinuxino/u-boot.sb
diff --git a/u-boot-imx23-olinuxino/files/installboot.plist b/u-boot-imx23-olinuxino/files/installboot.plist
new file mode 100644
index 0000000000..69465045f8
--- /dev/null
+++ b/u-boot-imx23-olinuxino/files/installboot.plist
@@ -0,0 +1,47 @@
+<!-- $NetBSD $ -->
+<!--
+ Copyright (c) 2025 The NetBSD Foundation, Inc.
+ All rights reserved.
+
+ This code is derived from software contributed to The NetBSD Foundation
+ by Yuri Honegger.
+
+ 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,imx23-olinuxino</key>
+ <dict>
+ <key>description</key>
+ <string>Olimex i.MX23-OLinuXino</string>
+ <key>u-boot-install</key>
+ <array>
+ <dict>
+ <key>file-name</key>
+ <string>u-boot.sb</string>
+ <key>image-offset</key>
+ <integer>1050624</integer><!-- (2048+4)*512 -->
+ </dict>
+ </array>
+ </dict>
+</dict>
+</plist>
Home |
Main Index |
Thread Index |
Old Index