pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/afbinit Import afbinit, a tool to download mi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2d1176e94f43
branches: trunk
changeset: 495092:2d1176e94f43
user: martin <martin%pkgsrc.org@localhost>
date: Thu Jun 02 15:10:52 2005 +0000
description:
Import afbinit, a tool to download microcode to Sun AFB graphic cards.
diffstat:
sysutils/afbinit/DESCR | 6 ++++++
sysutils/afbinit/MESSAGE | 10 ++++++++++
sysutils/afbinit/Makefile | 18 ++++++++++++++++++
sysutils/afbinit/PLIST | 2 ++
sysutils/afbinit/distinfo | 6 ++++++
sysutils/afbinit/patches/patch-aa | 21 +++++++++++++++++++++
6 files changed, 63 insertions(+), 0 deletions(-)
diffs (87 lines):
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/DESCR Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,6 @@
+This pkg provides a program that loads the microcode firmware onto Sun
+Microsystems AFB Graphics Accelerators aka Sun Microsystems Elite 3D
+found in many UltraSPARC systems. The microcode is necessary if you want
+to run XFree86 with acceleration on these cards.
+The microcode in itself has to be obtained from an existing SunOS/Solaris
+installation.
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/MESSAGE Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,10 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
+
+In order to use afbinit(8) you have to manually copy /usr/lib/afb.ucode
+from a SunOS/Solaris installation. You might find it on Sun's website, too.
+
+To load the micrcocode into the first AFB card, use this command:
+
+ afbinit /dev/fb0 afb.ucode
+===========================================================================
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/Makefile Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
+
+DISTNAME= afbinit_1.0.orig
+PKGNAME= afbinit-1.0
+CATEGORIES= sysutils graphics
+MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/contrib/a/afbinit/}
+
+MAINTAINER= macallan%NetBSD.org@localhost
+COMMENT= Firmware download tool for Sun AFB graphic cards
+
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
+BUILD_TARGET= afbinit
+ONLY_FOR_PLATFORM= *-*-sparc64 *-*-sparc
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/afbinit ${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/PLIST Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
+bin/afbinit
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/distinfo Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
+
+SHA1 (afbinit_1.0.orig.tar.gz) = bb02434819301bb55e1d7f984540868353bd6153
+RMD160 (afbinit_1.0.orig.tar.gz) = a56f33696865fbc77b4b27f10b680b3d9a359635
+Size (afbinit_1.0.orig.tar.gz) = 2979 bytes
+SHA1 (patch-aa) = ea57e2ca73123f3e71bb733d84fe5dc6d7db501e
diff -r 7e1f1edc5e4b -r 2d1176e94f43 sysutils/afbinit/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/afbinit/patches/patch-aa Thu Jun 02 15:10:52 2005 +0000
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
+
+--- afbinit.c.orig 2001-11-30 03:04:21.000000000 +0100
++++ afbinit.c 2005-06-02 15:22:11.000000000 +0200
+@@ -13,6 +13,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <stdio.h>
++#include <stdlib.h>
+
+ /* Define this to debug the microcode loading procedure. */
+ #undef DEBUG_UCODE_LOAD
+@@ -193,7 +194,7 @@
+ struct afb_ucode_header {
+ char ident[8];
+ unsigned int ucode_words;
+- unsigned int __unused[2];
++ unsigned int unused[2];
+ } ucheader;
+ unsigned int *ucode;
+ int afb_fd, ucode_fd, ucode_version;
Home |
Main Index |
Thread Index |
Old Index