aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-01-30 20:50:05 +0800
committeradrian <adrian@FreeBSD.org>2011-01-30 20:50:05 +0800
commit9900b86f81bab793056cc81bfc756b99dc0c8b48 (patch)
treef6b98f1cc229a3066309ffce3e7e98c3d5028125 /sysutils
parentf21a08f7127869c8e62a219918976fd1cd4a733c (diff)
downloadfreebsd-ports-gnome-9900b86f81bab793056cc81bfc756b99dc0c8b48.tar.gz
freebsd-ports-gnome-9900b86f81bab793056cc81bfc756b99dc0c8b48.tar.zst
freebsd-ports-gnome-9900b86f81bab793056cc81bfc756b99dc0c8b48.zip
Add mkfwimage - a tool to build Ubiquiti flash images for their range of
MIPS-based embedded boards. Feature safe: yes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/mkfwimage/Makefile22
-rw-r--r--sysutils/mkfwimage/distinfo3
-rw-r--r--sysutils/mkfwimage/pkg-descr17
4 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 9c8fab888efd..40d1afc4a077 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -503,6 +503,7 @@
SUBDIR += minirsyslogd
SUBDIR += mixer
SUBDIR += mkfile
+ SUBDIR += mkfwimage
SUBDIR += mksunbootcd
SUBDIR += mktool
SUBDIR += mmore
diff --git a/sysutils/mkfwimage/Makefile b/sysutils/mkfwimage/Makefile
new file mode 100644
index 000000000000..3738cbfb3cfb
--- /dev/null
+++ b/sysutils/mkfwimage/Makefile
@@ -0,0 +1,22 @@
+
+# New ports collection Makefile for: mkfwimage
+# Date created: Wed Jan 26 11:41:23 WST 2011
+# Whom: Adrian Chadd <adrian@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= mkfwimage
+DISTVERSION= r1
+PORTREVISION= 1
+CATEGORIES= sysutils
+MASTER_SITES= http://people.freebsd.org/~adrian/distfiles/
+DISTNAME= ubnt-mkfwimage-r1
+
+MAINTAINER= adrian@freebsd.org
+COMMENT= Ubiquiti Embedded Board Image Generator
+
+.include <bsd.port.pre.mk>
+
+PLIST_FILES= bin/mkfwimage
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/mkfwimage/distinfo b/sysutils/mkfwimage/distinfo
new file mode 100644
index 000000000000..359e95886679
--- /dev/null
+++ b/sysutils/mkfwimage/distinfo
@@ -0,0 +1,3 @@
+MD5 (ubnt-mkfwimage-r1.tar.gz) = 7056fb985eefb3bedcf748757f142f52
+SHA256 (ubnt-mkfwimage-r1.tar.gz) = 718d6502bcc061c00df6cdbea8ebf20b5ab01df57b116ec995703cacb86fc590
+SIZE (ubnt-mkfwimage-r1.tar.gz) = 4134
diff --git a/sysutils/mkfwimage/pkg-descr b/sysutils/mkfwimage/pkg-descr
new file mode 100644
index 000000000000..fb0568ea7c93
--- /dev/null
+++ b/sysutils/mkfwimage/pkg-descr
@@ -0,0 +1,17 @@
+This is a tool to generate flash images for the embedded ubiquiti devices.
+It includes support for:
+
+* Routerstation
+* Routerstation Pro
+* LS-SR71
+* XS-2 (?)
+* XS-5 (?)
+* XS2-8 (?)
+* XM (?)
+
+This particular tool is patched to build FreeBSD images rather than the
+default Linux-centric images. The only change is the addition of
+a separate "execute address" field, rather than assuming the kernel load
+address is the kernel execute address.
+
+WWW: http://people.freebsd.org/~adrian/mkfwimage/