ports/94250: [NEW PORT] sysutils/cromwell: Linux/FreeBSD BIOS for the Microsoft Xbox
Rink Springer
rink at FreeBSD.org
Wed Mar 8 23:00:17 UTC 2006
>Number: 94250
>Category: ports
>Synopsis: [NEW PORT] sysutils/cromwell: Linux/FreeBSD BIOS for the Microsoft Xbox
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Mar 08 23:00:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Rink Springer
>Release: FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD charm.il.fontys.nl 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #3: Thu Mar 2 10:15:00 CET 2006 rink at nexus.il.fontys.nl:/usr/obj/usr/src/sys/QUOTA i386
>Description:
This port will build the Linux/FreeBSD BIOS Cromwell, which can be
flashed to the EEPROM using the sysutils/raincoat port or netbooted.
It includes a patch to enable loading the kernel from UFS partitions.
>How-To-Repeat:
N/A
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# sysutils
# sysutils/cromwell
# sysutils/cromwell/Makefile
# sysutils/cromwell/distinfo
# sysutils/cromwell/pkg-descr
# sysutils/cromwell/pkg-message
#
echo c - sysutils
mkdir -p sysutils > /dev/null 2>&1
echo c - sysutils/cromwell
mkdir -p sysutils/cromwell > /dev/null 2>&1
echo x - sysutils/cromwell/Makefile
sed 's/^X//' >sysutils/cromwell/Makefile << 'END-of-sysutils/cromwell/Makefile'
X# New ports collection makefile for: cromwell
X# Date created: 8 March 2006
X# Whom: Rink Springer <rink at FreeBSD.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cromwell
XPORTVERSION= 20060308
XCATEGORIES= sysutils
XMASTER_SITES= http://rink.nu/downloads/xbox/
XDISTNAME= cromwell-snapshot-${PORTVERSION}
X
XMAINTAINER= rink at FreeBSD.org
XCOMMENT= Linux (and FreeBSD :-) BIOS images for the Microsoft Xbox
X
XPLIST_DIRS= share/cromwell
XPLIST_FILES= share/cromwell/cromwell.bin \
X share/cromwell/cromwell_1024.bin \
X share/cromwell/ethboot \
X share/cromwell/xromwell.xbe
X
X# Xbox is an i386 box, mostly
XONLY_FOR_ARCHS= i386
X
XWRKSRC= ${WRKDIR}/cromwell
XUSE_BZIP2= yes
XUSE_GMAKE= yes
X
X# This patch allows Cromwell to load kernels directly from UFS partitions
XPATCHFILES= cromwell-ufs.diff
XPATCH_SITES= http://rink.nu/downloads/xbox-patches/
XPATCH_DIST_STRIP= -p1
X
X.include <bsd.port.pre.mk>
X
X.if ${OSVERSION} < 600000
XBROKEN=Not supported below 6.x
X.endif
X
Xdo-install:
X @${MKDIR} ${PREFIX}/share/cromwell
X ${INSTALL_DATA} ${WRKDIR}/cromwell/image/cromwell.bin ${PREFIX}/share/cromwell
X ${INSTALL_DATA} ${WRKDIR}/cromwell/image/cromwell_1024.bin ${PREFIX}/share/cromwell
X ${INSTALL_DATA} ${WRKDIR}/cromwell/boot_eth/ethboot ${PREFIX}/share/cromwell
X ${INSTALL_DATA} ${WRKDIR}/cromwell/xbe/xromwell.xbe ${PREFIX}/share/cromwell
X
X.include <bsd.port.post.mk>
END-of-sysutils/cromwell/Makefile
echo x - sysutils/cromwell/distinfo
sed 's/^X//' >sysutils/cromwell/distinfo << 'END-of-sysutils/cromwell/distinfo'
XMD5 (cromwell-snapshot-20060308.tar.bz2) = 2a2cb2d059e7b663faee99404751ede5
XSHA256 (cromwell-snapshot-20060308.tar.bz2) = 2dc344bb72ed7d0a21dfb15125d758d46a86e0aab0e3e49c6cecdfdfa1c0631e
XSIZE (cromwell-snapshot-20060308.tar.bz2) = 991871
XMD5 (cromwell-ufs.diff) = a73e22b9717d61e5b4d2c9517a308dee
XSHA256 (cromwell-ufs.diff) = bcfce0638cf5279f6bb3110a3cfc594daee434be5450596ddf14a149296315c1
XSIZE (cromwell-ufs.diff) = 81387
END-of-sysutils/cromwell/distinfo
echo x - sysutils/cromwell/pkg-descr
sed 's/^X//' >sysutils/cromwell/pkg-descr << 'END-of-sysutils/cromwell/pkg-descr'
XCromwell is a 100% open source BIOS for the Microsoft Xbox. Its original intent
Xis to boot Linux on the Xbox, but later versions can boot FreeBSD as well.
X
XAs there have been no recent releases, this version was checked out of the
XSourceForge xbox-linux CVS. An patch is provided to allow Cromwell to load
Xkernels from UFS partitions.
END-of-sysutils/cromwell/pkg-descr
echo x - sysutils/cromwell/pkg-message
sed 's/^X//' >sysutils/cromwell/pkg-message << 'END-of-sysutils/cromwell/pkg-message'
XThe following files have been installed in ${PREFIX}/share/cromwell:
X
X- cromwell.bin, cromwell_1024.bin
X Images flashable to the Xbox EEPROM (for Xboxes < 1.6), using the
X sysutils/raincoat port.
X
X- ethboot
X ELF image which can be netbooted.
X
X- xromwell.xbe
X XBE image which can be loaded using 'alternative' Dashboard versions.
END-of-sysutils/cromwell/pkg-message
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list