From owner-freebsd-arch@FreeBSD.ORG Sun Nov 6 22:24:04 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1E7B16A41F for ; Sun, 6 Nov 2005 22:24:04 +0000 (GMT) (envelope-from rink@stack.nl) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F4BA43D6D for ; Sun, 6 Nov 2005 22:24:00 +0000 (GMT) (envelope-from rink@stack.nl) Received: from snail.stack.nl (snail.stack.nl [IPv6:2001:610:1108:5010::131]) by mailhost.stack.nl (Postfix) with ESMTP id C1FBCA300B; Sun, 6 Nov 2005 23:23:59 +0100 (CET) Received: by snail.stack.nl (Postfix, from userid 1796) id AB3E02288B; Sun, 6 Nov 2005 23:23:59 +0100 (CET) Date: Sun, 6 Nov 2005 23:23:59 +0100 From: Rink Springer To: freebsd-arch@freebsd.org Message-ID: <20051106222359.GC46752@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KFztAG8eRSV9hGtP" Content-Disposition: inline X-Editor: Vim http://www.vim.org/ X-Info: http://rink.nu/ X-Operating-System: FreeBSD 5.4-RELEASE i386 User-Agent: Mutt/1.5.11 Cc: ed@fxq.nl Subject: FreeBSD/xbox: updated 7.0 patchset X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Nov 2005 22:24:04 -0000 --KFztAG8eRSV9hGtP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello everyone, I'd like to present my 7.0-CURRENT XBOX patches. If you put 'options XBOX' in your kernel after applying this patch, you will get a kernel that is bootable on both ordinary i386 PC's as well as XBOX'es. 'device xboxfb' is an XBOX-capable frame buffer. You can download the patches from http://rink.nu/downloads/xbox-patches/xbox-7-current.diff. I hope this patch will be committed to the FreeBSD source tree. Let me know any suggestions for improvements. The XBOX option depends on I686_CPU and will error out if it is not supplied. The overall patch is just over 1000 lines, mainly due to the framebuffer driver. You will need the most recent CVS version of Cromwell [1], as it now fakes FreeBSD boot info so the initial entry won't halt the CPU. This removes the patches in the locore.s file. For some reason, the kernel will not work fine if you have syscons in your kernel. This only affects the XBOX, so either syscons crashes it somehow or it gets a higher priority. However, as the current framedriver driver needs to be syscon(4)-ized, I intend to port the framebuffer to the VESA framework. Assistance on this is very welcome. Finally, I am willing to maintain this so future FreeBSD's will run on the XBOX without any issues. Work is underway for the nForce ethernet as well as an improved syscons(4)-able console driver. [1] This is the Linux BIOS for the XBOX; it was patched in order to boot FreeBSD correctly. --=20 Rink P.W. Springer - http://rink.nu "God, root, what is difference?" - Pitr, Userfriendly --KFztAG8eRSV9hGtP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDboJ/b3O60uztv/8RAq4PAJ4/BK6U83pmn/w74TgiMK8JPUa3OgCgiG18 vVJkdcH2xg7c3dE9Kom9YmE= =0JhH -----END PGP SIGNATURE----- --KFztAG8eRSV9hGtP--