From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 12 12:36:10 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6655916A41F; Sat, 12 Nov 2005 12:36:10 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from humle.it.ki.se (humle.it.ki.se [130.237.101.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id A57AB43D45; Sat, 12 Nov 2005 12:36:09 +0000 (GMT) (envelope-from christopher.illies@ki.se) Received: from Klabautermann.ks.se (gate2.ks.se [193.10.63.101]) by humle.it.ki.se (8.13.1/8.13.1) with ESMTP id jACCa6hC023235; Sat, 12 Nov 2005 13:36:07 +0100 (MET) Received: by Klabautermann.ks.se (Postfix, from userid 1001) id CA2F5C0E5; Sat, 12 Nov 2005 13:39:08 +0100 (CET) Date: Sat, 12 Nov 2005 13:39:08 +0100 From: Christopher Illies To: Peter Grehan Message-ID: <20051112123908.GC59950@Klabautermann.ks.se> Mail-Followup-To: Christopher Illies , Peter Grehan , freebsd-ppc@freebsd.org References: <20051112103316.GA59950@Klabautermann.ks.se> <4375CE69.3040007@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4375CE69.3040007@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-ppc@freebsd.org Subject: Re: 7.0-snap on iBook G4 + few questions X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Nov 2005 12:36:10 -0000 Thanks a lot Peter! I will give it a try and see how far I get with Xorg. Christopher On Sat, Nov 12, 2005 at 09:13:45PM +1000, Peter Grehan wrote: > Hi Christopher, > > >I am now trying to make the system more useful, i.e. install some > >ports. The lynx package that was on the web works well, even though I > >assume it was compiled for 6.0 (?). > > It was for an early version of 6.0. I haven't done binary packages for > quite a while - you're best bet is to build ports from source. > > >Anyway, how do I install the ports collection? Using sysinstall gives > >the following error message: Warning: Can't find the > >`7.0-20051105-SNAP' distribution on this FTP server... > >And cvsup is obviously not an option either. I am probably missing > >something obvious. > > You should just grab the ports collection, untar it, and manually > build the ones you want: > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports/ports.tar.gz > > > >Second question: My iBook has a radeon graphics card. According to the > >the freebsd ppc web site a special driver (radeon_driver.c) is needed. > >Where should this file be put to be compiled? In the xorg source tree? > > In the /usr/ports/x11-servers/xorg-server/ port, do a 'make patch'. > Then drop radeo_driver.c into > > work/xc/programs/Xserver/hw/xfree86/drivers/ati/ > > ... and 'make' as per normal. > > The patch was done a while back: I hope that it still does the right > thing, since the Xorg port has probably changed since then. > > >Related to that question: For the radeon driver to work the sysctl > >hw.ofwfb.relax_mmap should be changed to relax ofw syscon range checks. > >What kind af values are sensible to try? > > It's a boolean so anything > 0 will set it. > > later, > > Peter.