FreeBSD/Main Page

From Xbox-Linux

tralouvarg As of 26 July 2005, it is possible to run FreeBSD on your XBox. Support for the XBox is only available in FreeBSD 6-STABLE and FreeBSD 7-CURRENT.

Table of contents

News

tapaslarac

Status

  • IDE, USB, audio, CD/DVD and framebuffer device are fully supported
  • Bootable from CD/Etherboot using a patched Cromwell
  • Console is usable using the xboxfb driver and an USB keyboard
  • Ethernet device works, using the nfe(4) driver

TODO

  • I2C SMBus support isn't yet used for CD ejecting
  • Pushing the eject button will cause a reboot
  • The kernel hardcodes how large it is, and will eat up that much memory. This should be better integrated with Cromwell.

Application support

Cromwell

Cromwell has been patched to support ELF kernels. That way Cromwell can boot FreeBSD (and maybe the other BSD derivatives). UFS2 and disklabels support is available through a patch (see newsitem above, not available on the CD). The only thing that is required, is a FreeBSD install on your harddisk with a FreeBSD/xbox kernel in place and a file called /boot/xboxboot.cfg with the following contents:

title FreeBSD/xbox
kernel /boot/kernel/kernel

title FreeBSD/xbox (old)
kernel /boot/kernel.old/kernel

Cromwell images supporting UFS2 and disklabels can easily be compiled from the FreeBSD ports tree (sysutils/cromwell).

If you have a problem with DMA, add the following to /boot/xboxboot.cfg, after the kernel line:

append hw.ata.ata_dma=0

This requires a recent FreeBSD patched Cromwell, from the ports tree.

Raincoat

Ed Schouten has patched Raincoat to build on FreeBSD, NetBSD (and possibly OpenBSD). It can now be easily installed from the Ports tree (sysutils/raincoat). Unlike on Linux, it will be installed in /usr/local/sbin and the configuration file is called /usr/local/etc/raincoat.conf.

Download

Patches aren't available on this site. In the meantime, you can fetch patches for FreeBSD 5.4-RELEASE and 6.0-BETA1 from http://nexus.il.fontys.nl/ and http://freebsd.ilse.nl/xbox/. A BitTorrent file of a LiveCD is also available there.